Skip to content
Failed

Console Output

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
 > 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
Avoid second fetch
Checking out Revision 891388897810e10ca264abf6586e5b36b643524d (refs/remotes/origin/main)
Commit message: "fix: resolver violación de FK al crear solicitud de adopción"
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 891388897810e10ca264abf6586e5b36b643524d # timeout=10
 > git rev-list --no-walk 15626b2ca8414065d2d6c8645eaf0f3ddece0db7 # 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: Save progress

[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 891388897810e10ca264abf6586e5b36b643524d (refs/remotes/origin/main)
Commit message: "fix: resolver violación de FK al crear solicitud de adopción"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
 > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202610_G81_E2_Back/.git # timeout=10
 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back # timeout=10
Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202610_G81_E2_Back +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 891388897810e10ca264abf6586e5b36b643524d # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b main 891388897810e10ca264abf6586e5b36b643524d # timeout=10
[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 17f57f24f21a3e7781d65d38fea91bd960d8641a2fe488bf1666e56d5ca4e745 -eo pid,comm
ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements).
Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
[Pipeline] {
[Pipeline] sh
+ java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------< co.edu.udistrital.mdp:MP_202610_G81_E2_Back >-------------
[INFO] Building MP_202610_G81_E2_Back 0.0.1-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.4.1:clean (default-clean) @ MP_202610_G81_E2_Back ---
[INFO] 
[INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202610_G81_E2_Back ---
[INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202610_G81_E2_Back/target/jacoco.exec
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ MP_202610_G81_E2_Back ---
[INFO] Copying 1 resource from src/main/resources to target/classes
[INFO] Copying 0 resource from src/main/resources to target/classes
[INFO] 
[INFO] --- compiler:3.14.1:compile (default-compile) @ MP_202610_G81_E2_Back ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 143 source files with javac [debug parameters release 21] to target/classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202610_G81_E2_Back ---
[INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202610_G81_E2_Back/src/test/resources
[INFO] 
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ MP_202610_G81_E2_Back ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 42 source files with javac [debug parameters release 21] to target/test-classes
[INFO] Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.
[INFO] 
[INFO] --- surefire:3.5.5:test (default-test) @ MP_202610_G81_E2_Back ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest
22:56:41.136 [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.
22:56:41.529 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:56:42.637Z  INFO 110 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:56:42.639Z  INFO 110 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:56:43.470Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:56:43.699Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 201 ms. Found 21 JPA repository interfaces.
2026-05-14T22:56:43.844Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:56:44.050Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:f14b1c57-d498-44ce-98b1-6e86050d180e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:56:44.935Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:56:45.124Z  INFO 110 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.44.Final
2026-05-14T22:56:45.197Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:56:45.845Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:56:46.005Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:56:46.052Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6e4e7a62']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:56:48.443Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:56:48.595Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:56:49.207Z  INFO 110 --- [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2026-05-14T22:56:50.946Z  INFO 110 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : Started AdoptionRequestEntityTest in 9.199 seconds (process running for 12.203)
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.17 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest
2026-05-14T22:56:51.774Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:51.783Z  INFO 110 --- [           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.088 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest
2026-05-14T22:56:51.869Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:51.896Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest
2026-05-14T22:56:51.956Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:51.975Z  INFO 110 --- [           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.127 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest
2026-05-14T22:56:52.086Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.105Z  INFO 110 --- [           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.049 s -- in co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.NotificationEntityTest
2026-05-14T22:56:52.137Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.150Z  INFO 110 --- [           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.051 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest
2026-05-14T22:56:52.190Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.202Z  INFO 110 --- [           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.172 s -- in co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest
2026-05-14T22:56:52.366Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.374Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: select me1_0.medical_history_id,me1_0.id,me1_0.description,me1_0.event_date,me1_0.event_type,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from medical_event_entity me1_0 left join veterinarian_entity v1_0 on v1_0.id=me1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id where me1_0.medical_history_id=?
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: select ve1_0.medical_history_id,ve1_0.id,ve1_0.admin_date,ve1_0.next_due_date,ve1_0.vaccine_name from vaccine_entry_entity ve1_0 where ve1_0.medical_history_id=?
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
2026-05-14T22:56:52.451Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.457Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.073 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
2026-05-14T22:56:52.525Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.537Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
2026-05-14T22:56:52.577Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.585Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
2026-05-14T22:56:52.648Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.660Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.040 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest
2026-05-14T22:56:52.692Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:52.706Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:56:52.779Z  INFO 110 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : Starting MainApplicationTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:56:52.780Z  INFO 110 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:56:52.782Z DEBUG 110 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5f3dcd33
2026-05-14T22:56:53.654Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:56:53.686Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30 ms. Found 21 JPA repository interfaces.
2026-05-14T22:56:54.065Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:56:54.067Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:56:54.075Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:56:54.077Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2026-05-14T22:56:54.093Z  INFO 110 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:56:54.095Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2026-05-14T22:56:54.104Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:56:54.109Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:56:54.368Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:56:54.427Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:56:55.321Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:56:55.546Z DEBUG 110 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:56:55.579Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:56:55.653Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:56:56.026Z  INFO 110 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:56:56.045Z  INFO 110 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:56:56.127Z  INFO 110 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : Started MainApplicationTest in 3.404 seconds (process running for 17.385)

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:56:56.305Z  INFO 110 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Starting MainApplication using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:56:56.305Z  INFO 110 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:56:56.556Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:56:56.585Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 21 JPA repository interfaces.
2026-05-14T22:56:56.861Z  INFO 110 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 0 (http)
2026-05-14T22:56:56.884Z  INFO 110 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-05-14T22:56:56.885Z  INFO 110 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.52]
2026-05-14T22:56:56.943Z  INFO 110 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/api]    : Initializing Spring embedded WebApplicationContext
2026-05-14T22:56:56.945Z  INFO 110 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 638 ms
2026-05-14T22:56:57.032Z DEBUG 110 --- [           main] o.s.w.f.ServerHttpObservationFilter      : Filter 'webMvcObservationFilter' configured for use
2026-05-14T22:56:57.071Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:56:57.073Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:56:57.080Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:56:57.081Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2026-05-14T22:56:57.083Z  INFO 110 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:56:57.083Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Start completed.
2026-05-14T22:56:57.084Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:56:57.084Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:56:57.285Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:56:57.345Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:56:57.623Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:56:57.661Z DEBUG 110 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:56:57.667Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:56:57.674Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:56:57.733Z  INFO 110 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:56:57.741Z  INFO 110 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:56:57.786Z  INFO 110 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 46133 (http) with context path '/api'
2026-05-14T22:56:57.795Z  INFO 110 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Started MainApplication in 1.51 seconds (process running for 19.052)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.122 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest
[INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest
[INFO] Running co.edu.udistrital.mdp.pets.dto.DtoMappingTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest
2026-05-14T22:56:57.825Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.UserControllerTest]: UserControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:57.840Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.UserControllerTest
2026-05-14T22:56:57.852Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:56:57.988Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:56:57.997Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar todos los usuarios
2026-05-14T22:56:58.013Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:56:58.016Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:56:58.019Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 2
2026-05-14T22:56:58.020Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de consultar el usuario con id = 2
2026-05-14T22:56:58.027Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:56:58.030Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:56:58.039Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:56:58.042Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:56:58.044Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 4
2026-05-14T22:56:58.050Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de borrar el usuario con id = 4
2026-05-14T22:56:58.051Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 4
2026-05-14T22:56:58.059Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:56:58.062Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:56:58.064Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 5
2026-05-14T22:56:58.068Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de actualizar el usuario con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 s -- in co.edu.udistrital.mdp.pets.controllers.UserControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.PetControllerTest
2026-05-14T22:56:58.087Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.PetControllerTest]: PetControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:58.089Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.PetControllerTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:56:58.108Z  INFO 110 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : Starting PetControllerTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:56:58.108Z  INFO 110 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:56:58.109Z DEBUG 110 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@3ff0751f
2026-05-14T22:56:58.377Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:56:58.403Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 21 JPA repository interfaces.
2026-05-14T22:56:58.493Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:56:58.494Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:56:58.502Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:56:58.503Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Starting...
2026-05-14T22:56:58.504Z  INFO 110 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:56:58.505Z  INFO 110 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Start completed.
2026-05-14T22:56:58.505Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:56:58.505Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-3)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:56:58.688Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:56:58.738Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:56:58.999Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:56:59.030Z DEBUG 110 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:56:59.036Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:56:59.042Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:56:59.110Z  INFO 110 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:56:59.129Z DEBUG 110 --- [           main] o.s.w.f.ServerHttpObservationFilter      : Filter 'webMvcObservationFilter' configured for use
2026-05-14T22:56:59.130Z  INFO 110 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-05-14T22:56:59.130Z  INFO 110 --- [           main] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-05-14T22:56:59.133Z  INFO 110 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:56:59.138Z  INFO 110 --- [           main] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 8 ms
2026-05-14T22:56:59.181Z  INFO 110 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : Started PetControllerTest in 1.089 seconds (process running for 20.438)
2026-05-14T22:56:59.307Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:56:59.387Z DEBUG 110 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=La (truncated)...]
2026-05-14T22:56:59.442Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
2026-05-14T22:56:59.465Z DEBUG 110 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json]
2026-05-14T22:56:59.465Z DEBUG 110 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Writing [PetDTO(id=1, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=Large (truncated)...]
2026-05-14T22:56:59.552Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:56:59.553Z DEBUG 110 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=null, species=null, breed=null, bornDate=null, sex=null, size=null, temperament (truncated)...]
2026-05-14T22:56:59.562Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest)
2026-05-14T22:56:59.583Z DEBUG 110 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/problem+json', given [*/*] and supported [application/problem+json]
2026-05-14T22:56:59.587Z DEBUG 110 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...]
2026-05-14T22:56:59.588Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 8 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] [Field error in object 'petDTO' on field 'shelterId': rejected value [null]; codes [NotNull.petDTO.shelterId,NotNull.shelterId,NotNull.java.lang.Long,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.shelterId,shelterId]; arguments []; default message [shelterId]]; default message [Shelter ID is mandatory]] [Field error in object 'petDTO' on field 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] ]
2026-05-14T22:56:59.599Z DEBUG 110 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:56:59.600Z DEBUG 110 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=null, bornDate=null, sex=null, size=null, temperam (truncated)...]
2026-05-14T22:56:59.602Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest)
2026-05-14T22:56:59.602Z DEBUG 110 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/problem+json', given [*/*] and supported [application/problem+json]
2026-05-14T22:56:59.603Z DEBUG 110 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...]
2026-05-14T22:56:59.603Z DEBUG 110 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 5 errors: [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] ]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.522 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
2026-05-14T22:56:59.611Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.MessageControllerTest]: MessageControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:59.612Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
2026-05-14T22:56:59.620Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.626Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.631Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.634Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.637Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:56:59.639Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:56:59.642Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar todos los mensajes
2026-05-14T22:56:59.657Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.662Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.665Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.667Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.668Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:56:59.669Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:56:59.670Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 2
2026-05-14T22:56:59.671Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de consultar el mensaje con id = 2
2026-05-14T22:56:59.678Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.681Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.683Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.685Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.686Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:56:59.687Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:56:59.694Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.697Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.699Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.701Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.703Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:56:59.703Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:56:59.704Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 4
2026-05-14T22:56:59.705Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de borrar el mensaje con id = 4
2026-05-14T22:56:59.706Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 4
2026-05-14T22:56:59.712Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.715Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.716Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.718Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.720Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:56:59.720Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:56:59.722Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 5
2026-05-14T22:56:59.722Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de actualizar el mensaje con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
2026-05-14T22:56:59.728Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest]: NotificationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:59.729Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
2026-05-14T22:56:59.733Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.736Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.738Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:56:59.739Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:56:59.740Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar todas las notificaciones
2026-05-14T22:56:59.750Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.753Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.756Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:56:59.756Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:56:59.757Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 2
2026-05-14T22:56:59.758Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de consultar la notificación con id = 2
2026-05-14T22:56:59.764Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.767Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.769Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:56:59.769Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:56:59.776Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.779Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.780Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:56:59.781Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:56:59.783Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 4
2026-05-14T22:56:59.784Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de borrar la notificación con id = 4
2026-05-14T22:56:59.785Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 4
2026-05-14T22:56:59.793Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.797Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.800Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:56:59.801Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:56:59.802Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 5
2026-05-14T22:56:59.803Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de actualizar la notificación con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.080 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
2026-05-14T22:56:59.809Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest]: AdopterControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:59.810Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
2026-05-14T22:56:59.815Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.818Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.827Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.830Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.832Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar todos los adoptantes
2026-05-14T22:56:59.841Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.843Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.846Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 18
2026-05-14T22:56:59.846Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de consultar el adoptante con id = 18
2026-05-14T22:56:59.852Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.854Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.856Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 19
2026-05-14T22:56:59.856Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de borrar el adoptante con id = 19
2026-05-14T22:56:59.857Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 19
2026-05-14T22:56:59.863Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:56:59.865Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:56:59.867Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 20
2026-05-14T22:56:59.870Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de actualizar el adoptante con id = 20
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s -- in co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest
2026-05-14T22:56:59.885Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:56:59.901Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:56:59.918Z  INFO 110 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Starting AdopterServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:56:59.918Z  INFO 110 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:56:59.987Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:00.015Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:00.028Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:00.066Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:f4af4e63-51a9-4c54-b6e5-8e04a19bc0fb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:00.082Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:00.083Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:00.091Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:00.092Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:00.093Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@33a12805']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:00.281Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:00.334Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:00.484Z  INFO 110 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Started AdopterServiceTest in 0.581 seconds (process running for 21.742)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.601Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.649Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:00.692Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 7
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.733Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
2026-05-14T22:57:00.736Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.778Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.818Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.860Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 20
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
2026-05-14T22:57:00.863Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de actualizar el adoptante con id = 20
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.912Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.951Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:00.985Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar todos los adoptantes
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.027Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:01.034Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:01.041Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.073Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.109Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
2026-05-14T22:57:01.137Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
2026-05-14T22:57:01.141Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.183Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 44
2026-05-14T22:57:01.183Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de borrar el adoptante con id = 44
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.223Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 45
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.249Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:01.271Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 51
2026-05-14T22:57:01.271Z  INFO 110 --- [           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.391 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest
2026-05-14T22:57:01.277Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:01.282Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:01.298Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : Starting MedicalEventServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:01.299Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:01.374Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:01.398Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:01.410Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:01.420Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:11e85038-8220-4b6e-97f3-a03270cee05b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:01.435Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:01.437Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:01.445Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:01.447Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:01.447Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@326a6d81']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:01.603Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:01.639Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:01.763Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : Started MedicalEventServiceTest in 0.479 seconds (process running for 23.021)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id left join veterinarian_entity v2_0 on v2_0.id=mee1_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id where mee1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.veterinarian_id from medical_event_entity mee1_0 where mee1_0.event_date between ? and ?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.654 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest
2026-05-14T22:57:01.932Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:01.937Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:01.952Z  INFO 110 --- [           main] c.e.u.m.p.services.MessageServiceTest    : Starting MessageServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:01.952Z  INFO 110 --- [           main] c.e.u.m.p.services.MessageServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:02.011Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:02.034Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:02.047Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:02.055Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:b244b7aa-ee68-42ea-9091-57a4dd8bcaa1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:02.071Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:02.073Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:02.080Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:02.081Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:02.082Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@483610f3']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:02.231Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:02.263Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:02.388Z  INFO 110 --- [           main] c.e.u.m.p.services.MessageServiceTest    : Started MessageServiceTest in 0.449 seconds (process running for 23.646)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.432Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.455Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.479Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 11
2026-05-14T22:57:02.480Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de borrar el mensaje con id = 11
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.503Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.526Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.549Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.573Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.596Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.619Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 27
2026-05-14T22:57:02.620Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de consultar el mensaje con id = 27
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.645Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar todos los mensajes
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.671Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.720Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:02.721Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.743Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 40
2026-05-14T22:57:02.744Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de actualizar el mensaje con id = 40
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.766Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:02.787Z  INFO 110 --- [           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.858 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest
2026-05-14T22:57:02.792Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:02.796Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:02.815Z  INFO 110 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : Starting SpecialityServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:02.816Z  INFO 110 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:02.875Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:02.899Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:02.910Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:02.918Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:d377c12b-52a7-4324-bdb0-44593bb670ed;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:02.933Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:02.934Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:02.941Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:02.942Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:02.943Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@747a6142']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:03.075Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:03.102Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:03.220Z  INFO 110 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : Started SpecialityServiceTest in 0.422 seconds (process running for 24.478)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.298Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: 
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.373Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.429Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.494Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: null
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.576Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 13
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.672Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.780Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: Especialid
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\'
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.886Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching speciality with id: 23
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:03.997Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 26
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.102Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 30
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.208Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 32
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.286Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 35
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.344Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.401Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.451Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:04.508Z  INFO 110 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.721 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest
2026-05-14T22:57:04.514Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:04.519Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:04.535Z  INFO 110 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:04.535Z  INFO 110 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:04.595Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:04.616Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:04.628Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:04.636Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:204f0c3c-59f1-4677-85fd-dc6acd034d63;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:04.651Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:04.653Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:04.661Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:04.662Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:04.663Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@e9137c8']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:04.797Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:04.825Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:04.937Z  INFO 110 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : Started ShelterMediaServiceTest in 0.416 seconds (process running for 26.195)
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:04.952Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 1
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:04.994Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 4
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.005Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.015Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.026Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 14
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.041Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Updating shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.052Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.061Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Updating shelter media with id: 23
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.071Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.080Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.090Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter media with id: 32
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.099Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter medias by shelter id: 34
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.111Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.120Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:05.131Z  INFO 110 --- [           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.621 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest
2026-05-14T22:57:05.135Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:05.140Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:05.155Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:05.155Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:05.234Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:05.255Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:05.265Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:05.274Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:1a5fb6a1-c52c-4feb-9b5c-3c70d06f427d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:05.287Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:05.288Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:05.295Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:05.296Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:05.296Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@20c0e21']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:05.418Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:05.442Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:05.556Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : Started AdoptionRequestServiceTest in 0.414 seconds (process running for 26.814)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.574Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Search adoption request with id = 0
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.592Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Updating adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.608Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Updating adoption request
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.624Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:05.639Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.652Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.668Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.681Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.699Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.712Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.729Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.746Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Search all adoption requests
Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:05.766Z  INFO 110 --- [           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.634 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest
2026-05-14T22:57:05.770Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:05.774Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:05.788Z  INFO 110 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : Starting NotificationServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:05.788Z  INFO 110 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:05.842Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:05.863Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:05.874Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:05.882Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:56291a85-2139-4e10-bc6f-769239172f3d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:05.896Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:05.898Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:05.904Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:05.906Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:05.906Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@50bba5c']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:06.027Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:06.051Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:06.162Z  INFO 110 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : Started NotificationServiceTest in 0.386 seconds (process running for 27.42)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.184Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 1
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.204Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 4
2026-05-14T22:57:06.204Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de actualizar la notificación con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.223Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar todas las notificaciones
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.244Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.267Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.285Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 16
2026-05-14T22:57:06.286Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de consultar la notificación con id = 16
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.304Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.324Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:06.325Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.344Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.363Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.382Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.401Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:06.401Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.444Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.469Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 45
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.488Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:06.508Z  INFO 110 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 52
2026-05-14T22:57:06.509Z  INFO 110 --- [           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.742 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest
2026-05-14T22:57:06.514Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:06.517Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:06.531Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : Starting ReviewServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:06.531Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:06.585Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:06.605Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:06.616Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:06.624Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:20fe5835-9b51-4783-9f28-34499823859a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:06.637Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:06.638Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:06.645Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:06.646Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:06.646Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@43fb8c76']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:06.764Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:06.789Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:06.897Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : Started ReviewServiceTest in 0.378 seconds (process running for 28.155)
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:06.921Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de creación de la reseña
2026-05-14T22:57:06.921Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de creación de la reseña
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:06.943Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:06.968Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de creación de la reseña
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:06.990Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar todas las reseñas
Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,re1_0.shelter_id from review_entity re1_0
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.014Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de actualizar la reseña con id = 14
2026-05-14T22:57:07.015Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de actualizar la reseña con id = 14
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.036Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 18
2026-05-14T22:57:07.037Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de borrar la reseña con id = 18
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.061Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 20
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.083Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de actualizar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.105Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar la reseña con id = 26
2026-05-14T22:57:07.106Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de consultar la reseña con id = 26
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.127Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 29
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.148Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.639 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
2026-05-14T22:57:07.155Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:07.159Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:07.178Z  INFO 110 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Starting AdoptionServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:07.178Z  INFO 110 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:07.234Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:07.255Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:07.265Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:07.273Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:60bde68e-4418-4aa3-bff0-55305b770ecb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:07.287Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:07.288Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:07.297Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:07.298Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:07.298Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@455f4776']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:07.417Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:07.484Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:07.593Z  INFO 110 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Started AdoptionServiceTest in 0.433 seconds (process running for 28.851)
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.602Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de actualizar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.614Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de actualizar la adopción con id = 4
2026-05-14T22:57:07.615Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de actualizar la adopción con id = 4
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.625Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de creación de la adopción
2026-05-14T22:57:07.625Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de creación de la adopción
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.631Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.640Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar todas las adopciones
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.shelter_id,ae1_0.status,ae1_0.trial_cohabitation_id from adoption_entity ae1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:07.649Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 17
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.656Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar la adopción con id = 20
2026-05-14T22:57:07.656Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de consultar la adopción con id = 20
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.662Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 24
2026-05-14T22:57:07.663Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de borrar la adopción con id = 24
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:07.671Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 26
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.677Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de creación de la adopción
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:07.683Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest
2026-05-14T22:57:07.689Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:07.693Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:07.705Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Starting ShelterServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:07.705Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:07.758Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:07.778Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:07.788Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:07.797Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:01c581c9-3f5d-4332-8ffa-929ac0ac67f8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:07.810Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:07.812Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:07.818Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:07.819Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:07.819Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1a18ee8b']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:07.931Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:07.951Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:08.060Z  INFO 110 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Started ShelterServiceTest in 0.365 seconds (process running for 29.318)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.074Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 1
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.088Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters with name: Shelter-0-108535526107083
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.099Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.110Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.120Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 14
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.135Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.151Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.164Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.175Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters with name: Unknown
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.187Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 29
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.199Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching all shelters
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.211Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 35
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.223Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.232Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelter with id: 41
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.243Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.255Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.266Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 50
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.277Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.287Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.301Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.312Z  INFO 110 --- [           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.626 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest
2026-05-14T22:57:08.316Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:08.321Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:08.333Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Starting PetServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:08.333Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:08.387Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:08.407Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:08.417Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:08.425Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:230f5ba4-f83c-4590-b568-e6f620b34fac;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:08.438Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:08.439Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:08.446Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:08.447Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:08.447Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@419c9b9e']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:08.555Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:08.577Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:08.685Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Started PetServiceTest in 0.362 seconds (process running for 29.943)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 where (? is null or pe1_0.breed=?) and (? is null or pe1_0.size=?) and (? is null or pe1_0.temperament=?)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.776Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.864Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:08.908Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.598 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
2026-05-14T22:57:08.915Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:08.920Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:08.933Z  INFO 110 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Starting VeterinarianServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:08.934Z  INFO 110 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:08.985Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:09.005Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:09.015Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:09.023Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:c522fa2f-ed33-438b-9a00-55486623fcf7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:09.036Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:09.038Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:09.044Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:09.045Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:09.045Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@35b3c554']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:09.151Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:09.171Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:09.277Z  INFO 110 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Started VeterinarianServiceTest in 0.354 seconds (process running for 30.534)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.332Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 1
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.386Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.439Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarian with id: 7
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:09.517Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 10
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.575Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.626Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.678Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarians by shelter: 19
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:09.735Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 22
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.788Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.858Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarians by speciality: 28
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.919Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:09.970Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching all veterinarians
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:10.024Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 37
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:10.078Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:10.150Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:10.203Z  INFO 110 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:10.253Z  INFO 110 --- [           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.342 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest
2026-05-14T22:57:10.258Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:10.261Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:10.273Z  INFO 110 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:10.274Z  INFO 110 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:10.324Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:10.344Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:10.354Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:10.361Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:453f0a64-397d-4cba-b913-b536ee14d7f7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:10.375Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:10.376Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:10.383Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:10.384Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:10.384Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@703c4c76']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:10.488Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:10.507Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:10.611Z  INFO 110 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : Started VaccineEntryServiceTest in 0.348 seconds (process running for 31.869)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where vee1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id where mh1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<?
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.435 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest
2026-05-14T22:57:10.694Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:10.698Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:10.710Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Starting UserServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:10.710Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:10.760Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:10.779Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:10.789Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:10.797Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e5d98945-dcc8-4c7c-aca1-5ffaa9a0be3f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:10.810Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:10.811Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:10.817Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:10.818Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:10.818Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@24569473']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:10.920Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:10.939Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:11.042Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Started UserServiceTest in 0.342 seconds (process running for 32.3)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.063Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.081Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 4
2026-05-14T22:57:11.081Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de consultar el usuario con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.097Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar todos los usuarios
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:11.117Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 10
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.155Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 13
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
2026-05-14T22:57:11.158Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de actualizar el usuario con id = 13
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.178Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.195Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 19
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.211Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.227Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.246Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.262Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar usuarios por filtros
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '')
2026-05-14T22:57:11.268Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar usuarios por filtros
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '')
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.288Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
2026-05-14T22:57:11.290Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.310Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 41
2026-05-14T22:57:11.310Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de borrar el usuario con id = 41
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.329Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.348Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 45
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.367Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:11.384Z  INFO 110 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 51
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:11.404Z  INFO 110 --- [           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.715 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
2026-05-14T22:57:11.410Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:11.414Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:11.426Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:11.426Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:11.479Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:11.498Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:11.508Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:11.515Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:6e7e59c1-95c3-46fa-96f7-3de87a25d1d6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:11.528Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:11.529Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:11.536Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:11.537Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:11.537Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@3605c3f6']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:11.640Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:11.659Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:11.761Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.345 seconds (process running for 33.019)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.777Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Delete trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.792Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search trial cohabitation with id = 0
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.807Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Delete trial cohabitation
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.822Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search trial cohabitation with id = 10
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.835Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search all trial cohabitations
Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.850Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Create trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.863Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Updating trial cohabitation
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.879Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Create trial cohabitation
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.891Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Updating trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:11.904Z  INFO 110 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Create trial cohabitation
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.497 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest
2026-05-14T22:57:11.908Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:11.912Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:11.923Z  INFO 110 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:11.924Z  INFO 110 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:11.973Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:11.992Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:12.002Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:12.009Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e2dbef14-1f0c-454e-a134-0929ed56fce6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:12.022Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:12.023Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:12.029Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:12.030Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:12.030Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@23b0bac6']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:12.158Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:12.175Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:12.274Z  INFO 110 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : Started ReturnCaseServiceTest in 0.361 seconds (process running for 33.532)
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.282Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar el caso de devolución con id = 1
2026-05-14T22:57:12.282Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de consultar el caso de devolución con id = 1
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.288Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.295Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 8
2026-05-14T22:57:12.295Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de borrar el caso de devolución con id = 8
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.300Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar todos los casos de devolución
Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.307Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de actualizar el caso de devolución con id = 13
2026-05-14T22:57:12.307Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de actualizar el caso de devolución con id = 13
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:12.313Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 16
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.318Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de creación del caso de devolución
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.324Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de actualizar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.331Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.338Z  INFO 110 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de creación del caso de devolución
2026-05-14T22:57:12.338Z  INFO 110 --- [           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.433 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest
2026-05-14T22:57:12.342Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:12.345Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:12.357Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:12.357Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:12.406Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:12.425Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:12.434Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:12.441Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:ec1309b4-79a0-419d-b6b6-a691f6a0545b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:12.454Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:12.455Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:12.462Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:12.463Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:12.463Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@38369ee4']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:12.563Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:12.580Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:12.677Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : Started AdoptionProcessServiceTest in 0.33 seconds (process running for 33.935)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:12.692Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.706Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.719Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.732Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.745Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.758Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search all adoption processes
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.773Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.786Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search adoption process with id = 23
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.799Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Updating adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.812Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search adoption process with id = 0
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.827Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:12.840Z  INFO 110 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Updating adoption process
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.502 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest
2026-05-14T22:57:12.846Z  INFO 110 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:12.849Z  INFO 110 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:12.861Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 110 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:12.861Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:12.909Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:12.927Z  INFO 110 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:12.937Z  INFO 110 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:12.944Z  INFO 110 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:74eaa450-43f2-4a3e-bc10-0827fbdbed42;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:12.957Z  INFO 110 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:12.958Z  INFO 110 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:12.965Z  INFO 110 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:12.966Z  WARN 110 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:12.966Z  INFO 110 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1cec4c18']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:13.064Z  INFO 110 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:13.081Z  INFO 110 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:13.179Z  INFO 110 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : Started MedicalHistoryServiceTest in 0.328 seconds (process running for 34.437)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.566 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ MP_202610_G81_E2_Back ---
[INFO] Building jar: /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot:3.5.12:repackage (repackage) @ MP_202610_G81_E2_Back ---
[INFO] Replacing main artifact /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar.original
[INFO] 
[INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202610_G81_E2_Back ---
[INFO] Loading execution data file /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/jacoco.exec
[INFO] Analyzed bundle 'MP_202610_G81_E2_Back' with 100 classes
[INFO] 
[INFO] --- install:3.1.4:install (default-install) @ MP_202610_G81_E2_Back ---
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/cecaduser/workspace/MP_202610_G81_E2_Back/target/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202610_G81_E2_Back/0.0.1-SNAPSHOT/MP_202610_G81_E2_Back-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  57.538 s
[INFO] Finished at: 2026-05-14T22:57:17Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 17f57f24f21a3e7781d65d38fea91bd960d8641a2fe488bf1666e56d5ca4e745
$ docker rm -f --volumes 17f57f24f21a3e7781d65d38fea91bd960d8641a2fe488bf1666e56d5ca4e745
[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 dc5314075e0bb34de15383514b63b15787a5c6006f8b90b11a354f0762baf966 -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.5:test (default-test) @ MP_202610_G81_E2_Back ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest
22:57:26.020 [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.
22:57:26.279 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:27.100Z  INFO 71 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : Starting AdoptionRequestEntityTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:27.102Z  INFO 71 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:27.725Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:27.892Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 150 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:28.002Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:28.147Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:cfa0bc5f-c08e-42eb-8734-b6e3c99b322e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:28.807Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:28.910Z  INFO 71 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.6.44.Final
2026-05-14T22:57:28.969Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:29.487Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:29.594Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:29.638Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@4ccfd904']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:32.063Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:32.251Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:32.978Z  INFO 71 --- [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2026-05-14T22:57:34.704Z  INFO 71 --- [           main] c.e.u.m.p.e.AdoptionRequestEntityTest    : Started AdoptionRequestEntityTest in 8.276 seconds (process running for 10.361)
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.746 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionRequestEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdopterEntityTest
2026-05-14T22:57:35.440Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdopterEntityTest]: AdopterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.460Z  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.109 s -- in co.edu.udistrital.mdp.pets.entities.AdopterEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.PetEntityTest
2026-05-14T22:57:35.548Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.PetEntityTest]: PetEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.556Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.PetEntityTest
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.056 s -- in co.edu.udistrital.mdp.pets.entities.PetEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.MessageEntityTest
2026-05-14T22:57:35.607Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MessageEntityTest]: MessageEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.616Z  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.073 s -- in co.edu.udistrital.mdp.pets.entities.MessageEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest
2026-05-14T22:57:35.682Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterMediaEntityTest]: ShelterMediaEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.690Z  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-05-14T22:57:35.727Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.NotificationEntityTest]: NotificationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.735Z  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.045 s -- in co.edu.udistrital.mdp.pets.entities.NotificationEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest
2026-05-14T22:57:35.774Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.VeterinarianEntityTest]: VeterinarianEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.786Z  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-05-14T22:57:35.956Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest]: MedicalHistoryEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:35.963Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: select me1_0.medical_history_id,me1_0.id,me1_0.description,me1_0.event_date,me1_0.event_type,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from medical_event_entity me1_0 left join veterinarian_entity v1_0 on v1_0.id=me1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id where me1_0.medical_history_id=?
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: select ve1_0.medical_history_id,ve1_0.id,ve1_0.admin_date,ve1_0.next_due_date,ve1_0.vaccine_name from vaccine_entry_entity ve1_0 where ve1_0.medical_history_id=?
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.082 s -- in co.edu.udistrital.mdp.pets.entities.MedicalHistoryEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
2026-05-14T22:57:36.040Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ShelterEntityTest]: ShelterEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:36.047Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: select mi1_0.shelter_id,mi1_0.id,mi1_0.description,mi1_0.media_type,mi1_0.media_url from shelter_media_entity mi1_0 where mi1_0.shelter_id=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s -- in co.edu.udistrital.mdp.pets.entities.ShelterEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
2026-05-14T22:57:36.110Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.ReviewEntityTest]: ReviewEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:36.117Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in co.edu.udistrital.mdp.pets.entities.ReviewEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
2026-05-14T22:57:36.155Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest]: TrialCohabitationEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:36.162Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s -- in co.edu.udistrital.mdp.pets.entities.TrialCohabitationEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
2026-05-14T22:57:36.221Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest]: AdoptionEntityTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:36.227Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in co.edu.udistrital.mdp.pets.entities.AdoptionEntityTest
[INFO] Running co.edu.udistrital.mdp.pets.MainApplicationTest
2026-05-14T22:57:36.256Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.MainApplicationTest]: MainApplicationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:36.274Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.MainApplicationTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:36.323Z  INFO 71 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : Starting MainApplicationTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:36.323Z  INFO 71 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:36.325Z DEBUG 71 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@5220d7f
2026-05-14T22:57:37.029Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:37.061Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 30 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:37.449Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:37.452Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:37.460Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:37.462Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2026-05-14T22:57:37.477Z  INFO 71 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn43: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:57:37.479Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2026-05-14T22:57:37.488Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:37.493Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:57:37.734Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:57:37.794Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:38.603Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:57:38.746Z DEBUG 71 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:57:38.780Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:57:38.879Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:57:39.197Z  INFO 71 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:57:39.216Z  INFO 71 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:57:39.295Z  INFO 71 --- [           main] c.e.u.mdp.pets.MainApplicationTest       : Started MainApplicationTest in 3.006 seconds (process running for 14.951)

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:39.420Z  INFO 71 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Starting MainApplication using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:39.421Z  INFO 71 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:39.670Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:39.716Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 45 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:39.956Z  INFO 71 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 0 (http)
2026-05-14T22:57:39.979Z  INFO 71 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-05-14T22:57:39.980Z  INFO 71 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.52]
2026-05-14T22:57:40.040Z  INFO 71 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/api]    : Initializing Spring embedded WebApplicationContext
2026-05-14T22:57:40.042Z  INFO 71 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 619 ms
2026-05-14T22:57:40.128Z DEBUG 71 --- [           main] o.s.w.f.ServerHttpObservationFilter      : Filter 'webMvcObservationFilter' configured for use
2026-05-14T22:57:40.169Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:40.171Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:40.179Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:40.180Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Starting...
2026-05-14T22:57:40.182Z  INFO 71 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-2 - Added connection conn53: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:57:40.182Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-2 - Start completed.
2026-05-14T22:57:40.182Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:40.183Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-2)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:57:40.402Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:57:40.464Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:40.706Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:57:40.739Z DEBUG 71 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:57:40.744Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:57:40.750Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:57:40.804Z  INFO 71 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:57:40.811Z  INFO 71 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:57:40.850Z  INFO 71 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 42367 (http) with context path '/api'
2026-05-14T22:57:40.858Z  INFO 71 --- [           main] c.e.udistrital.mdp.pets.MainApplication  : Started MainApplication in 1.459 seconds (process running for 16.515)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.616 s -- in co.edu.udistrital.mdp.pets.MainApplicationTest
[INFO] Running co.edu.udistrital.mdp.pets.config.ApplicationConfigTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in co.edu.udistrital.mdp.pets.config.ApplicationConfigTest
[INFO] Running co.edu.udistrital.mdp.pets.dto.DtoMappingTest
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in co.edu.udistrital.mdp.pets.dto.DtoMappingTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.UserControllerTest
2026-05-14T22:57:40.885Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.UserControllerTest]: UserControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:40.898Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.UserControllerTest
2026-05-14T22:57:40.909Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:57:41.057Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:57:41.069Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar todos los usuarios
2026-05-14T22:57:41.089Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:57:41.093Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:57:41.096Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 2
2026-05-14T22:57:41.097Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de consultar el usuario con id = 2
2026-05-14T22:57:41.105Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:57:41.108Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:57:41.133Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:57:41.139Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:57:41.142Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 4
2026-05-14T22:57:41.150Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de borrar el usuario con id = 4
2026-05-14T22:57:41.151Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 4
2026-05-14T22:57:41.159Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
2026-05-14T22:57:41.176Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
2026-05-14T22:57:41.179Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 5
2026-05-14T22:57:41.183Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de actualizar el usuario con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.308 s -- in co.edu.udistrital.mdp.pets.controllers.UserControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.010 s -- in co.edu.udistrital.mdp.pets.controllers.DefaultControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.PetControllerTest
2026-05-14T22:57:41.208Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.PetControllerTest]: PetControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:41.212Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.PetControllerTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:41.234Z  INFO 71 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : Starting PetControllerTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:41.234Z  INFO 71 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:41.236Z DEBUG 71 --- [           main] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@16724acf
2026-05-14T22:57:41.482Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:41.510Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:41.604Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:41.606Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:41.614Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:41.615Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Starting...
2026-05-14T22:57:41.617Z  INFO 71 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-3 - Added connection conn63: url=jdbc:h2:mem:pets user=SA
2026-05-14T22:57:41.617Z  INFO 71 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Start completed.
2026-05-14T22:57:41.618Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:41.618Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-3)']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-05-14T22:57:41.807Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-05-14T22:57:41.859Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:42.114Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : 118 mappings in 'requestMappingHandlerMapping'
2026-05-14T22:57:42.144Z DEBUG 71 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Patterns [/webjars/**, /**] in 'resourceHandlerMapping'
2026-05-14T22:57:42.150Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : ControllerAdvice beans: 0 @ModelAttribute, 0 @InitBinder, 1 RequestBodyAdvice, 1 ResponseBodyAdvice
2026-05-14T22:57:42.156Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : ControllerAdvice beans: 1 @ExceptionHandler, 1 ResponseBodyAdvice
2026-05-14T22:57:42.230Z  INFO 71 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:pets'
2026-05-14T22:57:42.249Z DEBUG 71 --- [           main] o.s.w.f.ServerHttpObservationFilter      : Filter 'webMvcObservationFilter' configured for use
2026-05-14T22:57:42.251Z  INFO 71 --- [           main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-05-14T22:57:42.251Z  INFO 71 --- [           main] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet ''
2026-05-14T22:57:42.254Z  INFO 71 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint beneath base path '/actuator'
2026-05-14T22:57:42.259Z  INFO 71 --- [           main] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 7 ms
2026-05-14T22:57:42.293Z  INFO 71 --- [           main] c.e.u.m.p.controllers.PetControllerTest  : Started PetControllerTest in 1.077 seconds (process running for 17.949)
2026-05-14T22:57:42.421Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:57:42.502Z DEBUG 71 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=La (truncated)...]
2026-05-14T22:57:42.558Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
2026-05-14T22:57:42.581Z DEBUG 71 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json]
2026-05-14T22:57:42.582Z DEBUG 71 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Writing [PetDTO(id=1, name=Firulais, species=Dog, breed=Golden Retriever, bornDate=null, sex=Male, size=Large (truncated)...]
2026-05-14T22:57:42.667Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:57:42.668Z DEBUG 71 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=null, species=null, breed=null, bornDate=null, sex=null, size=null, temperament (truncated)...]
2026-05-14T22:57:42.678Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest)
2026-05-14T22:57:42.700Z DEBUG 71 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/problem+json', given [*/*] and supported [application/problem+json]
2026-05-14T22:57:42.704Z DEBUG 71 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...]
2026-05-14T22:57:42.706Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 8 errors: [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'shelterId': rejected value [null]; codes [NotNull.petDTO.shelterId,NotNull.shelterId,NotNull.java.lang.Long,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.shelterId,shelterId]; arguments []; default message [shelterId]]; default message [Shelter ID is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] [Field error in object 'petDTO' on field 'name': rejected value [null]; codes [NotBlank.petDTO.name,NotBlank.name,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.name,name]; arguments []; default message [name]]; default message [Name is mandatory]] [Field error in object 'petDTO' on field 'species': rejected value [null]; codes [NotBlank.petDTO.species,NotBlank.species,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.species,species]; arguments []; default message [species]]; default message [Species is mandatory]] [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] ]
2026-05-14T22:57:42.717Z DEBUG 71 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to co.edu.udistrital.mdp.pets.controllers.PetController#createPet(PetDTO)
2026-05-14T22:57:42.718Z DEBUG 71 --- [           main] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [PetDTO(id=null, name=Firulais, species=Dog, breed=null, bornDate=null, sex=null, size=null, temperam (truncated)...]
2026-05-14T22:57:42.720Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandler#handleException(Exception, WebRequest)
2026-05-14T22:57:42.720Z DEBUG 71 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/problem+json', given [*/*] and supported [application/problem+json]
2026-05-14T22:57:42.721Z DEBUG 71 --- [           main] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ProblemDetail[type='about:blank', title='Bad Request', status=400, detail='Invalid request content.' (truncated)...]
2026-05-14T22:57:42.721Z DEBUG 71 --- [           main] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public co.edu.udistrital.mdp.pets.dto.PetDTO co.edu.udistrital.mdp.pets.controllers.PetController.createPet(co.edu.udistrital.mdp.pets.dto.PetDTO) throws co.edu.udistrital.mdp.pets.exceptions.IllegalOperationException,co.edu.udistrital.mdp.pets.exceptions.EntityNotFoundException with 5 errors: [Field error in object 'petDTO' on field 'size': rejected value [null]; codes [NotBlank.petDTO.size,NotBlank.size,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.size,size]; arguments []; default message [size]]; default message [Size is mandatory]] [Field error in object 'petDTO' on field 'breed': rejected value [null]; codes [NotBlank.petDTO.breed,NotBlank.breed,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.breed,breed]; arguments []; default message [breed]]; default message [Breed is mandatory]] [Field error in object 'petDTO' on field 'temperament': rejected value [null]; codes [NotBlank.petDTO.temperament,NotBlank.temperament,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.temperament,temperament]; arguments []; default message [temperament]]; default message [Temperament is mandatory]] [Field error in object 'petDTO' on field 'photo': rejected value [null]; codes [NotBlank.petDTO.photo,NotBlank.photo,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.photo,photo]; arguments []; default message [photo]]; default message [Photo is mandatory]] [Field error in object 'petDTO' on field 'sex': rejected value [null]; codes [NotBlank.petDTO.sex,NotBlank.sex,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [petDTO.sex,sex]; arguments []; default message [sex]]; default message [Sex is mandatory]] ]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.519 s -- in co.edu.udistrital.mdp.pets.controllers.PetControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
2026-05-14T22:57:42.729Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.MessageControllerTest]: MessageControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:42.730Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
2026-05-14T22:57:42.736Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.740Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.743Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.746Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.748Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:42.749Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:57:42.752Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar todos los mensajes
2026-05-14T22:57:42.763Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.766Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.768Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.770Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.772Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:42.773Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:57:42.774Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 2
2026-05-14T22:57:42.775Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de consultar el mensaje con id = 2
2026-05-14T22:57:42.782Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.784Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.786Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.788Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.790Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:42.790Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:57:42.798Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.801Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.803Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.805Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.807Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:42.807Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:57:42.809Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 4
2026-05-14T22:57:42.809Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de borrar el mensaje con id = 4
2026-05-14T22:57:42.810Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 4
2026-05-14T22:57:42.817Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.819Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.821Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.823Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.825Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:42.825Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
2026-05-14T22:57:42.827Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 5
2026-05-14T22:57:42.827Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de actualizar el mensaje con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 s -- in co.edu.udistrital.mdp.pets.controllers.MessageControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
2026-05-14T22:57:42.834Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest]: NotificationControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:42.835Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
2026-05-14T22:57:42.840Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.843Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.845Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:42.846Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:57:42.847Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar todas las notificaciones
2026-05-14T22:57:42.857Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.860Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.861Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:42.862Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:57:42.863Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 2
2026-05-14T22:57:42.864Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de consultar la notificación con id = 2
2026-05-14T22:57:42.870Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.873Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.875Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:42.875Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:57:42.882Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.885Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.887Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:42.887Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:57:42.889Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 4
2026-05-14T22:57:42.890Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de borrar la notificación con id = 4
2026-05-14T22:57:42.891Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 4
2026-05-14T22:57:42.898Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.901Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.902Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:42.903Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
2026-05-14T22:57:42.904Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 5
2026-05-14T22:57:42.905Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de actualizar la notificación con id = 5
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 s -- in co.edu.udistrital.mdp.pets.controllers.NotificationControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
2026-05-14T22:57:42.911Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest]: AdopterControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:42.912Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
2026-05-14T22:57:42.917Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.920Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.928Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.930Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.932Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar todos los adoptantes
2026-05-14T22:57:42.942Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.944Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.946Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 18
2026-05-14T22:57:42.947Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de consultar el adoptante con id = 18
2026-05-14T22:57:42.953Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.955Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.957Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 19
2026-05-14T22:57:42.957Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de borrar el adoptante con id = 19
2026-05-14T22:57:42.958Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 19
2026-05-14T22:57:42.964Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:42.967Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
2026-05-14T22:57:42.968Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 20
2026-05-14T22:57:42.971Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de actualizar el adoptante con id = 20
[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 s -- in co.edu.udistrital.mdp.pets.controllers.AdopterControllerTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.ApiErrorTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s -- in co.edu.udistrital.mdp.pets.exceptions.RestExceptionHandlerTest
[INFO] Running co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 s -- in co.edu.udistrital.mdp.pets.exceptions.LowerCaseClassNameResolverTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdopterServiceTest
2026-05-14T22:57:43.012Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdopterServiceTest]: AdopterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:43.031Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdopterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:43.047Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Starting AdopterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:43.048Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:43.112Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:43.137Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:43.150Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:43.160Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:96fc918c-7ded-4ed3-ab0d-699dd0ba9295;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:43.177Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:43.178Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:43.186Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:43.187Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:43.188Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@7e7c50c6']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:43.357Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:43.397Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:43.539Z  INFO 71 --- [           main] c.e.u.m.p.services.AdopterServiceTest    : Started AdopterServiceTest in 0.505 seconds (process running for 19.196)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.621Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.682Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:43.737Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 7
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.780Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
2026-05-14T22:57:43.784Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de creación del adoptante
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.819Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.850Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.880Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 20
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
2026-05-14T22:57:43.883Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de actualizar el adoptante con id = 20
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.910Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.958Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:43.995Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar todos los adoptantes
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.027Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:44.035Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
2026-05-14T22:57:44.039Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de creación del adoptante
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.064Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.090Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
2026-05-14T22:57:44.120Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
2026-05-14T22:57:44.123Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar adoptantes por filtros
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where (? is null or ?='' or lower(ae1_1.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_1.email) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ae1_0.status)=lower(?))
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.153Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de borrar el adoptante con id = 44
2026-05-14T22:57:44.154Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Termina proceso de borrar el adoptante con id = 44
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.182Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de actualizar el adoptante con id = 45
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_1.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.209Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 0
Hibernate: select ae1_0.id,ae1_1.email,ae1_1.name,ae1_1.password,ae1_1.phone_number,ae1_1.profile_image_url,ae1_1.register_date,ae1_0.address,ae1_0.city,ae1_0.housing_type,ae1_0.status from adopter_entity ae1_0 join user_entity ae1_1 on ae1_0.id=ae1_1.id where ae1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:44.240Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdopterService   : Inicia proceso de consultar el adoptante con id = 51
2026-05-14T22:57:44.241Z  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.236 s -- in co.edu.udistrital.mdp.pets.services.AdopterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest
2026-05-14T22:57:44.247Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest]: MedicalEventServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:44.252Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:44.269Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : Starting MedicalEventServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:44.269Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:44.338Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:44.363Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:44.375Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:44.385Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:52acae1b-b790-498b-a9be-2b7fae6f5d26;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:44.401Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:44.402Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:44.411Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:44.413Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:44.413Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@50f7ee3a']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:44.574Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:44.608Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:44.741Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalEventServiceTest      : Started MedicalEventServiceTest in 0.487 seconds (process running for 20.398)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url from medical_event_entity mee1_0 left join medical_history_entity mh1_0 on mh1_0.id=mee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id left join veterinarian_entity v2_0 on v2_0.id=mee1_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id where mee1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mee1_0.id,mee1_0.description,mee1_0.event_date,mee1_0.event_type,mee1_0.medical_history_id,mee1_0.veterinarian_id from medical_event_entity mee1_0 where mee1_0.event_date between ? and ?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.673 s -- in co.edu.udistrital.mdp.pets.services.MedicalEventServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MessageServiceTest
2026-05-14T22:57:44.920Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MessageServiceTest]: MessageServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:44.925Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MessageServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:44.940Z  INFO 71 --- [           main] c.e.u.m.p.services.MessageServiceTest    : Starting MessageServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:44.940Z  INFO 71 --- [           main] c.e.u.m.p.services.MessageServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:45.023Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:45.052Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 27 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:45.071Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:45.081Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:45af9e15-62b8-4cde-a15f-2e0a18aad372;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:45.099Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:45.101Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:45.109Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:45.110Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:45.111Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2d10b934']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:45.274Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:45.314Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:45.465Z  INFO 71 --- [           main] c.e.u.m.p.services.MessageServiceTest    : Started MessageServiceTest in 0.538 seconds (process running for 21.122)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.492Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.516Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.541Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de borrar el mensaje con id = 11
2026-05-14T22:57:45.542Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de borrar el mensaje con id = 11
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.567Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.595Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.618Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.659Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.683Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 0
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,r1_0.id,case when r1_1.id is not null then 1 when r1_2.id is not null then 2 end,r1_0.email,r1_0.name,r1_0.password,r1_0.phone_number,r1_0.profile_image_url,r1_0.register_date,r1_1.address,r1_1.city,r1_1.housing_type,r1_1.status,r1_2.availability_schedule,r1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,s2_0.id,case when s2_1.id is not null then 1 when s2_2.id is not null then 2 end,s2_0.email,s2_0.name,s2_0.password,s2_0.phone_number,s2_0.profile_image_url,s2_0.register_date,s2_1.address,s2_1.city,s2_1.housing_type,s2_1.status,s2_2.availability_schedule,s2_2.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,me1_0.sent_at from message_entity me1_0 left join user_entity r1_0 on r1_0.id=me1_0.receiver_id left join adopter_entity r1_1 on r1_0.id=r1_1.id left join veterinarian_entity r1_2 on r1_0.id=r1_2.id left join shelter_entity s1_0 on s1_0.id=r1_2.shelter_id left join user_entity s2_0 on s2_0.id=me1_0.sender_id left join adopter_entity s2_1 on s2_0.id=s2_1.id left join veterinarian_entity s2_2 on s2_0.id=s2_2.id left join shelter_entity s3_0 on s3_0.id=s2_2.shelter_id where me1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.707Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar el mensaje con id = 27
2026-05-14T22:57:45.707Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de consultar el mensaje con id = 27
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.729Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de consultar todos los mensajes
Hibernate: select me1_0.id,me1_0.active,me1_0.content,me1_0.is_read,me1_0.receiver_id,me1_0.sender_id,me1_0.sent_at from message_entity me1_0 where me1_0.active
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.755Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.777Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
2026-05-14T22:57:45.778Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de creación del mensaje
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.799Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de actualizar el mensaje con id = 40
2026-05-14T22:57:45.799Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Termina proceso de actualizar el mensaje con id = 40
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.822Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:45.848Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.MessageService   : Inicia proceso de creación del mensaje
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.931 s -- in co.edu.udistrital.mdp.pets.services.MessageServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.SpecialityServiceTest
2026-05-14T22:57:45.853Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.SpecialityServiceTest]: SpecialityServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:45.857Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.SpecialityServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:45.872Z  INFO 71 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : Starting SpecialityServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:45.872Z  INFO 71 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:45.929Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:45.951Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:45.962Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:45.971Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:932e3ead-32e9-4986-882d-6b83723aff9a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:45.986Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:45.987Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:45.994Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:45.995Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:45.996Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@35e26382']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:46.149Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:46.178Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:46.301Z  INFO 71 --- [           main] c.e.u.m.p.s.SpecialityServiceTest        : Started SpecialityServiceTest in 0.442 seconds (process running for 21.958)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.365Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: 
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.453Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.512Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.567Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: null
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.634Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 13
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.724Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.793Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching specialities by name part: Especialid
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name) like upper(?) escape '\'
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.845Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching speciality with id: 23
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.894Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 26
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:46.952Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Deleting speciality with id: 30
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.000Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 32
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.047Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 35
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.144Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Updating speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.256Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Creating speciality
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where upper(vse1_0.name)=upper(?)
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.344Z  INFO 71 --- [           main] c.e.u.m.pets.services.SpecialityService  : Searching speciality with id: 0
Hibernate: select vse1_0.id,vse1_0.description,vse1_0.name from vet_speciality_entity vse1_0 where vse1_0.id=?
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:47.456Z  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.608 s -- in co.edu.udistrital.mdp.pets.services.SpecialityServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest
2026-05-14T22:57:47.462Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest]: ShelterMediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:47.471Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:47.489Z  INFO 71 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : Starting ShelterMediaServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:47.490Z  INFO 71 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:47.561Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:47.588Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 25 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:47.601Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:47.611Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:693e1366-194e-4c31-bc74-f69f07b61a00;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:47.630Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:47.632Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:47.641Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:47.642Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:47.642Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@57e757c1']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:47.798Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:47.829Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:47.974Z  INFO 71 --- [           main] c.e.u.m.p.s.ShelterMediaServiceTest      : Started ShelterMediaServiceTest in 0.5 seconds (process running for 23.631)
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:47.987Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 1
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.028Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 4
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.040Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.051Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.062Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 14
Hibernate: update shelter_media_entity set description=?,media_type=?,media_url=?,shelter_id=? where id=?
Hibernate: select count(sme1_0.id) from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=? and sme1_0.media_type=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.076Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Updating shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.087Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.097Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Updating shelter media with id: 23
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.107Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.117Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Deleting shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.128Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter media with id: 32
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.139Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter medias by shelter id: 34
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,sme1_0.shelter_id from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where s1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.153Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Creating shelter media
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.163Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterMediaService   : Searching shelter media with id: 0
Hibernate: select sme1_0.id,sme1_0.description,sme1_0.media_type,sme1_0.media_url,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from shelter_media_entity sme1_0 left join shelter_entity s1_0 on s1_0.id=sme1_0.shelter_id where sme1_0.id=?
Hibernate: delete from shelter_media_entity sme1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
Hibernate: insert into shelter_media_entity (description,media_type,media_url,shelter_id,id) values (?,?,?,?,default)
2026-05-14T22:57:48.188Z  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.730 s -- in co.edu.udistrital.mdp.pets.services.ShelterMediaServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest
2026-05-14T22:57:48.193Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest]: AdoptionRequestServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:48.198Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:48.212Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : Starting AdoptionRequestServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:48.212Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:48.268Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:48.289Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:48.300Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:48.308Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:00587ca9-e238-4e9e-b276-44a492528672;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:48.322Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:48.324Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:48.331Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:48.332Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:48.332Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@740a3149']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:48.459Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:48.485Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:48.601Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestServiceTest   : Started AdoptionRequestServiceTest in 0.401 seconds (process running for 24.258)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.619Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Search adoption request with id = 0
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.637Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Updating adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.653Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Updating adoption request
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.671Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:48.687Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.702Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.717Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.731Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.746Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.760Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Create adoption request
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.776Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Delete adoption request
Hibernate: select are1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ap1_0.creation_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,are1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,are1_0.request_date,are1_0.status from adoption_request_entity are1_0 left join adopter_entity a1_0 on a1_0.id=are1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on are1_0.id=ap1_0.adoption_request_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join pet_entity p1_0 on p1_0.id=ap1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join pet_entity p2_0 on p2_0.id=are1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where are1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.795Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionRequestService       : Search all adoption requests
Hibernate: select are1_0.id,are1_0.adopter_id,are1_0.comments,are1_0.pet_id,are1_0.request_date,are1_0.status from adoption_request_entity are1_0
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:48.816Z  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.626 s -- in co.edu.udistrital.mdp.pets.services.AdoptionRequestServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.NotificationServiceTest
2026-05-14T22:57:48.820Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.NotificationServiceTest]: NotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:48.825Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.NotificationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:48.839Z  INFO 71 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : Starting NotificationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:48.839Z  INFO 71 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:48.893Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:48.915Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:48.927Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:48.935Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:4793b18f-91e6-47ed-af82-c38a525b80c6;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:48.949Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:48.951Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:48.957Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:48.958Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:48.959Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1e0383cd']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:49.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 infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:49.105Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:49.220Z  INFO 71 --- [           main] c.e.u.m.p.s.NotificationServiceTest      : Started NotificationServiceTest in 0.393 seconds (process running for 24.877)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.243Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 1
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.263Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 4
2026-05-14T22:57:49.263Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de actualizar la notificación con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.283Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar todas las notificaciones
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,ne1_0.user_id from notification_entity ne1_0
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.305Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de actualizar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.327Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.347Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 16
2026-05-14T22:57:49.347Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de consultar la notificación con id = 16
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.366Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.387Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:49.387Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.407Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.426Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.476Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.495Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
2026-05-14T22:57:49.495Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Termina proceso de creación de la notificación
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.519Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de consultar la notificación con id = 0
Hibernate: select ne1_0.id,ne1_0.content,ne1_0.created_at,ne1_0.is_read,ne1_0.title,u1_0.id,case when u1_1.id is not null then 1 when u1_2.id is not null then 2 end,u1_0.email,u1_0.name,u1_0.password,u1_0.phone_number,u1_0.profile_image_url,u1_0.register_date,u1_1.address,u1_1.city,u1_1.housing_type,u1_1.status,u1_2.availability_schedule,u1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from notification_entity ne1_0 left join user_entity u1_0 on u1_0.id=ne1_0.user_id left join adopter_entity u1_1 on u1_0.id=u1_1.id left join veterinarian_entity u1_2 on u1_0.id=u1_2.id left join shelter_entity s1_0 on s1_0.id=u1_2.shelter_id where ne1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.540Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 45
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.559Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de creación de la notificación
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:49.579Z  INFO 71 --- [           main] c.e.u.m.p.services.NotificationService   : Inicia proceso de borrar la notificación con id = 52
2026-05-14T22:57:49.579Z  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.763 s -- in co.edu.udistrital.mdp.pets.services.NotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ReviewServiceTest
2026-05-14T22:57:49.584Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:49.588Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReviewServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:49.601Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : Starting ReviewServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:49.601Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:49.656Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:49.677Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:49.688Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:49.699Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e82c5fbf-3a6e-415d-a2ff-4c6b2ce871a1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:49.712Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:49.714Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:49.720Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:49.721Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:49.721Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@737d57d3']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:49.839Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:49.863Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:49.978Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReviewServiceTest  : Started ReviewServiceTest in 0.388 seconds (process running for 25.635)
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.002Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de creación de la reseña
2026-05-14T22:57:50.003Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de creación de la reseña
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.025Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.050Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de creación de la reseña
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.073Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar todas las reseñas
Hibernate: select re1_0.id,re1_0.adopter_id,re1_0.adoption_process_id,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,re1_0.shelter_id from review_entity re1_0
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.099Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de actualizar la reseña con id = 14
2026-05-14T22:57:50.100Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de actualizar la reseña con id = 14
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.121Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 18
2026-05-14T22:57:50.122Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de borrar la reseña con id = 18
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.145Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 20
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.167Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de actualizar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.189Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de consultar la reseña con id = 26
2026-05-14T22:57:50.190Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Termina proceso de consultar la reseña con id = 26
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.217Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 29
Hibernate: delete from review_entity re1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into review_entity (adopter_id,adoption_process_id,comment,is_success_story,rating,review_date,shelter_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.246Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ReviewService    : Inicia proceso de borrar la reseña con id = 0
Hibernate: select re1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,re1_0.comment,re1_0.is_success_story,re1_0.rating,re1_0.review_date,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url from review_entity re1_0 left join adopter_entity a1_0 on a1_0.id=re1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join adoption_process_entity ap1_0 on ap1_0.id=re1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ap1_0.id=rc1_0.adoption_process_id left join shelter_entity s5_0 on s5_0.id=re1_0.shelter_id where re1_0.id=?
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.667 s -- in co.edu.udistrital.mdp.pets.services.ReviewServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
2026-05-14T22:57:50.252Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionServiceTest]: AdoptionServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:50.257Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:50.270Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Starting AdoptionServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:50.270Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:50.349Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:50.370Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 20 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:50.381Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:50.389Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e62b4dbf-d41d-4014-879d-79fd81978c09;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:50.403Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:50.404Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:50.412Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:50.413Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:50.413Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5fb7422b']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:50.534Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:50.558Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:50.668Z  INFO 71 --- [           main] c.e.u.m.p.services.AdoptionServiceTest   : Started AdoptionServiceTest in 0.409 seconds (process running for 26.324)
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.677Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de actualizar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.688Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de actualizar la adopción con id = 4
2026-05-14T22:57:50.688Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de actualizar la adopción con id = 4
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.695Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de creación de la adopción
2026-05-14T22:57:50.696Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de creación de la adopción
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.704Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.713Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar todas las adopciones
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.contract_signed,ae1_0.official_date,ae1_0.pet_id,ae1_0.shelter_id,ae1_0.status,ae1_0.trial_cohabitation_id from adoption_entity ae1_0
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:50.723Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 17
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.730Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de consultar la adopción con id = 20
2026-05-14T22:57:50.730Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de consultar la adopción con id = 20
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.736Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 24
2026-05-14T22:57:50.737Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Termina proceso de borrar la adopción con id = 24
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:50.746Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 26
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.753Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de creación de la adopción
Hibernate: delete from adoption_entity ae1_0
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
Hibernate: insert into adoption_entity (adopter_id,contract_signed,official_date,pet_id,shelter_id,status,trial_cohabitation_id,id) values (?,?,?,?,?,?,?,default)
2026-05-14T22:57:50.761Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.AdoptionService  : Inicia proceso de borrar la adopción con id = 0
Hibernate: select ae1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ae1_0.contract_signed,ae1_0.official_date,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,ae1_0.status,tc1_0.id,ar1_0.id,a2_0.id,a2_1.email,a2_1.name,a2_1.password,a2_1.phone_number,a2_1.profile_image_url,a2_1.register_date,a2_0.address,a2_0.city,a2_0.housing_type,a2_0.status,ar1_0.comments,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s5_0.id,s5_0.address,s5_0.city,s5_0.description,s5_0.location_details,s5_0.nit,s5_0.phone_number,s5_0.shelter_name,s5_0.status,s5_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ar1_0.request_date,ar1_0.status,tc1_1.creation_date,p3_0.id,p3_0.born_date,p3_0.breed,p3_0.is_rescued,mh3_0.id,mh3_0.created_date,mh3_0.last_updated,v3_0.id,v3_1.email,v3_1.name,v3_1.password,v3_1.phone_number,v3_1.profile_image_url,v3_1.register_date,v3_0.availability_schedule,v3_0.license_number,s6_0.id,s6_0.address,s6_0.city,s6_0.description,s6_0.location_details,s6_0.nit,s6_0.phone_number,s6_0.shelter_name,s6_0.status,s6_0.website_url,p3_0.name,p3_0.origin_location,p3_0.photo,p3_0.sex,s7_0.id,s7_0.address,s7_0.city,s7_0.description,s7_0.location_details,s7_0.nit,s7_0.phone_number,s7_0.shelter_name,s7_0.status,s7_0.website_url,p3_0.size,p3_0.species,p3_0.specific_needs,p3_0.status,p3_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tc1_1.status,tc1_0.approved,tc1_0.end_date,tc1_0.notes,tc1_0.start_date from adoption_entity ae1_0 left join adopter_entity a1_0 on a1_0.id=ae1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ae1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join shelter_entity s3_0 on s3_0.id=ae1_0.shelter_id left join trial_cohabitation_entity tc1_0 on tc1_0.id=ae1_0.trial_cohabitation_id left join adoption_process_entity tc1_1 on tc1_0.id=tc1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tc1_1.adoption_request_id left join adopter_entity a2_0 on a2_0.id=ar1_0.adopter_id left join user_entity a2_1 on a2_0.id=a2_1.id left join pet_entity p2_0 on p2_0.id=ar1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s4_0 on s4_0.id=v2_0.shelter_id left join shelter_entity s5_0 on s5_0.id=p2_0.shelter_id left join pet_entity p3_0 on p3_0.id=tc1_1.pet_id left join medical_history_entity mh3_0 on p3_0.id=mh3_0.pet_id left join veterinarian_entity v3_0 on v3_0.id=mh3_0.veterinarian_id left join user_entity v3_1 on v3_0.id=v3_1.id left join shelter_entity s6_0 on s6_0.id=v3_0.shelter_id left join shelter_entity s7_0 on s7_0.id=p3_0.shelter_id left join return_case_entity rc1_0 on tc1_1.id=rc1_0.adoption_process_id where ae1_0.id=?
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest
2026-05-14T22:57:50.768Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ShelterServiceTest]: ShelterServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:50.772Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ShelterServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:50.785Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Starting ShelterServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:50.785Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:50.839Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:50.860Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:50.870Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:50.878Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:c10ba5e9-9ad1-4ee9-8fec-38d1554dacc1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:50.892Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:50.893Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:50.899Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:50.900Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:50.900Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@53a10e13']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:51.016Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:51.038Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:51.146Z  INFO 71 --- [           main] c.e.u.m.p.services.ShelterServiceTest    : Started ShelterServiceTest in 0.372 seconds (process running for 26.803)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.160Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 1
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.174Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters with name: Shelter-0-108578612147527
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.186Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.197Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.208Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 14
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.223Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.240Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.255Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 0
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.266Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelters with name: Unknown
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.280Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 29
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.293Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching all shelters
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.306Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Deleting shelter with id: 35
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join shelter_entity s1_0 on s1_0.id=pe1_0.shelter_id where s1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.319Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.329Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Searching shelter with id: 41
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.339Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.352Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.363Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Updating shelter with id: 50
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.373Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.382Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.nit=?
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.shelter_name=?
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.397Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.ShelterService   : Creating shelter
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.407Z  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.643 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest
2026-05-14T22:57:51.412Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.PetServiceTest]: PetServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:51.417Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.PetServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:51.430Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Starting PetServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:51.430Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:51.483Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:51.503Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:51.513Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:51.521Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:a6370c4d-4b8e-4cc9-b5e4-45346521a42b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:51.534Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:51.536Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:51.542Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:51.543Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:51.543Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6cb5e8a5']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:51.654Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:51.674Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:51.786Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetServiceTest   : Started PetServiceTest in 0.367 seconds (process running for 27.443)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 where (? is null or pe1_0.breed=?) and (? is null or pe1_0.size=?) and (? is null or pe1_0.temperament=?)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.915Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:51.960Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:52.007Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.PetService       : Creating pet
Hibernate: select pe1_0.id from pet_entity pe1_0 where pe1_0.name=? and pe1_0.breed=? and pe1_0.born_date=? fetch first ? rows only
Hibernate: select se1_0.id,se1_0.address,se1_0.city,se1_0.description,se1_0.location_details,se1_0.nit,se1_0.phone_number,se1_0.shelter_name,se1_0.status,se1_0.website_url from shelter_entity se1_0 where se1_0.id=?
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.602 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
2026-05-14T22:57:52.015Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest]: VeterinarianServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:52.019Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:52.032Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Starting VeterinarianServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:52.032Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:52.086Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:52.106Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:52.116Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:52.124Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:dfc94ccb-abcf-4ee5-a424-5932a868f1f7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:52.137Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:52.139Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:52.145Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:52.146Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:52.146Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@45371164']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:52.254Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:52.274Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:52.381Z  INFO 71 --- [           main] c.e.u.m.p.s.VeterinarianServiceTest      : Started VeterinarianServiceTest in 0.359 seconds (process running for 28.037)
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.437Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 1
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.490Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.577Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarian with id: 7
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_event_entity (description,event_date,event_type,medical_history_id,veterinarian_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:52.630Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 10
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.684Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.735Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.787Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarians by shelter: 19
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where s1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
2026-05-14T22:57:52.844Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Deleting veterinarian with id: 22
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.906Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:52.957Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching veterinarians by speciality: 28
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join vet_speciality_relation s1_0 on ve1_0.id=s1_0.vet_id where s1_0.speciality_id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.017Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.068Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Searching all veterinarians
Hibernate: insert into vet_speciality_relation (vet_id,speciality_id) values (?,?)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,ve1_0.shelter_id from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.124Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 37
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.179Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.255Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Creating veterinarian
Hibernate: select count(*) from user_entity ue1_0 where ue1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.309Z  INFO 71 --- [           main] c.e.u.m.p.services.VeterinarianService   : Updating veterinarian with id: 0
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_event_entity mee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from vet_speciality_entity vse1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into vet_speciality_entity (description,name,id) values (?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
2026-05-14T22:57:53.361Z  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.350 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest
2026-05-14T22:57:53.367Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest]: VaccineEntryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:53.371Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:53.385Z  INFO 71 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : Starting VaccineEntryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:53.385Z  INFO 71 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:53.437Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:53.457Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 19 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:53.467Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:53.476Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e5f27320-62c5-42c6-8eaa-a32c3dfb4c4a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:53.489Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:53.490Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:53.496Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:53.497Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:53.498Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@416b02e2']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:53.609Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:53.628Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:53.733Z  INFO 71 --- [           main] c.e.u.m.p.s.VaccineEntryServiceTest      : Started VaccineEntryServiceTest in 0.36 seconds (process running for 29.39)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id left join pet_entity p1_0 on p1_0.id=mh1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where vee1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 left join medical_history_entity mh1_0 on mh1_0.id=vee1_0.medical_history_id where mh1_0.id=?
Hibernate: delete from vaccine_entry_entity vee1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: insert into vaccine_entry_entity (admin_date,medical_history_id,next_due_date,vaccine_name,id) values (?,?,?,?,default)
Hibernate: select vee1_0.id,vee1_0.admin_date,vee1_0.medical_history_id,vee1_0.next_due_date,vee1_0.vaccine_name from vaccine_entry_entity vee1_0 where vee1_0.next_due_date<?
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.448 s -- in co.edu.udistrital.mdp.pets.services.VaccineEntryServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.UserServiceTest
2026-05-14T22:57:53.816Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:53.824Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.UserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:53.836Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Starting UserServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:53.836Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:53.891Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:53.910Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:53.920Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:53.927Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:e999a68f-f016-41b3-9b2c-2971f21daa99;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:53.941Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:53.942Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:53.948Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:53.949Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:53.949Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@43c43f5a']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:54.056Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:54.075Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:54.201Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserServiceTest  : Started UserServiceTest in 0.375 seconds (process running for 29.858)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.223Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.240Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 4
2026-05-14T22:57:54.241Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de consultar el usuario con id = 4
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.258Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar todos los usuarios
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:54.277Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 10
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.296Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 13
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
2026-05-14T22:57:54.299Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de actualizar el usuario con id = 13
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.318Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into notification_entity (content,created_at,is_read,title,user_id,id) values (?,?,?,?,?,default)
2026-05-14T22:57:54.334Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 19
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.350Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.367Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.387Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.403Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar usuarios por filtros
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '')
2026-05-14T22:57:54.409Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de consultar usuarios por filtros
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where (? is null or ?='' or lower(ue1_0.name) like lower(('%'||?||'%')) escape '') and (? is null or ?='' or lower(ue1_0.email) like lower(('%'||?||'%')) escape '')
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.429Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
2026-05-14T22:57:54.431Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de creación del usuario
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.450Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 41
2026-05-14T22:57:54.451Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Termina proceso de borrar el usuario con id = 41
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.470Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de creación del usuario
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.490Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de actualizar el usuario con id = 45
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,ue1_2.shelter_id from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id where ue1_0.email=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.510Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 0
Hibernate: select ue1_0.id,case when ue1_1.id is not null then 1 when ue1_2.id is not null then 2 end,ue1_0.email,ue1_0.name,ue1_0.password,ue1_0.phone_number,ue1_0.profile_image_url,ue1_0.register_date,ue1_1.address,ue1_1.city,ue1_1.housing_type,ue1_1.status,ue1_2.availability_schedule,ue1_2.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from user_entity ue1_0 left join adopter_entity ue1_1 on ue1_0.id=ue1_1.id left join veterinarian_entity ue1_2 on ue1_0.id=ue1_2.id left join shelter_entity s1_0 on s1_0.id=ue1_2.shelter_id where ue1_0.id=?
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into message_entity (active,content,is_read,receiver_id,sender_id,sent_at,id) values (?,?,?,?,?,?,default)
2026-05-14T22:57:54.528Z  INFO 71 --- [           main] c.e.u.mdp.pets.services.UserService      : Inicia proceso de borrar el usuario con id = 51
Hibernate: delete from message_entity me1_0
Hibernate: delete from notification_entity ne1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
2026-05-14T22:57:54.550Z  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.740 s -- in co.edu.udistrital.mdp.pets.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
2026-05-14T22:57:54.557Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest]: TrialCohabitationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:54.561Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:54.577Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Starting TrialCohabitationServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:54.577Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:54.632Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:54.658Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:54.669Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:54.676Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:3a2024d9-7e2d-4200-8a21-658b40560001;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:54.689Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:54.691Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:54.697Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:54.698Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:54.698Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@6a5b5d2f']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:54.804Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:54.821Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:54.949Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationServiceTest : Started TrialCohabitationServiceTest in 0.386 seconds (process running for 30.606)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:54.964Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Delete trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:54.978Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search trial cohabitation with id = 0
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:54.993Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Delete trial cohabitation
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.007Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search trial cohabitation with id = 10
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.020Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Search all trial cohabitations
Hibernate: select tce1_0.id,tce1_1.adoption_request_id,tce1_1.creation_date,tce1_1.pet_id,tce1_1.id,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.035Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Create trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.048Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Updating trial cohabitation
Hibernate: select tce1_0.id,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,tce1_1.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.adoption_process_id,rc1_0.details,rc1_0.reason,rc1_0.return_date,tce1_1.status,tce1_0.approved,tce1_0.end_date,tce1_0.notes,tce1_0.start_date from trial_cohabitation_entity tce1_0 join adoption_process_entity tce1_1 on tce1_0.id=tce1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=tce1_1.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=tce1_1.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on tce1_1.id=rc1_0.adoption_process_id where tce1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.061Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Create trial cohabitation
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.074Z  INFO 71 --- [           main] c.e.u.m.p.s.TrialCohabitationService     : Updating trial cohabitation
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.087Z  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.534 s -- in co.edu.udistrital.mdp.pets.services.TrialCohabitationServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest
2026-05-14T22:57:55.092Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest]: ReturnCaseServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:55.095Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:55.107Z  INFO 71 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : Starting ReturnCaseServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:55.107Z  INFO 71 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:55.159Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:55.178Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:55.188Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:55.195Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:cddabef2-be8d-4c60-9dd8-f9a27eccd334;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:55.208Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:55.209Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:55.215Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:55.216Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:55.216Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@1cef3ba8']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:55.317Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:55.333Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:55.438Z  INFO 71 --- [           main] c.e.u.m.p.s.ReturnCaseServiceTest        : Started ReturnCaseServiceTest in 0.34 seconds (process running for 31.094)
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.445Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar el caso de devolución con id = 1
2026-05-14T22:57:55.446Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de consultar el caso de devolución con id = 1
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.452Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.459Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 8
2026-05-14T22:57:55.459Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de borrar el caso de devolución con id = 8
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.464Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar todos los casos de devolución
Hibernate: select rce1_0.id,rce1_0.adoption_process_id,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.471Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de actualizar el caso de devolución con id = 13
2026-05-14T22:57:55.471Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Termina proceso de actualizar el caso de devolución con id = 13
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
2026-05-14T22:57:55.478Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de borrar el caso de devolución con id = 16
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.483Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de creación del caso de devolución
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.488Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de actualizar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.494Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de consultar el caso de devolución con id = 0
Hibernate: select rce1_0.id,ap1_0.id,case when ap1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ap1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,ap1_0.status,ap1_1.approved,ap1_1.end_date,ap1_1.notes,ap1_1.start_date,rce1_0.details,rce1_0.reason,rce1_0.return_date from return_case_entity rce1_0 left join adoption_process_entity ap1_0 on ap1_0.id=rce1_0.adoption_process_id left join trial_cohabitation_entity ap1_1 on ap1_0.id=ap1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ap1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ap1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id where rce1_0.id=?
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.500Z  INFO 71 --- [           main] c.e.u.m.pets.services.ReturnCaseService  : Inicia proceso de creación del caso de devolución
2026-05-14T22:57:55.501Z  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.411 s -- in co.edu.udistrital.mdp.pets.services.ReturnCaseServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest
2026-05-14T22:57:55.504Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest]: AdoptionProcessServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:55.508Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:55.520Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : Starting AdoptionProcessServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:55.520Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:55.571Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:55.589Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:55.599Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:55.606Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:84f1bff1-caad-491b-9f3b-b337fcc7074a;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:55.619Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:55.620Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:55.627Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:55.628Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:55.628Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2aa023bc']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:55.729Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:55.745Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:55.846Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessServiceTest   : Started AdoptionProcessServiceTest in 0.336 seconds (process running for 31.503)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into return_case_entity (adoption_process_id,details,reason,return_date,id) values (?,?,?,?,default)
2026-05-14T22:57:55.861Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.875Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.888Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.901Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.914Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.928Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search all adoption processes
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ape1_0.adoption_request_id,ape1_0.creation_date,ape1_0.pet_id,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.944Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Delete adoption process
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.958Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search adoption process with id = 23
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.971Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Updating adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.985Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Search adoption process with id = 0
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:55.999Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Create adoption process
Hibernate: insert into HT_adoption_process_entity(id) select tce1_0.id from trial_cohabitation_entity tce1_0
Hibernate: delete from trial_cohabitation_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from adoption_process_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adoption_process_entity temptable_)
Hibernate: delete from HT_adoption_process_entity
Hibernate: delete from trial_cohabitation_entity to_delete_
Hibernate: delete from adoption_process_entity ape1_0
Hibernate: delete from adoption_request_entity are1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_adopter_entity(id) select ae1_0.id from adopter_entity ae1_0
Hibernate: delete from adopter_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_adopter_entity temptable_)
Hibernate: delete from HT_adopter_entity
Hibernate: delete from shelter_entity se1_0
Hibernate: delete from return_case_entity rce1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopter_entity (address,city,housing_type,status,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
Hibernate: insert into adoption_process_entity (adoption_request_id,creation_date,pet_id,status,id) values (?,?,?,?,default)
Hibernate: insert into trial_cohabitation_entity (approved,end_date,notes,start_date,id) values (?,?,?,?,?)
Hibernate: insert into adoption_request_entity (adopter_id,comments,pet_id,request_date,status,id) values (?,?,?,?,?,default)
2026-05-14T22:57:56.011Z  INFO 71 --- [           main] c.e.u.m.p.s.AdoptionProcessService       : Updating adoption process
Hibernate: select ape1_0.id,case when ape1_1.id is not null then 1 end,ar1_0.id,a1_0.id,a1_1.email,a1_1.name,a1_1.password,a1_1.phone_number,a1_1.profile_image_url,a1_1.register_date,a1_0.address,a1_0.city,a1_0.housing_type,a1_0.status,ar1_0.comments,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,ar1_0.request_date,ar1_0.status,ape1_0.creation_date,p2_0.id,p2_0.born_date,p2_0.breed,p2_0.is_rescued,mh2_0.id,mh2_0.created_date,mh2_0.last_updated,v2_0.id,v2_1.email,v2_1.name,v2_1.password,v2_1.phone_number,v2_1.profile_image_url,v2_1.register_date,v2_0.availability_schedule,v2_0.license_number,s3_0.id,s3_0.address,s3_0.city,s3_0.description,s3_0.location_details,s3_0.nit,s3_0.phone_number,s3_0.shelter_name,s3_0.status,s3_0.website_url,p2_0.name,p2_0.origin_location,p2_0.photo,p2_0.sex,s4_0.id,s4_0.address,s4_0.city,s4_0.description,s4_0.location_details,s4_0.nit,s4_0.phone_number,s4_0.shelter_name,s4_0.status,s4_0.website_url,p2_0.size,p2_0.species,p2_0.specific_needs,p2_0.status,p2_0.temperament,rc1_0.id,rc1_0.details,rc1_0.reason,rc1_0.return_date,ape1_0.status,ape1_1.approved,ape1_1.end_date,ape1_1.notes,ape1_1.start_date from adoption_process_entity ape1_0 left join trial_cohabitation_entity ape1_1 on ape1_0.id=ape1_1.id left join adoption_request_entity ar1_0 on ar1_0.id=ape1_0.adoption_request_id left join adopter_entity a1_0 on a1_0.id=ar1_0.adopter_id left join user_entity a1_1 on a1_0.id=a1_1.id left join pet_entity p1_0 on p1_0.id=ar1_0.pet_id left join medical_history_entity mh1_0 on p1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=p1_0.shelter_id left join pet_entity p2_0 on p2_0.id=ape1_0.pet_id left join medical_history_entity mh2_0 on p2_0.id=mh2_0.pet_id left join veterinarian_entity v2_0 on v2_0.id=mh2_0.veterinarian_id left join user_entity v2_1 on v2_0.id=v2_1.id left join shelter_entity s3_0 on s3_0.id=v2_0.shelter_id left join shelter_entity s4_0 on s4_0.id=p2_0.shelter_id left join return_case_entity rc1_0 on ape1_0.id=rc1_0.adoption_process_id where ape1_0.id=?
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.510 s -- in co.edu.udistrital.mdp.pets.services.AdoptionProcessServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest
2026-05-14T22:57:56.016Z  INFO 71 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest]: MedicalHistoryServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-14T22:57:56.020Z  INFO 71 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::               (v3.5.12)

