Console Output
Skipping 493 KB..
Full Loghelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adopters (address,first_name,has_children,has_other_pets,housing_type,last_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:31.758Z INFO 73 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Iniciando creación de adopción
Hibernate: delete from adoptions ae1_0
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from adopter_preferences to_delete_
Hibernate: delete from adopters ae1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into adopters (address,first_name,has_children,has_other_pets,housing_type,last_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adoptions (adopter_id,adoption_date,pet_id,status,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into adopters (address,first_name,has_children,has_other_pets,housing_type,last_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adoptions (adopter_id,adoption_date,pet_id,status,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into adopters (address,first_name,has_children,has_other_pets,housing_type,last_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into adoptions (adopter_id,adoption_date,pet_id,status,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
Hibernate: insert into adopter_preferences (adopter_id,preference) values (?,?)
2026-05-03T01:22:31.813Z INFO 73 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Intentando eliminar adopción con ID: 32
2026-05-03T01:22:31.813Z WARN 73 --- [ main] c.e.u.mdp.pets.services.AdoptionService : Intento fallido de eliminar adopción no finalizada: 32
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.737 s -- in co.edu.udistrital.mdp.pets.services.AdoptionServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ShelterServiceTest
2026-05-03T01:22:31.820Z INFO 73 --- [ 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-03T01:22:31.826Z INFO 73 --- [ 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.10)
2026-05-03T01:22:31.843Z INFO 73 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Starting ShelterServiceTest using Java 21.0.4 with PID 73 (started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back)
2026-05-03T01:22:31.843Z INFO 73 --- [ main] c.e.u.m.p.services.ShelterServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-03T01:22:31.914Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-03T01:22:31.934Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 18 JPA repository interfaces.
2026-05-03T01:22:31.948Z INFO 73 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-03T01:22:31.958Z INFO 73 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1254208d-a5eb-4d41-bbc5-24ed9bdc86b4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-03T01:22:31.972Z INFO 73 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-03T01:22:31.974Z INFO 73 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-03T01:22:31.982Z INFO 73 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-03T01:22:31.983Z WARN 73 --- [ 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-03T01:22:31.984Z INFO 73 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5d6d613d']
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-03T01:22:32.079Z INFO 73 --- [ 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_preferences cascade
Hibernate: drop table if exists adopters cascade
Hibernate: drop table if exists adoption_histories cascade
Hibernate: drop table if exists adoption_requests cascade
Hibernate: drop table if exists adoption_trackings cascade
Hibernate: drop table if exists adoptions cascade
Hibernate: drop table if exists devolutions cascade
Hibernate: drop table if exists medical_event_entity_attachments cascade
Hibernate: drop table if exists medical_events cascade
Hibernate: drop table if exists messages cascade
Hibernate: drop table if exists notifications cascade
Hibernate: drop table if exists pet_entity_photos cascade
Hibernate: drop table if exists pets cascade
Hibernate: drop table if exists reports cascade
Hibernate: drop table if exists reviews cascade
Hibernate: drop table if exists shelter_events cascade
Hibernate: drop table if exists shelter_photos cascade
Hibernate: drop table if exists shelter_videos cascade
Hibernate: drop table if exists shelters cascade
Hibernate: drop table if exists trial_stays cascade
Hibernate: drop table if exists users cascade
Hibernate: drop table if exists vaccination_records cascade
Hibernate: drop table if exists vaccines cascade
Hibernate: drop table if exists vet_specialties cascade
Hibernate: drop table if exists veterinarians cascade
Hibernate: create table adopter_preferences (adopter_id bigint not null, preference varchar(255))
Hibernate: create table adopters (has_children boolean, has_other_pets boolean, id bigint generated by default as identity, address varchar(255), first_name varchar(255) not null, housing_type varchar(255), last_name varchar(255) not null, primary key (id))
Hibernate: create table adoption_histories (date date, adoption_id bigint, id bigint generated by default as identity, detail varchar(255), reason varchar(255), primary key (id))
Hibernate: create table adoption_requests (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, motivation varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_trackings (next_review date, adoption_id bigint, id bigint generated by default as identity, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoptions (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, status varchar(255), primary key (id))
Hibernate: create table devolutions (return_date date, adoption_id bigint, id bigint generated by default as identity, detailed_description TEXT, pet_state varchar(255), reason varchar(255), primary key (id))
Hibernate: create table medical_event_entity_attachments (medical_event_entity_id bigint not null, attachment varchar(255))
Hibernate: create table medical_events (event_date date, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table messages (is_read boolean, id bigint generated by default as identity, recipient_id bigint, sender_id bigint, timestamp timestamp(6), content TEXT, recipient_type varchar(255), sender_type varchar(255), subject varchar(255), primary key (id))
Hibernate: create table notifications (is_read boolean not null, id bigint generated by default as identity, timestamp timestamp(6) not null, user_id bigint not null, notification_type varchar(50) not null, user_type varchar(50) not null, related_entity varchar(100), message TEXT not null, primary key (id))
Hibernate: create table pet_entity_photos (pet_entity_id bigint not null, photos varchar(255))
Hibernate: create table pets (age integer not null, arrival_date date, id bigint generated by default as identity, shelter_id bigint, arrival_history TEXT, breed varchar(255), name varchar(255), sex varchar(255), size varchar(255), special_needs TEXT, species varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table reports (end_date date, generation_date date, start_date date, id bigint generated by default as identity, shelter_id bigint, data TEXT, report_type varchar(255), primary key (id))
Hibernate: create table reviews (rating integer, review_date date, adopter_id bigint, adoption_id bigint unique, id bigint generated by default as identity, comments TEXT, primary key (id))
Hibernate: create table shelter_events (max_capacity integer, registered_count integer, event_code bigint unique, event_date timestamp(6), id bigint generated by default as identity, shelter_id bigint, description TEXT, event_type varchar(255), location varchar(255), title varchar(255), primary key (id))
Hibernate: create table shelter_photos (shelter_id bigint not null, photo_url varchar(255))
Hibernate: create table shelter_videos (shelter_id bigint not null, video_url varchar(255))
Hibernate: create table shelters (id bigint generated by default as identity, address varchar(255), city varchar(255), description TEXT, email varchar(255), name varchar(255), phone varchar(255), primary key (id))
Hibernate: create table trial_stays (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, observations TEXT, result varchar(255), primary key (id))
Hibernate: create table users (id bigint generated by default as identity, phone varchar(20), email varchar(100) not null unique, name varchar(100) not null, primary key (id))
Hibernate: create table vaccination_records (id bigint generated by default as identity, pet_id bigint, primary key (id))
Hibernate: create table vaccines (application_date date, next_application_date date, id bigint generated by default as identity, vaccination_record_id bigint, batch_number varchar(255), observations TEXT, vaccine_name varchar(255) not null, primary key (id))
Hibernate: create table vet_specialties (vet_id bigint not null, specialty varchar(255))
Hibernate: create table veterinarians (id bigint generated by default as identity, shelter_id bigint not null, veterinarian_id_business bigint not null unique, availability varchar(255), last_name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_preferences add constraint FKly3f73mw116fi5yh447efv6vi foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_histories add constraint FKs9t3wscq97r0oms2tafe4jt5g foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoption_requests add constraint FKmry1xhx5vfu0efgw7wwelw376 foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_requests add constraint FKnbrvxfu9ncpliue6x29ohsyno foreign key (pet_id) references pets
Hibernate: alter table if exists adoption_requests add constraint FKfe077kidtyrf1ex2gtohvfbi8 foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists adoption_trackings add constraint FKpi269w8qdc8n4fb1h7mtuw5d7 foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoptions add constraint FKpyc8mq4cj893brg8gf9lq0mko foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoptions add constraint FKey4s7xb6gkguogi15tytsi706 foreign key (pet_id) references pets
Hibernate: alter table if exists adoptions add constraint FKgxlnefs7yrio994t0v1gtn26w foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists devolutions add constraint FKlberui1wp06v7rk2egmmpyl2c foreign key (adoption_id) references adoptions
Hibernate: alter table if exists medical_event_entity_attachments add constraint FKjui55xy3h7cgsbao5y0cfp7o0 foreign key (medical_event_entity_id) references medical_events
Hibernate: alter table if exists medical_events add constraint FKsprj1jeophve05dwagdtb348f foreign key (pet_id) references pets
Hibernate: alter table if exists medical_events add constraint FK66kg3v9vhj20vojttueoxjkvj foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists pet_entity_photos add constraint FKg1px23au2f2rwspy1fofkmh92 foreign key (pet_entity_id) references pets
Hibernate: alter table if exists pets add constraint FKcia4g747ywfkmssqfa0dghtxa foreign key (shelter_id) references shelters
Hibernate: alter table if exists reports add constraint FKp6qcftsyloqwo1ka8ye3o0tuu foreign key (shelter_id) references shelters
Hibernate: alter table if exists reviews add constraint FKngqtme1dav7fkxlffvt4rjevw foreign key (adopter_id) references adopters
Hibernate: alter table if exists reviews add constraint FKkwqumvta35wgg9u29th25pnng foreign key (adoption_id) references adoptions
Hibernate: alter table if exists shelter_events add constraint FKgejumj603irg8klosem8lsvq3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_photos add constraint FKdpa3n1lx5mh8ddfgex36bfw7b foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_videos add constraint FK6mxvp0qkt1x5kjhpchi7i1pn3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists trial_stays add constraint FKsd3sd5vdr6mm7w2fojsb4e9qj foreign key (adoption_id) references adoptions
Hibernate: alter table if exists trial_stays add constraint FKipq0ulfm9tvegmelqw7w9txin foreign key (pet_id) references pets
Hibernate: alter table if exists vaccination_records add constraint FKspacg17yvnaras9bs6t61uoq9 foreign key (pet_id) references pets
Hibernate: alter table if exists vaccines add constraint FKgv1172jsfkhxpusikruh8wh8m foreign key (vaccination_record_id) references vaccination_records
Hibernate: alter table if exists vet_specialties add constraint FKq9rebel4ncwgu0ml3p5f2gpa foreign key (vet_id) references veterinarians
Hibernate: alter table if exists veterinarians add constraint FKhu2dbj87wnwmmvxsxnr0yyop0 foreign key (shelter_id) references shelters
2026-05-03T01:22:32.107Z INFO 73 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-03T01:22:32.207Z INFO 73 --- [ main] c.e.u.m.p.services.ShelterServiceTest : Started ShelterServiceTest in 0.379 seconds (process running for 19.36)
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.221Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.233Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 4
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.245Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: null
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.255Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.264Z INFO 73 --- [ 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.email,se1_0.name,se1_0.phone from shelters se1_0 where se1_0.id=?
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.275Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 16
2026-05-03T01:22:32.276Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Shelter deleted successfully
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.286Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.296Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-05-03T01:22:32.307Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Deleting shelter with id: 25
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.317Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Searching shelter with id: 28
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.329Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.339Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.350Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Updating shelter with id: 1
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:32.360Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ShelterService : Creating shelter entity
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.545 s -- in co.edu.udistrital.mdp.pets.services.ShelterServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.PetServiceTest
2026-05-03T01:22:32.366Z INFO 73 --- [ 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-03T01:22:32.371Z INFO 73 --- [ 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.10)
2026-05-03T01:22:32.400Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Starting PetServiceTest using Java 21.0.4 with PID 73 (started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back)
2026-05-03T01:22:32.400Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-03T01:22:32.457Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-03T01:22:32.477Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 18 JPA repository interfaces.
2026-05-03T01:22:32.490Z INFO 73 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-03T01:22:32.499Z INFO 73 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:ad4878e9-b9eb-4df0-a943-b1e4c907fd99;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-03T01:22:32.513Z INFO 73 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-03T01:22:32.514Z INFO 73 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-03T01:22:32.521Z INFO 73 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-03T01:22:32.522Z WARN 73 --- [ 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-03T01:22:32.523Z INFO 73 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@64699409']
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-03T01:22:32.610Z INFO 73 --- [ 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_preferences cascade
Hibernate: drop table if exists adopters cascade
Hibernate: drop table if exists adoption_histories cascade
Hibernate: drop table if exists adoption_requests cascade
Hibernate: drop table if exists adoption_trackings cascade
Hibernate: drop table if exists adoptions cascade
Hibernate: drop table if exists devolutions cascade
Hibernate: drop table if exists medical_event_entity_attachments cascade
Hibernate: drop table if exists medical_events cascade
Hibernate: drop table if exists messages cascade
Hibernate: drop table if exists notifications cascade
Hibernate: drop table if exists pet_entity_photos cascade
Hibernate: drop table if exists pets cascade
Hibernate: drop table if exists reports cascade
Hibernate: drop table if exists reviews cascade
Hibernate: drop table if exists shelter_events cascade
Hibernate: drop table if exists shelter_photos cascade
Hibernate: drop table if exists shelter_videos cascade
Hibernate: drop table if exists shelters cascade
Hibernate: drop table if exists trial_stays cascade
Hibernate: drop table if exists users cascade
Hibernate: drop table if exists vaccination_records cascade
Hibernate: drop table if exists vaccines cascade
Hibernate: drop table if exists vet_specialties cascade
Hibernate: drop table if exists veterinarians cascade
Hibernate: create table adopter_preferences (adopter_id bigint not null, preference varchar(255))
Hibernate: create table adopters (has_children boolean, has_other_pets boolean, id bigint generated by default as identity, address varchar(255), first_name varchar(255) not null, housing_type varchar(255), last_name varchar(255) not null, primary key (id))
Hibernate: create table adoption_histories (date date, adoption_id bigint, id bigint generated by default as identity, detail varchar(255), reason varchar(255), primary key (id))
Hibernate: create table adoption_requests (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, motivation varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_trackings (next_review date, adoption_id bigint, id bigint generated by default as identity, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoptions (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, status varchar(255), primary key (id))
Hibernate: create table devolutions (return_date date, adoption_id bigint, id bigint generated by default as identity, detailed_description TEXT, pet_state varchar(255), reason varchar(255), primary key (id))
Hibernate: create table medical_event_entity_attachments (medical_event_entity_id bigint not null, attachment varchar(255))
Hibernate: create table medical_events (event_date date, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table messages (is_read boolean, id bigint generated by default as identity, recipient_id bigint, sender_id bigint, timestamp timestamp(6), content TEXT, recipient_type varchar(255), sender_type varchar(255), subject varchar(255), primary key (id))
Hibernate: create table notifications (is_read boolean not null, id bigint generated by default as identity, timestamp timestamp(6) not null, user_id bigint not null, notification_type varchar(50) not null, user_type varchar(50) not null, related_entity varchar(100), message TEXT not null, primary key (id))
Hibernate: create table pet_entity_photos (pet_entity_id bigint not null, photos varchar(255))
Hibernate: create table pets (age integer not null, arrival_date date, id bigint generated by default as identity, shelter_id bigint, arrival_history TEXT, breed varchar(255), name varchar(255), sex varchar(255), size varchar(255), special_needs TEXT, species varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table reports (end_date date, generation_date date, start_date date, id bigint generated by default as identity, shelter_id bigint, data TEXT, report_type varchar(255), primary key (id))
Hibernate: create table reviews (rating integer, review_date date, adopter_id bigint, adoption_id bigint unique, id bigint generated by default as identity, comments TEXT, primary key (id))
Hibernate: create table shelter_events (max_capacity integer, registered_count integer, event_code bigint unique, event_date timestamp(6), id bigint generated by default as identity, shelter_id bigint, description TEXT, event_type varchar(255), location varchar(255), title varchar(255), primary key (id))
Hibernate: create table shelter_photos (shelter_id bigint not null, photo_url varchar(255))
Hibernate: create table shelter_videos (shelter_id bigint not null, video_url varchar(255))
Hibernate: create table shelters (id bigint generated by default as identity, address varchar(255), city varchar(255), description TEXT, email varchar(255), name varchar(255), phone varchar(255), primary key (id))
Hibernate: create table trial_stays (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, observations TEXT, result varchar(255), primary key (id))
Hibernate: create table users (id bigint generated by default as identity, phone varchar(20), email varchar(100) not null unique, name varchar(100) not null, primary key (id))
Hibernate: create table vaccination_records (id bigint generated by default as identity, pet_id bigint, primary key (id))
Hibernate: create table vaccines (application_date date, next_application_date date, id bigint generated by default as identity, vaccination_record_id bigint, batch_number varchar(255), observations TEXT, vaccine_name varchar(255) not null, primary key (id))
Hibernate: create table vet_specialties (vet_id bigint not null, specialty varchar(255))
Hibernate: create table veterinarians (id bigint generated by default as identity, shelter_id bigint not null, veterinarian_id_business bigint not null unique, availability varchar(255), last_name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_preferences add constraint FKly3f73mw116fi5yh447efv6vi foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_histories add constraint FKs9t3wscq97r0oms2tafe4jt5g foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoption_requests add constraint FKmry1xhx5vfu0efgw7wwelw376 foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_requests add constraint FKnbrvxfu9ncpliue6x29ohsyno foreign key (pet_id) references pets
Hibernate: alter table if exists adoption_requests add constraint FKfe077kidtyrf1ex2gtohvfbi8 foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists adoption_trackings add constraint FKpi269w8qdc8n4fb1h7mtuw5d7 foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoptions add constraint FKpyc8mq4cj893brg8gf9lq0mko foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoptions add constraint FKey4s7xb6gkguogi15tytsi706 foreign key (pet_id) references pets
Hibernate: alter table if exists adoptions add constraint FKgxlnefs7yrio994t0v1gtn26w foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists devolutions add constraint FKlberui1wp06v7rk2egmmpyl2c foreign key (adoption_id) references adoptions
Hibernate: alter table if exists medical_event_entity_attachments add constraint FKjui55xy3h7cgsbao5y0cfp7o0 foreign key (medical_event_entity_id) references medical_events
Hibernate: alter table if exists medical_events add constraint FKsprj1jeophve05dwagdtb348f foreign key (pet_id) references pets
Hibernate: alter table if exists medical_events add constraint FK66kg3v9vhj20vojttueoxjkvj foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists pet_entity_photos add constraint FKg1px23au2f2rwspy1fofkmh92 foreign key (pet_entity_id) references pets
Hibernate: alter table if exists pets add constraint FKcia4g747ywfkmssqfa0dghtxa foreign key (shelter_id) references shelters
Hibernate: alter table if exists reports add constraint FKp6qcftsyloqwo1ka8ye3o0tuu foreign key (shelter_id) references shelters
Hibernate: alter table if exists reviews add constraint FKngqtme1dav7fkxlffvt4rjevw foreign key (adopter_id) references adopters
Hibernate: alter table if exists reviews add constraint FKkwqumvta35wgg9u29th25pnng foreign key (adoption_id) references adoptions
Hibernate: alter table if exists shelter_events add constraint FKgejumj603irg8klosem8lsvq3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_photos add constraint FKdpa3n1lx5mh8ddfgex36bfw7b foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_videos add constraint FK6mxvp0qkt1x5kjhpchi7i1pn3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists trial_stays add constraint FKsd3sd5vdr6mm7w2fojsb4e9qj foreign key (adoption_id) references adoptions
Hibernate: alter table if exists trial_stays add constraint FKipq0ulfm9tvegmelqw7w9txin foreign key (pet_id) references pets
Hibernate: alter table if exists vaccination_records add constraint FKspacg17yvnaras9bs6t61uoq9 foreign key (pet_id) references pets
Hibernate: alter table if exists vaccines add constraint FKgv1172jsfkhxpusikruh8wh8m foreign key (vaccination_record_id) references vaccination_records
Hibernate: alter table if exists vet_specialties add constraint FKq9rebel4ncwgu0ml3p5f2gpa foreign key (vet_id) references veterinarians
Hibernate: alter table if exists veterinarians add constraint FKhu2dbj87wnwmmvxsxnr0yyop0 foreign key (shelter_id) references shelters
2026-05-03T01:22:32.636Z INFO 73 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-03T01:22:32.733Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetServiceTest : Started PetServiceTest in 0.346 seconds (process running for 19.886)
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.751Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Updating pet with ID: 1
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.765Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Searching all pets...
Hibernate: select pe1_0.id,pe1_0.age,pe1_0.arrival_date,pe1_0.arrival_history,pe1_0.breed,pe1_0.name,pe1_0.sex,pe1_0.shelter_id,pe1_0.size,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pets pe1_0
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.781Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Attempting to delete pet with ID: 7
2026-05-03T01:22:32.781Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Pet with ID: 7 deleted successfully
Hibernate: delete from pet_entity_photos where pet_entity_id=?
Hibernate: delete from pets where id=?
Hibernate: select pe1_0.id,pe1_0.age,pe1_0.arrival_date,pe1_0.arrival_history,pe1_0.breed,pe1_0.name,pe1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.email,s1_0.name,s1_0.phone,pe1_0.size,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pets pe1_0 left join shelters s1_0 on s1_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.796Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Searching pet with ID: 999
Hibernate: select pe1_0.id,pe1_0.age,pe1_0.arrival_date,pe1_0.arrival_history,pe1_0.breed,pe1_0.name,pe1_0.sex,s1_0.id,s1_0.address,s1_0.city,s1_0.description,s1_0.email,s1_0.name,s1_0.phone,pe1_0.size,pe1_0.special_needs,pe1_0.species,pe1_0.status,pe1_0.temperament from pets pe1_0 left join shelters s1_0 on s1_0.id=pe1_0.shelter_id where pe1_0.id=?
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.811Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Iniciando creación de mascota...
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.824Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Iniciando creación de mascota...
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
2026-05-03T01:22:32.825Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Pet created with ID: 19
Hibernate: delete from pet_entity_photos to_delete_
Hibernate: delete from pets pe1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into pets (age,arrival_date,arrival_history,breed,name,sex,shelter_id,size,special_needs,species,status,temperament,id) values (?,?,?,?,?,?,?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
Hibernate: insert into pet_entity_photos (pet_entity_id,photos) values (?,?)
2026-05-03T01:22:32.839Z INFO 73 --- [ main] c.e.u.mdp.pets.services.PetService : Searching pet with ID: 20
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.477 s -- in co.edu.udistrital.mdp.pets.services.PetServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
2026-05-03T01:22:32.844Z INFO 73 --- [ 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-03T01:22:32.849Z INFO 73 --- [ 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.10)
2026-05-03T01:22:32.865Z INFO 73 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Starting VeterinarianServiceTest using Java 21.0.4 with PID 73 (started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back)
2026-05-03T01:22:32.865Z INFO 73 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-03T01:22:32.940Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-03T01:22:32.963Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 18 JPA repository interfaces.
2026-05-03T01:22:32.977Z INFO 73 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-03T01:22:32.988Z INFO 73 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b4870af3-3e4d-41f1-9901-c26b57515cd8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-03T01:22:33.004Z INFO 73 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-03T01:22:33.006Z INFO 73 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-03T01:22:33.014Z INFO 73 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-03T01:22:33.015Z WARN 73 --- [ 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-03T01:22:33.016Z INFO 73 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@12ff6605']
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-03T01:22:33.114Z INFO 73 --- [ 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_preferences cascade
Hibernate: drop table if exists adopters cascade
Hibernate: drop table if exists adoption_histories cascade
Hibernate: drop table if exists adoption_requests cascade
Hibernate: drop table if exists adoption_trackings cascade
Hibernate: drop table if exists adoptions cascade
Hibernate: drop table if exists devolutions cascade
Hibernate: drop table if exists medical_event_entity_attachments cascade
Hibernate: drop table if exists medical_events cascade
Hibernate: drop table if exists messages cascade
Hibernate: drop table if exists notifications cascade
Hibernate: drop table if exists pet_entity_photos cascade
Hibernate: drop table if exists pets cascade
Hibernate: drop table if exists reports cascade
Hibernate: drop table if exists reviews cascade
Hibernate: drop table if exists shelter_events cascade
Hibernate: drop table if exists shelter_photos cascade
Hibernate: drop table if exists shelter_videos cascade
Hibernate: drop table if exists shelters cascade
Hibernate: drop table if exists trial_stays cascade
Hibernate: drop table if exists users cascade
Hibernate: drop table if exists vaccination_records cascade
Hibernate: drop table if exists vaccines cascade
Hibernate: drop table if exists vet_specialties cascade
Hibernate: drop table if exists veterinarians cascade
Hibernate: create table adopter_preferences (adopter_id bigint not null, preference varchar(255))
Hibernate: create table adopters (has_children boolean, has_other_pets boolean, id bigint generated by default as identity, address varchar(255), first_name varchar(255) not null, housing_type varchar(255), last_name varchar(255) not null, primary key (id))
Hibernate: create table adoption_histories (date date, adoption_id bigint, id bigint generated by default as identity, detail varchar(255), reason varchar(255), primary key (id))
Hibernate: create table adoption_requests (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, motivation varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_trackings (next_review date, adoption_id bigint, id bigint generated by default as identity, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoptions (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, status varchar(255), primary key (id))
Hibernate: create table devolutions (return_date date, adoption_id bigint, id bigint generated by default as identity, detailed_description TEXT, pet_state varchar(255), reason varchar(255), primary key (id))
Hibernate: create table medical_event_entity_attachments (medical_event_entity_id bigint not null, attachment varchar(255))
Hibernate: create table medical_events (event_date date, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table messages (is_read boolean, id bigint generated by default as identity, recipient_id bigint, sender_id bigint, timestamp timestamp(6), content TEXT, recipient_type varchar(255), sender_type varchar(255), subject varchar(255), primary key (id))
Hibernate: create table notifications (is_read boolean not null, id bigint generated by default as identity, timestamp timestamp(6) not null, user_id bigint not null, notification_type varchar(50) not null, user_type varchar(50) not null, related_entity varchar(100), message TEXT not null, primary key (id))
Hibernate: create table pet_entity_photos (pet_entity_id bigint not null, photos varchar(255))
Hibernate: create table pets (age integer not null, arrival_date date, id bigint generated by default as identity, shelter_id bigint, arrival_history TEXT, breed varchar(255), name varchar(255), sex varchar(255), size varchar(255), special_needs TEXT, species varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table reports (end_date date, generation_date date, start_date date, id bigint generated by default as identity, shelter_id bigint, data TEXT, report_type varchar(255), primary key (id))
Hibernate: create table reviews (rating integer, review_date date, adopter_id bigint, adoption_id bigint unique, id bigint generated by default as identity, comments TEXT, primary key (id))
Hibernate: create table shelter_events (max_capacity integer, registered_count integer, event_code bigint unique, event_date timestamp(6), id bigint generated by default as identity, shelter_id bigint, description TEXT, event_type varchar(255), location varchar(255), title varchar(255), primary key (id))
Hibernate: create table shelter_photos (shelter_id bigint not null, photo_url varchar(255))
Hibernate: create table shelter_videos (shelter_id bigint not null, video_url varchar(255))
Hibernate: create table shelters (id bigint generated by default as identity, address varchar(255), city varchar(255), description TEXT, email varchar(255), name varchar(255), phone varchar(255), primary key (id))
Hibernate: create table trial_stays (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, observations TEXT, result varchar(255), primary key (id))
Hibernate: create table users (id bigint generated by default as identity, phone varchar(20), email varchar(100) not null unique, name varchar(100) not null, primary key (id))
Hibernate: create table vaccination_records (id bigint generated by default as identity, pet_id bigint, primary key (id))
Hibernate: create table vaccines (application_date date, next_application_date date, id bigint generated by default as identity, vaccination_record_id bigint, batch_number varchar(255), observations TEXT, vaccine_name varchar(255) not null, primary key (id))
Hibernate: create table vet_specialties (vet_id bigint not null, specialty varchar(255))
Hibernate: create table veterinarians (id bigint generated by default as identity, shelter_id bigint not null, veterinarian_id_business bigint not null unique, availability varchar(255), last_name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_preferences add constraint FKly3f73mw116fi5yh447efv6vi foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_histories add constraint FKs9t3wscq97r0oms2tafe4jt5g foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoption_requests add constraint FKmry1xhx5vfu0efgw7wwelw376 foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_requests add constraint FKnbrvxfu9ncpliue6x29ohsyno foreign key (pet_id) references pets
Hibernate: alter table if exists adoption_requests add constraint FKfe077kidtyrf1ex2gtohvfbi8 foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists adoption_trackings add constraint FKpi269w8qdc8n4fb1h7mtuw5d7 foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoptions add constraint FKpyc8mq4cj893brg8gf9lq0mko foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoptions add constraint FKey4s7xb6gkguogi15tytsi706 foreign key (pet_id) references pets
Hibernate: alter table if exists adoptions add constraint FKgxlnefs7yrio994t0v1gtn26w foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists devolutions add constraint FKlberui1wp06v7rk2egmmpyl2c foreign key (adoption_id) references adoptions
Hibernate: alter table if exists medical_event_entity_attachments add constraint FKjui55xy3h7cgsbao5y0cfp7o0 foreign key (medical_event_entity_id) references medical_events
Hibernate: alter table if exists medical_events add constraint FKsprj1jeophve05dwagdtb348f foreign key (pet_id) references pets
Hibernate: alter table if exists medical_events add constraint FK66kg3v9vhj20vojttueoxjkvj foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists pet_entity_photos add constraint FKg1px23au2f2rwspy1fofkmh92 foreign key (pet_entity_id) references pets
Hibernate: alter table if exists pets add constraint FKcia4g747ywfkmssqfa0dghtxa foreign key (shelter_id) references shelters
Hibernate: alter table if exists reports add constraint FKp6qcftsyloqwo1ka8ye3o0tuu foreign key (shelter_id) references shelters
Hibernate: alter table if exists reviews add constraint FKngqtme1dav7fkxlffvt4rjevw foreign key (adopter_id) references adopters
Hibernate: alter table if exists reviews add constraint FKkwqumvta35wgg9u29th25pnng foreign key (adoption_id) references adoptions
Hibernate: alter table if exists shelter_events add constraint FKgejumj603irg8klosem8lsvq3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_photos add constraint FKdpa3n1lx5mh8ddfgex36bfw7b foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_videos add constraint FK6mxvp0qkt1x5kjhpchi7i1pn3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists trial_stays add constraint FKsd3sd5vdr6mm7w2fojsb4e9qj foreign key (adoption_id) references adoptions
Hibernate: alter table if exists trial_stays add constraint FKipq0ulfm9tvegmelqw7w9txin foreign key (pet_id) references pets
Hibernate: alter table if exists vaccination_records add constraint FKspacg17yvnaras9bs6t61uoq9 foreign key (pet_id) references pets
Hibernate: alter table if exists vaccines add constraint FKgv1172jsfkhxpusikruh8wh8m foreign key (vaccination_record_id) references vaccination_records
Hibernate: alter table if exists vet_specialties add constraint FKq9rebel4ncwgu0ml3p5f2gpa foreign key (vet_id) references veterinarians
Hibernate: alter table if exists veterinarians add constraint FKhu2dbj87wnwmmvxsxnr0yyop0 foreign key (shelter_id) references shelters
2026-05-03T01:22:33.141Z INFO 73 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-03T01:22:33.268Z INFO 73 --- [ main] c.e.u.m.p.s.VeterinarianServiceTest : Started VeterinarianServiceTest in 0.417 seconds (process running for 20.421)
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.284Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Actualizando veterinario con ID: 1
2026-05-03T01:22:33.284Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 1
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.299Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Creando nuevo veterinario
2026-05-03T01:22:33.299Z ERROR 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Especialidad inválida detectada: Neurology
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.310Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 7
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into adoptions (adopter_id,adoption_date,pet_id,status,veterinarian_id,id) values (?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
2026-05-03T01:22:33.325Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Eliminando veterinario con ID: 10
2026-05-03T01:22:33.326Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 10
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.adoption_date,ae1_0.pet_id,ae1_0.status,ae1_0.veterinarian_id from adoptions ae1_0 left join veterinarians v1_0 on v1_0.id=ae1_0.veterinarian_id where v1_0.id=?
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.342Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Eliminando veterinario con ID: 13
2026-05-03T01:22:33.343Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 13
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
Hibernate: insert into vet_specialties (vet_id,specialty) values (?,?)
Hibernate: select ae1_0.id,ae1_0.adopter_id,ae1_0.adoption_date,ae1_0.pet_id,ae1_0.status,ae1_0.veterinarian_id from adoptions ae1_0 left join veterinarians v1_0 on v1_0.id=ae1_0.veterinarian_id where v1_0.id=?
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.359Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 0
Hibernate: select ve1_0.id,ve1_0.availability,ve1_0.last_name,ve1_0.shelter_id,ve1_0.veterinarian_id_business,s2_0.vet_id,s2_0.specialty from veterinarians ve1_0 left join vet_specialties s2_0 on ve1_0.id=s2_0.vet_id where ve1_0.id=?
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.371Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Actualizando veterinario con ID: 19
2026-05-03T01:22:33.371Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Buscando veterinario con ID: 19
2026-05-03T01:22:33.372Z ERROR 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Especialidad inválida detectada: Uf82O4Sd1E
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.381Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Creando nuevo veterinario
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: delete from vet_specialties to_delete_
Hibernate: delete from veterinarians ve1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
Hibernate: insert into veterinarians (availability,last_name,shelter_id,veterinarian_id_business,id) values (?,?,?,?,default)
2026-05-03T01:22:33.391Z INFO 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Creando nuevo veterinario
2026-05-03T01:22:33.391Z ERROR 73 --- [ main] c.e.u.m.p.services.VeterinarianService : Especialidad inválida detectada: U5XfaqQAB4
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.550 s -- in co.edu.udistrital.mdp.pets.services.VeterinarianServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.ReportServiceTest
2026-05-03T01:22:33.396Z INFO 73 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.ReportServiceTest]: ReportServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-03T01:22:33.400Z INFO 73 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.ReportServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.10)
2026-05-03T01:22:33.417Z INFO 73 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Starting ReportServiceTest using Java 21.0.4 with PID 73 (started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back)
2026-05-03T01:22:33.417Z INFO 73 --- [ main] c.e.u.m.pets.services.ReportServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-03T01:22:33.473Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-03T01:22:33.492Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 18 JPA repository interfaces.
2026-05-03T01:22:33.504Z INFO 73 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-03T01:22:33.513Z INFO 73 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:d8b219a6-f9c5-41b0-88bf-9a90dd8a6f80;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-03T01:22:33.527Z INFO 73 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-03T01:22:33.528Z INFO 73 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-03T01:22:33.536Z INFO 73 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-03T01:22:33.537Z WARN 73 --- [ 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-03T01:22:33.537Z INFO 73 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@5743f4b4']
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-03T01:22:33.621Z INFO 73 --- [ 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_preferences cascade
Hibernate: drop table if exists adopters cascade
Hibernate: drop table if exists adoption_histories cascade
Hibernate: drop table if exists adoption_requests cascade
Hibernate: drop table if exists adoption_trackings cascade
Hibernate: drop table if exists adoptions cascade
Hibernate: drop table if exists devolutions cascade
Hibernate: drop table if exists medical_event_entity_attachments cascade
Hibernate: drop table if exists medical_events cascade
Hibernate: drop table if exists messages cascade
Hibernate: drop table if exists notifications cascade
Hibernate: drop table if exists pet_entity_photos cascade
Hibernate: drop table if exists pets cascade
Hibernate: drop table if exists reports cascade
Hibernate: drop table if exists reviews cascade
Hibernate: drop table if exists shelter_events cascade
Hibernate: drop table if exists shelter_photos cascade
Hibernate: drop table if exists shelter_videos cascade
Hibernate: drop table if exists shelters cascade
Hibernate: drop table if exists trial_stays cascade
Hibernate: drop table if exists users cascade
Hibernate: drop table if exists vaccination_records cascade
Hibernate: drop table if exists vaccines cascade
Hibernate: drop table if exists vet_specialties cascade
Hibernate: drop table if exists veterinarians cascade
Hibernate: create table adopter_preferences (adopter_id bigint not null, preference varchar(255))
Hibernate: create table adopters (has_children boolean, has_other_pets boolean, id bigint generated by default as identity, address varchar(255), first_name varchar(255) not null, housing_type varchar(255), last_name varchar(255) not null, primary key (id))
Hibernate: create table adoption_histories (date date, adoption_id bigint, id bigint generated by default as identity, detail varchar(255), reason varchar(255), primary key (id))
Hibernate: create table adoption_requests (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, motivation varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_trackings (next_review date, adoption_id bigint, id bigint generated by default as identity, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoptions (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, status varchar(255), primary key (id))
Hibernate: create table devolutions (return_date date, adoption_id bigint, id bigint generated by default as identity, detailed_description TEXT, pet_state varchar(255), reason varchar(255), primary key (id))
Hibernate: create table medical_event_entity_attachments (medical_event_entity_id bigint not null, attachment varchar(255))
Hibernate: create table medical_events (event_date date, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table messages (is_read boolean, id bigint generated by default as identity, recipient_id bigint, sender_id bigint, timestamp timestamp(6), content TEXT, recipient_type varchar(255), sender_type varchar(255), subject varchar(255), primary key (id))
Hibernate: create table notifications (is_read boolean not null, id bigint generated by default as identity, timestamp timestamp(6) not null, user_id bigint not null, notification_type varchar(50) not null, user_type varchar(50) not null, related_entity varchar(100), message TEXT not null, primary key (id))
Hibernate: create table pet_entity_photos (pet_entity_id bigint not null, photos varchar(255))
Hibernate: create table pets (age integer not null, arrival_date date, id bigint generated by default as identity, shelter_id bigint, arrival_history TEXT, breed varchar(255), name varchar(255), sex varchar(255), size varchar(255), special_needs TEXT, species varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table reports (end_date date, generation_date date, start_date date, id bigint generated by default as identity, shelter_id bigint, data TEXT, report_type varchar(255), primary key (id))
Hibernate: create table reviews (rating integer, review_date date, adopter_id bigint, adoption_id bigint unique, id bigint generated by default as identity, comments TEXT, primary key (id))
Hibernate: create table shelter_events (max_capacity integer, registered_count integer, event_code bigint unique, event_date timestamp(6), id bigint generated by default as identity, shelter_id bigint, description TEXT, event_type varchar(255), location varchar(255), title varchar(255), primary key (id))
Hibernate: create table shelter_photos (shelter_id bigint not null, photo_url varchar(255))
Hibernate: create table shelter_videos (shelter_id bigint not null, video_url varchar(255))
Hibernate: create table shelters (id bigint generated by default as identity, address varchar(255), city varchar(255), description TEXT, email varchar(255), name varchar(255), phone varchar(255), primary key (id))
Hibernate: create table trial_stays (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, observations TEXT, result varchar(255), primary key (id))
Hibernate: create table users (id bigint generated by default as identity, phone varchar(20), email varchar(100) not null unique, name varchar(100) not null, primary key (id))
Hibernate: create table vaccination_records (id bigint generated by default as identity, pet_id bigint, primary key (id))
Hibernate: create table vaccines (application_date date, next_application_date date, id bigint generated by default as identity, vaccination_record_id bigint, batch_number varchar(255), observations TEXT, vaccine_name varchar(255) not null, primary key (id))
Hibernate: create table vet_specialties (vet_id bigint not null, specialty varchar(255))
Hibernate: create table veterinarians (id bigint generated by default as identity, shelter_id bigint not null, veterinarian_id_business bigint not null unique, availability varchar(255), last_name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_preferences add constraint FKly3f73mw116fi5yh447efv6vi foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_histories add constraint FKs9t3wscq97r0oms2tafe4jt5g foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoption_requests add constraint FKmry1xhx5vfu0efgw7wwelw376 foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_requests add constraint FKnbrvxfu9ncpliue6x29ohsyno foreign key (pet_id) references pets
Hibernate: alter table if exists adoption_requests add constraint FKfe077kidtyrf1ex2gtohvfbi8 foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists adoption_trackings add constraint FKpi269w8qdc8n4fb1h7mtuw5d7 foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoptions add constraint FKpyc8mq4cj893brg8gf9lq0mko foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoptions add constraint FKey4s7xb6gkguogi15tytsi706 foreign key (pet_id) references pets
Hibernate: alter table if exists adoptions add constraint FKgxlnefs7yrio994t0v1gtn26w foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists devolutions add constraint FKlberui1wp06v7rk2egmmpyl2c foreign key (adoption_id) references adoptions
Hibernate: alter table if exists medical_event_entity_attachments add constraint FKjui55xy3h7cgsbao5y0cfp7o0 foreign key (medical_event_entity_id) references medical_events
Hibernate: alter table if exists medical_events add constraint FKsprj1jeophve05dwagdtb348f foreign key (pet_id) references pets
Hibernate: alter table if exists medical_events add constraint FK66kg3v9vhj20vojttueoxjkvj foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists pet_entity_photos add constraint FKg1px23au2f2rwspy1fofkmh92 foreign key (pet_entity_id) references pets
Hibernate: alter table if exists pets add constraint FKcia4g747ywfkmssqfa0dghtxa foreign key (shelter_id) references shelters
Hibernate: alter table if exists reports add constraint FKp6qcftsyloqwo1ka8ye3o0tuu foreign key (shelter_id) references shelters
Hibernate: alter table if exists reviews add constraint FKngqtme1dav7fkxlffvt4rjevw foreign key (adopter_id) references adopters
Hibernate: alter table if exists reviews add constraint FKkwqumvta35wgg9u29th25pnng foreign key (adoption_id) references adoptions
Hibernate: alter table if exists shelter_events add constraint FKgejumj603irg8klosem8lsvq3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_photos add constraint FKdpa3n1lx5mh8ddfgex36bfw7b foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_videos add constraint FK6mxvp0qkt1x5kjhpchi7i1pn3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists trial_stays add constraint FKsd3sd5vdr6mm7w2fojsb4e9qj foreign key (adoption_id) references adoptions
Hibernate: alter table if exists trial_stays add constraint FKipq0ulfm9tvegmelqw7w9txin foreign key (pet_id) references pets
Hibernate: alter table if exists vaccination_records add constraint FKspacg17yvnaras9bs6t61uoq9 foreign key (pet_id) references pets
Hibernate: alter table if exists vaccines add constraint FKgv1172jsfkhxpusikruh8wh8m foreign key (vaccination_record_id) references vaccination_records
Hibernate: alter table if exists vet_specialties add constraint FKq9rebel4ncwgu0ml3p5f2gpa foreign key (vet_id) references veterinarians
Hibernate: alter table if exists veterinarians add constraint FKhu2dbj87wnwmmvxsxnr0yyop0 foreign key (shelter_id) references shelters
2026-05-03T01:22:33.643Z INFO 73 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-03T01:22:33.729Z INFO 73 --- [ main] c.e.u.m.pets.services.ReportServiceTest : Started ReportServiceTest in 0.326 seconds (process running for 20.882)
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:33.748Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Creating report
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
2026-05-03T01:22:33.782Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Updating report with id: 5
2026-05-03T01:22:33.782Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Searching report with id: 5
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
2026-05-03T01:22:33.797Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Deleting report with id: 8
2026-05-03T01:22:33.797Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Searching report with id: 8
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
2026-05-03T01:22:33.812Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Creating report
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
2026-05-03T01:22:33.825Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Searching report with id: 14
Hibernate: delete from reports re1_0
Hibernate: delete from shelter_photos to_delete_
Hibernate: delete from shelter_videos to_delete_
Hibernate: delete from shelters se1_0
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelters (address,city,description,email,name,phone,id) values (?,?,?,?,?,?,default)
Hibernate: insert into reports (data,end_date,generation_date,report_type,shelter_id,start_date,id) values (?,?,?,?,?,?,default)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_photos (shelter_id,photo_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
Hibernate: insert into shelter_videos (shelter_id,video_url) values (?,?)
2026-05-03T01:22:33.839Z INFO 73 --- [ main] c.e.u.mdp.pets.services.ReportService : Searching report with id: 999
Hibernate: select re1_0.id,re1_0.data,re1_0.end_date,re1_0.generation_date,re1_0.report_type,re1_0.shelter_id,re1_0.start_date from reports re1_0 where re1_0.id=?
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.448 s -- in co.edu.udistrital.mdp.pets.services.ReportServiceTest
[INFO] Running co.edu.udistrital.mdp.pets.services.VaccineServiceTest
2026-05-03T01:22:33.845Z INFO 73 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.pets.services.VaccineServiceTest]: VaccineServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-05-03T01:22:33.850Z INFO 73 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.pets.MainApplication for test class co.edu.udistrital.mdp.pets.services.VaccineServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.10)
2026-05-03T01:22:33.865Z INFO 73 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Starting VaccineServiceTest using Java 21.0.4 with PID 73 (started by root in /home/cecaduser/workspace/MP_202610_G81_E4_Back)
2026-05-03T01:22:33.865Z INFO 73 --- [ main] c.e.u.m.p.services.VaccineServiceTest : No active profile set, falling back to 1 default profile: "default"
2026-05-03T01:22:33.919Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-05-03T01:22:33.938Z INFO 73 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 18 JPA repository interfaces.
2026-05-03T01:22:33.950Z INFO 73 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2026-05-03T01:22:33.959Z INFO 73 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c885cc7b-4bab-4fd8-8611-64d44d02a988;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2026-05-03T01:22:33.972Z INFO 73 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-05-03T01:22:33.974Z INFO 73 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-05-03T01:22:33.980Z INFO 73 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-05-03T01:22:33.982Z WARN 73 --- [ 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-03T01:22:33.982Z INFO 73 --- [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory$EmbeddedDataSourceProxy@66261dc3']
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-03T01:22:34.064Z INFO 73 --- [ 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_preferences cascade
Hibernate: drop table if exists adopters cascade
Hibernate: drop table if exists adoption_histories cascade
Hibernate: drop table if exists adoption_requests cascade
Hibernate: drop table if exists adoption_trackings cascade
Hibernate: drop table if exists adoptions cascade
Hibernate: drop table if exists devolutions cascade
Hibernate: drop table if exists medical_event_entity_attachments cascade
Hibernate: drop table if exists medical_events cascade
Hibernate: drop table if exists messages cascade
Hibernate: drop table if exists notifications cascade
Hibernate: drop table if exists pet_entity_photos cascade
Hibernate: drop table if exists pets cascade
Hibernate: drop table if exists reports cascade
Hibernate: drop table if exists reviews cascade
Hibernate: drop table if exists shelter_events cascade
Hibernate: drop table if exists shelter_photos cascade
Hibernate: drop table if exists shelter_videos cascade
Hibernate: drop table if exists shelters cascade
Hibernate: drop table if exists trial_stays cascade
Hibernate: drop table if exists users cascade
Hibernate: drop table if exists vaccination_records cascade
Hibernate: drop table if exists vaccines cascade
Hibernate: drop table if exists vet_specialties cascade
Hibernate: drop table if exists veterinarians cascade
Hibernate: create table adopter_preferences (adopter_id bigint not null, preference varchar(255))
Hibernate: create table adopters (has_children boolean, has_other_pets boolean, id bigint generated by default as identity, address varchar(255), first_name varchar(255) not null, housing_type varchar(255), last_name varchar(255) not null, primary key (id))
Hibernate: create table adoption_histories (date date, adoption_id bigint, id bigint generated by default as identity, detail varchar(255), reason varchar(255), primary key (id))
Hibernate: create table adoption_requests (request_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, motivation varchar(255), status varchar(255), primary key (id))
Hibernate: create table adoption_trackings (next_review date, adoption_id bigint, id bigint generated by default as identity, frequency varchar(255), notes varchar(255), primary key (id))
Hibernate: create table adoptions (adoption_date date, adopter_id bigint, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, status varchar(255), primary key (id))
Hibernate: create table devolutions (return_date date, adoption_id bigint, id bigint generated by default as identity, detailed_description TEXT, pet_state varchar(255), reason varchar(255), primary key (id))
Hibernate: create table medical_event_entity_attachments (medical_event_entity_id bigint not null, attachment varchar(255))
Hibernate: create table medical_events (event_date date, id bigint generated by default as identity, pet_id bigint, veterinarian_id bigint, description varchar(255), diagnosis varchar(255), event_type varchar(255), treatment varchar(255), primary key (id))
Hibernate: create table messages (is_read boolean, id bigint generated by default as identity, recipient_id bigint, sender_id bigint, timestamp timestamp(6), content TEXT, recipient_type varchar(255), sender_type varchar(255), subject varchar(255), primary key (id))
Hibernate: create table notifications (is_read boolean not null, id bigint generated by default as identity, timestamp timestamp(6) not null, user_id bigint not null, notification_type varchar(50) not null, user_type varchar(50) not null, related_entity varchar(100), message TEXT not null, primary key (id))
Hibernate: create table pet_entity_photos (pet_entity_id bigint not null, photos varchar(255))
Hibernate: create table pets (age integer not null, arrival_date date, id bigint generated by default as identity, shelter_id bigint, arrival_history TEXT, breed varchar(255), name varchar(255), sex varchar(255), size varchar(255), special_needs TEXT, species varchar(255), status varchar(255), temperament varchar(255), primary key (id))
Hibernate: create table reports (end_date date, generation_date date, start_date date, id bigint generated by default as identity, shelter_id bigint, data TEXT, report_type varchar(255), primary key (id))
Hibernate: create table reviews (rating integer, review_date date, adopter_id bigint, adoption_id bigint unique, id bigint generated by default as identity, comments TEXT, primary key (id))
Hibernate: create table shelter_events (max_capacity integer, registered_count integer, event_code bigint unique, event_date timestamp(6), id bigint generated by default as identity, shelter_id bigint, description TEXT, event_type varchar(255), location varchar(255), title varchar(255), primary key (id))
Hibernate: create table shelter_photos (shelter_id bigint not null, photo_url varchar(255))
Hibernate: create table shelter_videos (shelter_id bigint not null, video_url varchar(255))
Hibernate: create table shelters (id bigint generated by default as identity, address varchar(255), city varchar(255), description TEXT, email varchar(255), name varchar(255), phone varchar(255), primary key (id))
Hibernate: create table trial_stays (end_date date, start_date date, adoption_id bigint unique, id bigint generated by default as identity, pet_id bigint, observations TEXT, result varchar(255), primary key (id))
Hibernate: create table users (id bigint generated by default as identity, phone varchar(20), email varchar(100) not null unique, name varchar(100) not null, primary key (id))
Hibernate: create table vaccination_records (id bigint generated by default as identity, pet_id bigint, primary key (id))
Hibernate: create table vaccines (application_date date, next_application_date date, id bigint generated by default as identity, vaccination_record_id bigint, batch_number varchar(255), observations TEXT, vaccine_name varchar(255) not null, primary key (id))
Hibernate: create table vet_specialties (vet_id bigint not null, specialty varchar(255))
Hibernate: create table veterinarians (id bigint generated by default as identity, shelter_id bigint not null, veterinarian_id_business bigint not null unique, availability varchar(255), last_name varchar(255), primary key (id))
Hibernate: alter table if exists adopter_preferences add constraint FKly3f73mw116fi5yh447efv6vi foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_histories add constraint FKs9t3wscq97r0oms2tafe4jt5g foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoption_requests add constraint FKmry1xhx5vfu0efgw7wwelw376 foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoption_requests add constraint FKnbrvxfu9ncpliue6x29ohsyno foreign key (pet_id) references pets
Hibernate: alter table if exists adoption_requests add constraint FKfe077kidtyrf1ex2gtohvfbi8 foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists adoption_trackings add constraint FKpi269w8qdc8n4fb1h7mtuw5d7 foreign key (adoption_id) references adoptions
Hibernate: alter table if exists adoptions add constraint FKpyc8mq4cj893brg8gf9lq0mko foreign key (adopter_id) references adopters
Hibernate: alter table if exists adoptions add constraint FKey4s7xb6gkguogi15tytsi706 foreign key (pet_id) references pets
Hibernate: alter table if exists adoptions add constraint FKgxlnefs7yrio994t0v1gtn26w foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists devolutions add constraint FKlberui1wp06v7rk2egmmpyl2c foreign key (adoption_id) references adoptions
Hibernate: alter table if exists medical_event_entity_attachments add constraint FKjui55xy3h7cgsbao5y0cfp7o0 foreign key (medical_event_entity_id) references medical_events
Hibernate: alter table if exists medical_events add constraint FKsprj1jeophve05dwagdtb348f foreign key (pet_id) references pets
Hibernate: alter table if exists medical_events add constraint FK66kg3v9vhj20vojttueoxjkvj foreign key (veterinarian_id) references veterinarians
Hibernate: alter table if exists pet_entity_photos add constraint FKg1px23au2f2rwspy1fofkmh92 foreign key (pet_entity_id) references pets
Hibernate: alter table if exists pets add constraint FKcia4g747ywfkmssqfa0dghtxa foreign key (shelter_id) references shelters
Hibernate: alter table if exists reports add constraint FKp6qcftsyloqwo1ka8ye3o0tuu foreign key (shelter_id) references shelters
Hibernate: alter table if exists reviews add constraint FKngqtme1dav7fkxlffvt4rjevw foreign key (adopter_id) references adopters
Hibernate: alter table if exists reviews add constraint FKkwqumvta35wgg9u29th25pnng foreign key (adoption_id) references adoptions
Hibernate: alter table if exists shelter_events add constraint FKgejumj603irg8klosem8lsvq3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_photos add constraint FKdpa3n1lx5mh8ddfgex36bfw7b foreign key (shelter_id) references shelters
Hibernate: alter table if exists shelter_videos add constraint FK6mxvp0qkt1x5kjhpchi7i1pn3 foreign key (shelter_id) references shelters
Hibernate: alter table if exists trial_stays add constraint FKsd3sd5vdr6mm7w2fojsb4e9qj foreign key (adoption_id) references adoptions
Hibernate: alter table if exists trial_stays add constraint FKipq0ulfm9tvegmelqw7w9txin foreign key (pet_id) references pets
Hibernate: alter table if exists vaccination_records add constraint FKspacg17yvnaras9bs6t61uoq9 foreign key (pet_id) references pets
Hibernate: alter table if exists vaccines add constraint FKgv1172jsfkhxpusikruh8wh8m foreign key (vaccination_record_id) references vaccination_records
Hibernate: alter table if exists vet_specialties add constraint FKq9rebel4ncwgu0ml3p5f2gpa foreign key (vet_id) references veterinarians
Hibernate: alter table if exists veterinarians add constraint FKhu2dbj87wnwmmvxsxnr0yyop0 foreign key (shelter_id) references shelters
2026-05-03T01:22:34.085Z INFO 73 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-05-03T01:22:34.179Z INFO 73 --- [ main] c.e.u.m.p.services.VaccineServiceTest : Started VaccineServiceTest in 0.327 seconds (process running for 21.332)
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.191Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Iniciando creación de vacuna: rabia
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.199Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Buscando vacuna con ID: 999
Hibernate: select ve1_0.id,ve1_0.application_date,ve1_0.batch_number,ve1_0.next_application_date,ve1_0.observations,ve1_0.vaccination_record_id,ve1_0.vaccine_name from vaccines ve1_0 where ve1_0.id=?
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.208Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Consultando todas las vacunas
Hibernate: select ve1_0.id,ve1_0.application_date,ve1_0.batch_number,ve1_0.next_application_date,ve1_0.observations,ve1_0.vaccination_record_id,ve1_0.vaccine_name from vaccines ve1_0
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
2026-05-03T01:22:34.219Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Iniciando creación de vacuna: Parvo
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.228Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Iniciando creación de vacuna: Parvo
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.237Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Actualizando vacuna con ID: 999
Hibernate: select ve1_0.id,ve1_0.application_date,ve1_0.batch_number,ve1_0.next_application_date,ve1_0.observations,ve1_0.vaccination_record_id,ve1_0.vaccine_name from vaccines ve1_0 where ve1_0.id=?
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.245Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Iniciando creación de vacuna: null
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.252Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Buscando vacuna con ID: 24
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.260Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Actualizando vacuna con ID: 27
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.267Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Eliminando vacuna con ID: 999
Hibernate: select ve1_0.id,ve1_0.application_date,ve1_0.batch_number,ve1_0.next_application_date,ve1_0.observations,ve1_0.vaccination_record_id,ve1_0.vaccine_name from vaccines ve1_0 where ve1_0.id=?
Hibernate: delete from vaccines ve1_0
Hibernate: delete from vaccination_records vre1_0
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
Hibernate: insert into vaccination_records (pet_id,id) values (?,default)
Hibernate: insert into vaccines (application_date,batch_number,next_application_date,observations,vaccination_record_id,vaccine_name,id) values (?,?,?,?,?,?,default)
2026-05-03T01:22:34.275Z INFO 73 --- [ main] c.e.u.mdp.pets.services.VaccineService : Eliminando vacuna con ID: 33
Hibernate: delete from vaccines where id=?
Hibernate: select ve1_0.id,ve1_0.application_date,ve1_0.batch_number,ve1_0.next_application_date,ve1_0.observations,ve1_0.vaccination_record_id,ve1_0.vaccine_name from vaccines ve1_0 where ve1_0.id=?
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.435 s -- in co.edu.udistrital.mdp.pets.services.VaccineServiceTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 148, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.495 s
[INFO] Finished at: 2026-05-03T01:22:34Z
[INFO] ------------------------------------------------------------------------