2026-05-14T22:57:56.031Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : Starting MedicalHistoryServiceTest using Java 21.0.4 with PID 71 (started by root in /home/cecaduser/workspace/MP_202610_G81_E2_Back)
2026-05-14T22:57:56.032Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : No active profile set, falling back to 1 default profile: "default"
2026-05-14T22:57:56.081Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-14T22:57:56.100Z  INFO 71 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 21 JPA repository interfaces.
2026-05-14T22:57:56.109Z  INFO 71 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-14T22:57:56.116Z  INFO 71 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:7ad81a1f-b902-46d6-9f30-5695f05c6601;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-14T22:57:56.128Z  INFO 71 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-14T22:57:56.130Z  INFO 71 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-05-14T22:57:56.137Z  INFO 71 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-14T22:57:56.138Z  WARN 71 --- [           main] org.hibernate.orm.deprecation            : HHH90000025: H2Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default)
2026-05-14T22:57:56.138Z  INFO 71 --- [           main] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@2b87cc8c']
	Database driver: undefined/unknown
	Database version: 2.3.232
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
Hibernate: create global temporary table HT_adoption_process_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adoption_process_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_trial_cohabitation_entity(approved boolean, creation_date date, end_date date, start_date date, HTE_IDENTITY bigint generated by default as identity, adoption_request_id bigint, id bigint, pet_id bigint, notes varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HTE_user_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, address varchar(255), availability_schedule varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_veterinarian_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_veterinarian_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), shelter_id bigint, availability_schedule varchar(255), email varchar(255), license_number varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_adopter_entity(id bigint not null, primary key (id)) TRANSACTIONAL
Hibernate: create global temporary table HTE_adopter_entity(HTE_IDENTITY bigint generated by default as identity, id bigint, register_date timestamp(6), address varchar(255), city varchar(255), email varchar(255), housing_type varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), status varchar(255), primary key (HTE_IDENTITY)) TRANSACTIONAL
Hibernate: create global temporary table HT_user_entity(id bigint not null, primary key (id)) TRANSACTIONAL
2026-05-14T22:57:56.238Z  INFO 71 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
Hibernate: drop table if exists adopter_entity cascade 
Hibernate: drop table if exists adoption_entity cascade 
Hibernate: drop table if exists adoption_process_entity cascade 
Hibernate: drop table if exists adoption_request_entity cascade 
Hibernate: drop table if exists infection_entity cascade 
Hibernate: drop table if exists medical_event_entity cascade 
Hibernate: drop table if exists medical_history_entity cascade 
Hibernate: drop table if exists medication_entity cascade 
Hibernate: drop table if exists message_entity cascade 
Hibernate: drop table if exists notification_entity cascade 
Hibernate: drop table if exists pet_entity cascade 
Hibernate: drop table if exists procedure_entity cascade 
Hibernate: drop table if exists return_case_entity cascade 
Hibernate: drop table if exists review_entity cascade 
Hibernate: drop table if exists shelter_entity cascade 
Hibernate: drop table if exists shelter_media_entity cascade 
Hibernate: drop table if exists trial_cohabitation_entity cascade 
Hibernate: drop table if exists user_entity cascade 
Hibernate: drop table if exists vaccine_entry_entity cascade 
Hibernate: drop table if exists vet_speciality_relation cascade 
Hibernate: drop table if exists veterinarian_entity cascade 
Hibernate: drop table if exists vet_speciality_entity cascade 
Hibernate: create table adopter_entity (id bigint not null, address varchar(255), city varchar(255), housing_type varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_entity (contract_signed boolean, official_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, shelter_id bigint, trial_cohabitation_id bigint unique, status enum ('APPROVED','COMPLETED','IN_TRIAL','REJECTED','REQUESTED','RETURNED'), primary key (id))
Hibernate: create table adoption_process_entity (creation_date date, adoption_request_id bigint unique, id bigint generated by default as identity, pet_id bigint, status varchar(255), primary key (id))
Hibernate: create table adoption_request_entity (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, comments varchar(255), status varchar(255), primary key (id))
Hibernate: create table infection_entity (diagnosis_date date, recovery_date date, id bigint generated by default as identity, medical_history_id bigint, description varchar(255), infection_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table medical_event_entity (event_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), event_type varchar(255), primary key (id))
Hibernate: create table medical_history_entity (created_date date, last_updated date, id bigint generated by default as identity, pet_id bigint unique, veterinarian_id bigint, primary key (id))
Hibernate: create table medication_entity (end_date date, start_date date, id bigint generated by default as identity, medical_history_id bigint, dosage varchar(255), frequency varchar(255), medication_name varchar(255), notes varchar(255), primary key (id))
Hibernate: create table message_entity (active boolean, is_read boolean, id bigint generated by default as identity, receiver_id bigint, sender_id bigint, sent_at timestamp(6), content varchar(255), primary key (id))
Hibernate: create table notification_entity (is_read boolean, created_at timestamp(6), id bigint generated by default as identity, user_id bigint, content varchar(255), title varchar(255), primary key (id))
Hibernate: create table pet_entity (born_date date, is_rescued boolean, id bigint generated by default as identity, shelter_id bigint, breed varchar(255), name varchar(255), origin_location varchar(255), photo varchar(255), sex varchar(255), size varchar(255), species varchar(255), specific_needs varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table procedure_entity (procedure_date date, id bigint generated by default as identity, medical_history_id bigint, veterinarian_id bigint, description varchar(255), outcome varchar(255), procedure_name varchar(255), primary key (id))
Hibernate: create table return_case_entity (return_date date, adoption_process_id bigint unique, id bigint generated by default as identity, details varchar(255), reason varchar(255), primary key (id))
Hibernate: create table review_entity (is_success_story boolean, rating integer, review_date date, adopter_id bigint, adoption_process_id bigint, id bigint generated by default as identity, shelter_id bigint, comment varchar(255), primary key (id))
Hibernate: create table shelter_entity (id bigint generated by default as identity, address varchar(255), city varchar(255), description varchar(255), location_details varchar(255), nit varchar(255), phone_number varchar(255), shelter_name varchar(255), status varchar(255), website_url varchar(255), primary key (id))
Hibernate: create table shelter_media_entity (id bigint generated by default as identity, shelter_id bigint, description varchar(255), media_type varchar(255), media_url varchar(255), primary key (id))
Hibernate: create table trial_cohabitation_entity (approved boolean, end_date date, start_date date, id bigint not null, notes varchar(255), primary key (id))
Hibernate: create table user_entity (id bigint generated by default as identity, register_date timestamp(6), email varchar(255), name varchar(255), password varchar(255), phone_number varchar(255), profile_image_url varchar(255), primary key (id))
Hibernate: create table vaccine_entry_entity (admin_date date, next_due_date date, id bigint generated by default as identity, medical_history_id bigint, vaccine_name varchar(255), primary key (id))
Hibernate: create table vet_speciality_relation (speciality_id bigint not null, vet_id bigint not null)
Hibernate: create table veterinarian_entity (id bigint not null, shelter_id bigint, availability_schedule varchar(255), license_number varchar(255), primary key (id))
Hibernate: create table vet_speciality_entity (id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_entity add constraint FKitj2sdxcctxrw6ql04jny7l9y foreign key (id) references user_entity
Hibernate: alter table if exists adoption_entity add constraint FK224d1qenh6y54c9lq828mmgx foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_entity add constraint FKqmviggw0khaskxup4cg7bvqku foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_entity add constraint FKo3nnp24udak9f2od6w902a4k9 foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists adoption_entity add constraint FK8x0rs5b3npfj9w92mh30nhdd5 foreign key (trial_cohabitation_id) references trial_cohabitation_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK1wpy6iv96dq7w9my6g9bl77gi foreign key (adoption_request_id) references adoption_request_entity
Hibernate: alter table if exists adoption_process_entity add constraint FK72me1bmmr6kq9uqkueiybt921 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists adoption_request_entity add constraint FK90j2qmgnqst03l9x6fpwf0aab foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists adoption_request_entity add constraint FKhanslcvxoi0t9cq07vsyerx7d foreign key (pet_id) references pet_entity
Hibernate: alter table if exists infection_entity add constraint FKm6c59e1trlxkqaa6sd4u2puh3 foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKloam0wk3hbpns9awx08v8ttty foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists medical_event_entity add constraint FKmx3l6boot15lqesauq3y2k5t9 foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medical_history_entity add constraint FKfqo1kwpy0eom46u48u9i9ob79 foreign key (pet_id) references pet_entity
Hibernate: alter table if exists medical_history_entity add constraint FKnur7g43m7dj3kc7bq5q33v0eo foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists medication_entity add constraint FK6cm2p5q6njs5g7hsgvq57ii0y foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists message_entity add constraint FKf1eboma4d9p0wlj48qwpd2ban foreign key (receiver_id) references user_entity
Hibernate: alter table if exists message_entity add constraint FKchngvnhlot2wncosjrnmd1qjp foreign key (sender_id) references user_entity
Hibernate: alter table if exists notification_entity add constraint FKgemicmmtfy225vqj5li4u96lk foreign key (user_id) references user_entity
Hibernate: alter table if exists pet_entity add constraint FK57h1lsq9l67lcsx43ftwwto1c foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists procedure_entity add constraint FKdnj7qey1xxrp1xo38lx59tyjv foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists procedure_entity add constraint FKes6alp6l9k9i00228vsx0uvat foreign key (veterinarian_id) references veterinarian_entity
Hibernate: alter table if exists return_case_entity add constraint FKq5oky202hvs0kv9upfkolmn88 foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FK8w6fpunff42r2ytatsjbb4o96 foreign key (adopter_id) references adopter_entity
Hibernate: alter table if exists review_entity add constraint FKg0jyjvg2qkjrywc3aib0r7iqq foreign key (adoption_process_id) references adoption_process_entity
Hibernate: alter table if exists review_entity add constraint FKrt9pkjnacboa4fc7ug82wm7cw foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists shelter_media_entity add constraint FK6couwlbflod3yxf2r9yu7augk foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists trial_cohabitation_entity add constraint FK15m52vl1kqpw9j5fsv1osa8jx foreign key (id) references adoption_process_entity
Hibernate: alter table if exists vaccine_entry_entity add constraint FKiljjk4cjlbiilp7fohur5nf5g foreign key (medical_history_id) references medical_history_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FK6hx84a5ij49rxm81pmx8t6mq7 foreign key (speciality_id) references vet_speciality_entity
Hibernate: alter table if exists vet_speciality_relation add constraint FKco5ttqfls718a193w5l2np2oe foreign key (vet_id) references veterinarian_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKe8xa1wxe967urrvxsxpdm8y8r foreign key (shelter_id) references shelter_entity
Hibernate: alter table if exists veterinarian_entity add constraint FKl5lutaqpbd2jrfrerhn6a9g69 foreign key (id) references user_entity
2026-05-14T22:57:56.253Z  INFO 71 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-14T22:57:56.412Z  INFO 71 --- [           main] c.e.u.m.p.s.MedicalHistoryServiceTest    : Started MedicalHistoryServiceTest in 0.391 seconds (process running for 32.069)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select ve1_0.id,ve1_1.email,ve1_1.name,ve1_1.password,ve1_1.phone_number,ve1_1.profile_image_url,ve1_1.register_date,ve1_0.availability_schedule,ve1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url from veterinarian_entity ve1_0 join user_entity ve1_1 on ve1_0.id=ve1_1.id left join shelter_entity s1_0 on s1_0.id=ve1_0.shelter_id where ve1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id where p1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,mhe1_0.pet_id,mhe1_0.veterinarian_id from medical_history_entity mhe1_0
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select mhe1_0.id,mhe1_0.created_date,mhe1_0.last_updated,p1_0.id,p1_0.born_date,p1_0.breed,p1_0.is_rescued,p1_0.name,p1_0.origin_location,p1_0.photo,p1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,p1_0.size,p1_0.species,p1_0.specific_needs,p1_0.status,p1_0.temperament,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url from medical_history_entity mhe1_0 left join pet_entity p1_0 on p1_0.id=mhe1_0.pet_id left join shelter_entity s1_0 on s1_0.id=p1_0.shelter_id left join veterinarian_entity v1_0 on v1_0.id=mhe1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s2_0 on s2_0.id=v1_0.shelter_id where mhe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: select pe1_0.id,pe1_0.born_date,pe1_0.breed,pe1_0.is_rescued,mh1_0.id,mh1_0.created_date,mh1_0.last_updated,v1_0.id,v1_1.email,v1_1.name,v1_1.password,v1_1.phone_number,v1_1.profile_image_url,v1_1.register_date,v1_0.availability_schedule,v1_0.license_number,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.location_details,s1_0.nit,s1_0.phone_number,s1_0.shelter_name,s1_0.status,s1_0.website_url,pe1_0.name,pe1_0.origin_location,pe1_0.photo,pe1_0.sex,s2_0.id,s2_0.address,s2_0.city,s2_0.description,s2_0.location_details,s2_0.nit,s2_0.phone_number,s2_0.shelter_name,s2_0.status,s2_0.website_url,pe1_0.size,pe1_0.species,pe1_0.specific_needs,pe1_0.status,pe1_0.temperament from pet_entity pe1_0 left join medical_history_entity mh1_0 on pe1_0.id=mh1_0.pet_id left join veterinarian_entity v1_0 on v1_0.id=mh1_0.veterinarian_id left join user_entity v1_1 on v1_0.id=v1_1.id left join shelter_entity s1_0 on s1_0.id=v1_0.shelter_id left join shelter_entity s2_0 on s2_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from medical_history_entity mhe1_0
Hibernate: delete from pet_entity pe1_0
Hibernate: insert into HT_veterinarian_entity(id) select ve1_0.id from veterinarian_entity ve1_0
Hibernate: delete from vet_speciality_relation to_delete_ where to_delete_.vet_id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from veterinarian_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from user_entity to_delete_ where to_delete_.id in (select temptable_.id from HT_veterinarian_entity temptable_)
Hibernate: delete from HT_veterinarian_entity
Hibernate: delete from vet_speciality_relation to_delete_
Hibernate: delete from veterinarian_entity to_delete_
Hibernate: delete from adopter_entity to_delete_
Hibernate: delete from user_entity ue1_0
Hibernate: delete from shelter_entity se1_0
Hibernate: insert into shelter_entity (address,city,description,location_details,nit,phone_number,shelter_name,status,website_url,id) values (?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into user_entity (email,name,password,phone_number,profile_image_url,register_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarian_entity (availability_schedule,license_number,shelter_id,id) values (?,?,?,?)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into pet_entity (born_date,breed,is_rescued,name,origin_location,photo,sex,shelter_id,size,species,specific_needs,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
Hibernate: insert into medical_history_entity (created_date,last_updated,pet_id,veterinarian_id,id) values (?,?,?,?,default)
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.609 s -- in co.edu.udistrital.mdp.pets.services.MedicalHistoryServiceTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 307, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.144 s
[INFO] Finished at: 2026-05-14T22:57:57Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 dc5314075e0bb34de15383514b63b15787a5c6006f8b90b11a354f0762baf966
$ docker rm -f --volumes dc5314075e0bb34de15383514b63b15787a5c6006f8b90b11a354f0762baf966
[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 a812913e5f21256df1d304460b3184f526e2d9a9d6f52e14ab022dd292988c05 -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): 4.6 kB
Progress (1): 9.7 kB
Progress (1): 14 kB 
Progress (2): 14 kB | 3.1 kB
Progress (2): 14 kB | 7.7 kB
Progress (2): 14 kB | 12 kB 
                           
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 21 kB/s)
Progress (1): 17 kB
Progress (1): 20 kB
Progress (1): 21 kB
                   
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 27 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] 22:58:04.806 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] 22:58:04.816 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 22:58:04.816 Linux 6.17.0-23-generic (amd64)
[INFO] 22:58:04.856 User cache: /root/.sonar/cache
[ERROR] 22:58:34.918 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.160 s
[INFO] Finished at: 2026-05-14T22:58:34Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project MP_202610_G81_E2_Back: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Connect timed out -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
$ docker stop --time=1 a812913e5f21256df1d304460b3184f526e2d9a9d6f52e14ab022dd292988c05
$ docker rm -f --volumes a812913e5f21256df1d304460b3184f526e2d9a9d6f52e14ab022dd292988c05
[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
ERROR: script returned exit code 1
Finished: FAILURE