selected by default)
2025-10-13T02:38:16.174Z INFO 103 --- [ 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 branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
Hibernate: create table branch_entity (id bigint generated by default as identity, address varchar(255), name varchar(255), phone varchar(255), zone varchar(255), primary key (id))
Hibernate: create table multimedia_entity (branch_id bigint, id bigint generated by default as identity, product_id bigint, service_id bigint, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table notification_entity (date date, read boolean, id bigint generated by default as identity, message varchar(255), primary key (id))
Hibernate: create table order_detail_entity (quantity integer, subtotal float(53), id bigint generated by default as identity, order_id bigint, product_id bigint, primary key (id))
Hibernate: create table order_entity (discount float(53) not null, order_date date, total_amount float(53), id bigint generated by default as identity, user_id bigint, status varchar(255), primary key (id))
Hibernate: create table payment (amount float(53) not null, date timestamp(6), id bigint generated by default as identity, shopping_cart_id bigint, method varchar(255), status varchar(255), primary key (id))
Hibernate: create table person_entity (loyaltypoints integer, id bigint generated by default as identity, dtype varchar(31) not null, address varchar(255), email varchar(255), lastname varchar(255), name varchar(255), password varchar(255), telephone varchar(255), primary key (id))
Hibernate: create table person_entity_notifications (notifications_id bigint not null, users_id bigint not null)
Hibernate: create table product_entity (price float(53), stock integer, id bigint generated by default as identity, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table product_entity_shopping_carts (products_id bigint not null, shopping_carts_id bigint not null)
Hibernate: create table reservation_entity (end_time time(6), reservation_date date, start_time time(6), branch_id bigint, id bigint generated by default as identity, service_id bigint, user_id bigint, reservation_status varchar(255), primary key (id))
Hibernate: create table review_entity (rating integer, review_date date, id bigint generated by default as identity, service_id bigint, comments varchar(255), primary key (id))
Hibernate: create table service_entity (duration integer, price float(53), id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_entity_branches (branches_id bigint not null, services_id bigint not null)
Hibernate: create table shopping_cart_entity (total float(53) not null, id bigint generated by default as identity, user_id bigint unique, primary key (id))
Hibernate: alter table if exists multimedia_entity add constraint FK7ajjjqrdk0gnlrd411q076tlf foreign key (branch_id) references branch_entity
Hibernate: alter table if exists multimedia_entity add constraint FKdjmnd5gcrjru3glt9oj523qis foreign key (product_id) references product_entity
Hibernate: alter table if exists multimedia_entity add constraint FKs4m09gexde2gt7xs29hfv1wl7 foreign key (service_id) references service_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg2q4hs7aq9plvbq0hqba0b1xg foreign key (order_id) references order_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg8u6g80ebrefep6so6f9br7uv foreign key (product_id) references product_entity
Hibernate: alter table if exists order_entity add constraint FKp3exf04p4mi6l9jlj26gcovn0 foreign key (user_id) references person_entity
Hibernate: alter table if exists payment add constraint FKrtdu5kvmrbq6tmxxlgrh6xvuj foreign key (shopping_cart_id) references shopping_cart_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6qplyewbbuj4w0qwoes6xt2i0 foreign key (notifications_id) references notification_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6eu007syf8l6a1tsjog50rfki foreign key (users_id) references person_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKj8n5f0r91uuvyhdl48ebuac2u foreign key (shopping_carts_id) references shopping_cart_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKjughq4da4ac04ooafvmbfhh0v foreign key (products_id) references product_entity
Hibernate: alter table if exists reservation_entity add constraint FKjcm9qy7yvd8c3h1oyxrn73s73 foreign key (branch_id) references branch_entity
Hibernate: alter table if exists reservation_entity add constraint FK6hmidbe8cvu5iuma26lbk8awk foreign key (service_id) references service_entity
Hibernate: alter table if exists reservation_entity add constraint FK4dgqn2ddwohfuq9inltk5rj2u foreign key (user_id) references person_entity
Hibernate: alter table if exists review_entity add constraint FKh4bih63s2ylplbvgh9yopckld foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity_branches add constraint FK25p5c40endmpb10m66jvbxi20 foreign key (branches_id) references branch_entity
Hibernate: alter table if exists service_entity_branches add constraint FKhtcplpjkqoam2dbgq3kjyli27 foreign key (services_id) references service_entity
Hibernate: alter table if exists shopping_cart_entity add constraint FKjkio6l0f5mf8rec6gqk1jsyra foreign key (user_id) references person_entity
2025-10-13T02:38:16.204Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:16.362Z INFO 103 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : Started ProductShoppingCartServiceTest in 0.55 seconds (process running for 18.982)
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:16.384Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to associate shopping cart with id = 4 to product with id = 0
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.411Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to associate shopping cart with id = 0 to product with id = 2
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.431Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 8 from product with id = 0
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.449Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 11 from product with id = 4
2025-10-13T02:38:16.450Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to remove shopping cart with id = 11 from product with id = 4
Hibernate: delete from product_entity_shopping_carts where products_id=?
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: select sc1_0.products_id,sc1_1.id,sc1_1.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from product_entity_shopping_carts sc1_0 join shopping_cart_entity sc1_1 on sc1_1.id=sc1_0.shopping_carts_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_1.user_id where sc1_0.products_id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.473Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query shopping cart with id = 14 of product with id = 5
2025-10-13T02:38:16.474Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to query shopping cart with id = 14 of product with id = 5
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:16.496Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query shopping cart with id = 20 of product with id = 7
2025-10-13T02:38:16.496Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to query shopping cart with id = 20 of product with id = 7
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.513Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query shopping cart with id = 21 of product with id = 0
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:16.541Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to associate shopping cart with id = 27 to product with id = 10
2025-10-13T02:38:16.542Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to associate shopping cart with id = 27 to product with id = 10
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:16.565Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to replace shopping carts associated with product with id = 11
2025-10-13T02:38:16.566Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to replace shopping carts associated with product with id = 11
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.584Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query all shopping carts of product with id = 12
2025-10-13T02:38:16.585Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to query all shopping carts of product with id = 12
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:16.603Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to replace shopping carts associated with product with id = 0
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.621Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query all shopping carts of product with id = 0
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.638Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query shopping cart with id = 0 of product with id = 15
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.658Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 0 from product with id = 16
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.676Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 49 from product with id = 17
2025-10-13T02:38:16.677Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to remove shopping cart with id = 49 from product with id = 17
2025-10-13T02:38:16.677Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 50 from product with id = 17
2025-10-13T02:38:16.678Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to remove shopping cart with id = 50 from product with id = 17
2025-10-13T02:38:16.678Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to remove shopping cart with id = 51 from product with id = 17
2025-10-13T02:38:16.678Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to remove shopping cart with id = 51 from product with id = 17
2025-10-13T02:38:16.678Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query all shopping carts of product with id = 17
2025-10-13T02:38:16.679Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Finishing process to query all shopping carts of product with id = 17
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
Hibernate: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?)
2025-10-13T02:38:16.696Z INFO 103 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to replace shopping carts associated with product with id = 18
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.892 s - in co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.OrderServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:16.726Z INFO 103 --- [ main] c.e.u.m.back.services.OrderServiceTest : Starting OrderServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:16.726Z INFO 103 --- [ main] c.e.u.m.back.services.OrderServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-13T02:38:16.863Z INFO 103 --- [ main] c.e.u.m.back.services.OrderServiceTest : Started OrderServiceTest in 0.158 seconds (process running for 19.483)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.193 s - in co.edu.udistrital.mdp.back.services.OrderServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.MultimediaServiceTest
2025-10-13T02:38:16.905Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.MultimediaServiceTest]: MultimediaServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-13T02:38:16.911Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.MultimediaServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:16.927Z INFO 103 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : Starting MultimediaServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:16.927Z INFO 103 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-13T02:38:16.988Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-13T02:38:17.004Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-13T02:38:17.018Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-13T02:38:17.031Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c0aa7c60-cd19-4dc9-87eb-d3b6c95eadb7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-13T02:38:17.049Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-13T02:38:17.051Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-10-13T02:38:17.054Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-13T02:38:17.055Z WARN 103 --- [ 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)
2025-10-13T02:38:17.255Z INFO 103 --- [ 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 branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
Hibernate: create table branch_entity (id bigint generated by default as identity, address varchar(255), name varchar(255), phone varchar(255), zone varchar(255), primary key (id))
Hibernate: create table multimedia_entity (branch_id bigint, id bigint generated by default as identity, product_id bigint, service_id bigint, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table notification_entity (date date, read boolean, id bigint generated by default as identity, message varchar(255), primary key (id))
Hibernate: create table order_detail_entity (quantity integer, subtotal float(53), id bigint generated by default as identity, order_id bigint, product_id bigint, primary key (id))
Hibernate: create table order_entity (discount float(53) not null, order_date date, total_amount float(53), id bigint generated by default as identity, user_id bigint, status varchar(255), primary key (id))
Hibernate: create table payment (amount float(53) not null, date timestamp(6), id bigint generated by default as identity, shopping_cart_id bigint, method varchar(255), status varchar(255), primary key (id))
Hibernate: create table person_entity (loyaltypoints integer, id bigint generated by default as identity, dtype varchar(31) not null, address varchar(255), email varchar(255), lastname varchar(255), name varchar(255), password varchar(255), telephone varchar(255), primary key (id))
Hibernate: create table person_entity_notifications (notifications_id bigint not null, users_id bigint not null)
Hibernate: create table product_entity (price float(53), stock integer, id bigint generated by default as identity, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table product_entity_shopping_carts (products_id bigint not null, shopping_carts_id bigint not null)
Hibernate: create table reservation_entity (end_time time(6), reservation_date date, start_time time(6), branch_id bigint, id bigint generated by default as identity, service_id bigint, user_id bigint, reservation_status varchar(255), primary key (id))
Hibernate: create table review_entity (rating integer, review_date date, id bigint generated by default as identity, service_id bigint, comments varchar(255), primary key (id))
Hibernate: create table service_entity (duration integer, price float(53), id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_entity_branches (branches_id bigint not null, services_id bigint not null)
Hibernate: create table shopping_cart_entity (total float(53) not null, id bigint generated by default as identity, user_id bigint unique, primary key (id))
Hibernate: alter table if exists multimedia_entity add constraint FK7ajjjqrdk0gnlrd411q076tlf foreign key (branch_id) references branch_entity
Hibernate: alter table if exists multimedia_entity add constraint FKdjmnd5gcrjru3glt9oj523qis foreign key (product_id) references product_entity
Hibernate: alter table if exists multimedia_entity add constraint FKs4m09gexde2gt7xs29hfv1wl7 foreign key (service_id) references service_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg2q4hs7aq9plvbq0hqba0b1xg foreign key (order_id) references order_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg8u6g80ebrefep6so6f9br7uv foreign key (product_id) references product_entity
Hibernate: alter table if exists order_entity add constraint FKp3exf04p4mi6l9jlj26gcovn0 foreign key (user_id) references person_entity
Hibernate: alter table if exists payment add constraint FKrtdu5kvmrbq6tmxxlgrh6xvuj foreign key (shopping_cart_id) references shopping_cart_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6qplyewbbuj4w0qwoes6xt2i0 foreign key (notifications_id) references notification_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6eu007syf8l6a1tsjog50rfki foreign key (users_id) references person_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKj8n5f0r91uuvyhdl48ebuac2u foreign key (shopping_carts_id) references shopping_cart_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKjughq4da4ac04ooafvmbfhh0v foreign key (products_id) references product_entity
Hibernate: alter table if exists reservation_entity add constraint FKjcm9qy7yvd8c3h1oyxrn73s73 foreign key (branch_id) references branch_entity
Hibernate: alter table if exists reservation_entity add constraint FK6hmidbe8cvu5iuma26lbk8awk foreign key (service_id) references service_entity
Hibernate: alter table if exists reservation_entity add constraint FK4dgqn2ddwohfuq9inltk5rj2u foreign key (user_id) references person_entity
Hibernate: alter table if exists review_entity add constraint FKh4bih63s2ylplbvgh9yopckld foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity_branches add constraint FK25p5c40endmpb10m66jvbxi20 foreign key (branches_id) references branch_entity
Hibernate: alter table if exists service_entity_branches add constraint FKhtcplpjkqoam2dbgq3kjyli27 foreign key (services_id) references service_entity
Hibernate: alter table if exists shopping_cart_entity add constraint FKjkio6l0f5mf8rec6gqk1jsyra foreign key (user_id) references person_entity
2025-10-13T02:38:17.283Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:17.449Z INFO 103 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : Started MultimediaServiceTest in 0.536 seconds (process running for 20.069)
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.466Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to query multimedia with id = {0}
2025-10-13T02:38:17.467Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Finishing process to query multimedia with id = {0}
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.479Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to query all multimedia elements
Hibernate: select me1_0.id,me1_0.branch_id,me1_0.product_id,me1_0.service_id,me1_0.type,me1_0.url from multimedia_entity me1_0
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.494Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to query multimedia with id = {0}
Hibernate: select me1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,p1_0.id,p1_0.category,p1_0.description,p1_0.name,p1_0.price,p1_0.stock,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,me1_0.type,me1_0.url from multimedia_entity me1_0 left join branch_entity b1_0 on b1_0.id=me1_0.branch_id left join product_entity p1_0 on p1_0.id=me1_0.product_id left join service_entity s1_0 on s1_0.id=me1_0.service_id where me1_0.id=?
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.508Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to delete multimedia with id = {0}
Hibernate: select me1_0.id,me1_0.branch_id,me1_0.product_id,me1_0.service_id,me1_0.type,me1_0.url from multimedia_entity me1_0
2025-10-13T02:38:17.512Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Finishing process to delete multimedia with id = {0}
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.524Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia
Hibernate: select be1_0.id,be1_0.address,be1_0.name,be1_0.phone,be1_0.zone from branch_entity be1_0 where be1_0.id=?
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.538Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to update multimedia with id = {0}
2025-10-13T02:38:17.539Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Finishing process to update multimedia with id = {0}
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.552Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.564Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to update multimedia with id = {0}
Hibernate: select me1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,p1_0.id,p1_0.category,p1_0.description,p1_0.name,p1_0.price,p1_0.stock,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,me1_0.type,me1_0.url from multimedia_entity me1_0 left join branch_entity b1_0 on b1_0.id=me1_0.branch_id left join product_entity p1_0 on p1_0.id=me1_0.product_id left join service_entity s1_0 on s1_0.id=me1_0.service_id where me1_0.id=?
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.577Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.591Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.603Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to delete multimedia with id = {0}
Hibernate: select me1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,p1_0.id,p1_0.category,p1_0.description,p1_0.name,p1_0.price,p1_0.stock,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,me1_0.type,me1_0.url from multimedia_entity me1_0 left join branch_entity b1_0 on b1_0.id=me1_0.branch_id left join product_entity p1_0 on p1_0.id=me1_0.product_id left join service_entity s1_0 on s1_0.id=me1_0.service_id where me1_0.id=?
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.616Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia
2025-10-13T02:38:17.616Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Finishing process to create multimedia
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: delete from multimedia_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
Hibernate: insert into multimedia_entity (branch_id,product_id,service_id,type,url,id) values (?,?,?,?,?,default)
2025-10-13T02:38:17.628Z INFO 103 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to delete multimedia with id = {0}
Hibernate: select me1_0.id,me1_0.branch_id,me1_0.product_id,me1_0.service_id,me1_0.type,me1_0.url from multimedia_entity me1_0
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.724 s - in co.edu.udistrital.mdp.back.services.MultimediaServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.UserServiceTest
2025-10-13T02:38:17.635Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.UserServiceTest]: UserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-13T02:38:17.640Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.UserServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:17.656Z INFO 103 --- [ main] c.e.u.mdp.back.services.UserServiceTest : Starting UserServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:17.656Z INFO 103 --- [ main] c.e.u.mdp.back.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-13T02:38:17.720Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-13T02:38:17.735Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-13T02:38:17.749Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-13T02:38:17.760Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:5b114cda-3a55-49d8-824e-d9c86862c64d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-13T02:38:17.777Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-13T02:38:17.778Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-10-13T02:38:17.782Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-13T02:38:17.783Z WARN 103 --- [ 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)
2025-10-13T02:38:17.978Z INFO 103 --- [ 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 branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
Hibernate: create table branch_entity (id bigint generated by default as identity, address varchar(255), name varchar(255), phone varchar(255), zone varchar(255), primary key (id))
Hibernate: create table multimedia_entity (branch_id bigint, id bigint generated by default as identity, product_id bigint, service_id bigint, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table notification_entity (date date, read boolean, id bigint generated by default as identity, message varchar(255), primary key (id))
Hibernate: create table order_detail_entity (quantity integer, subtotal float(53), id bigint generated by default as identity, order_id bigint, product_id bigint, primary key (id))
Hibernate: create table order_entity (discount float(53) not null, order_date date, total_amount float(53), id bigint generated by default as identity, user_id bigint, status varchar(255), primary key (id))
Hibernate: create table payment (amount float(53) not null, date timestamp(6), id bigint generated by default as identity, shopping_cart_id bigint, method varchar(255), status varchar(255), primary key (id))
Hibernate: create table person_entity (loyaltypoints integer, id bigint generated by default as identity, dtype varchar(31) not null, address varchar(255), email varchar(255), lastname varchar(255), name varchar(255), password varchar(255), telephone varchar(255), primary key (id))
Hibernate: create table person_entity_notifications (notifications_id bigint not null, users_id bigint not null)
Hibernate: create table product_entity (price float(53), stock integer, id bigint generated by default as identity, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table product_entity_shopping_carts (products_id bigint not null, shopping_carts_id bigint not null)
Hibernate: create table reservation_entity (end_time time(6), reservation_date date, start_time time(6), branch_id bigint, id bigint generated by default as identity, service_id bigint, user_id bigint, reservation_status varchar(255), primary key (id))
Hibernate: create table review_entity (rating integer, review_date date, id bigint generated by default as identity, service_id bigint, comments varchar(255), primary key (id))
Hibernate: create table service_entity (duration integer, price float(53), id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_entity_branches (branches_id bigint not null, services_id bigint not null)
Hibernate: create table shopping_cart_entity (total float(53) not null, id bigint generated by default as identity, user_id bigint unique, primary key (id))
Hibernate: alter table if exists multimedia_entity add constraint FK7ajjjqrdk0gnlrd411q076tlf foreign key (branch_id) references branch_entity
Hibernate: alter table if exists multimedia_entity add constraint FKdjmnd5gcrjru3glt9oj523qis foreign key (product_id) references product_entity
Hibernate: alter table if exists multimedia_entity add constraint FKs4m09gexde2gt7xs29hfv1wl7 foreign key (service_id) references service_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg2q4hs7aq9plvbq0hqba0b1xg foreign key (order_id) references order_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg8u6g80ebrefep6so6f9br7uv foreign key (product_id) references product_entity
Hibernate: alter table if exists order_entity add constraint FKp3exf04p4mi6l9jlj26gcovn0 foreign key (user_id) references person_entity
Hibernate: alter table if exists payment add constraint FKrtdu5kvmrbq6tmxxlgrh6xvuj foreign key (shopping_cart_id) references shopping_cart_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6qplyewbbuj4w0qwoes6xt2i0 foreign key (notifications_id) references notification_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6eu007syf8l6a1tsjog50rfki foreign key (users_id) references person_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKj8n5f0r91uuvyhdl48ebuac2u foreign key (shopping_carts_id) references shopping_cart_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKjughq4da4ac04ooafvmbfhh0v foreign key (products_id) references product_entity
Hibernate: alter table if exists reservation_entity add constraint FKjcm9qy7yvd8c3h1oyxrn73s73 foreign key (branch_id) references branch_entity
Hibernate: alter table if exists reservation_entity add constraint FK6hmidbe8cvu5iuma26lbk8awk foreign key (service_id) references service_entity
Hibernate: alter table if exists reservation_entity add constraint FK4dgqn2ddwohfuq9inltk5rj2u foreign key (user_id) references person_entity
Hibernate: alter table if exists review_entity add constraint FKh4bih63s2ylplbvgh9yopckld foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity_branches add constraint FK25p5c40endmpb10m66jvbxi20 foreign key (branches_id) references branch_entity
Hibernate: alter table if exists service_entity_branches add constraint FKhtcplpjkqoam2dbgq3kjyli27 foreign key (services_id) references service_entity
Hibernate: alter table if exists shopping_cart_entity add constraint FKjkio6l0f5mf8rec6gqk1jsyra foreign key (user_id) references person_entity
2025-10-13T02:38:18.005Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:18.156Z INFO 103 --- [ main] c.e.u.mdp.back.services.UserServiceTest : Started UserServiceTest in 0.513 seconds (process running for 20.776)
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints from person_entity ue1_0 where ue1_0.dtype='UserEntity'
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints from person_entity ue1_0 where ue1_0.dtype='UserEntity'
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints,sc1_0.id,sc1_0.total from person_entity ue1_0 left join shopping_cart_entity sc1_0 on ue1_0.id=sc1_0.user_id where ue1_0.dtype='UserEntity' and ue1_0.id=?
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints from person_entity ue1_0 where ue1_0.dtype='UserEntity'
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints from person_entity ue1_0 where ue1_0.dtype='UserEntity'
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints from person_entity ue1_0 where ue1_0.dtype='UserEntity'
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.547 s - in co.edu.udistrital.mdp.back.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
2025-10-13T02:38:18.191Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest]: ShoppingCartServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-13T02:38:18.197Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:18.212Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : Starting ShoppingCartServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:18.213Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-13T02:38:18.273Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-13T02:38:18.288Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-13T02:38:18.303Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-13T02:38:18.314Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:88ef1bb5-e92e-4368-a527-1db46f382d5b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-13T02:38:18.330Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-13T02:38:18.331Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-10-13T02:38:18.335Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-13T02:38:18.336Z WARN 103 --- [ 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)
2025-10-13T02:38:18.532Z INFO 103 --- [ 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 branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
Hibernate: create table branch_entity (id bigint generated by default as identity, address varchar(255), name varchar(255), phone varchar(255), zone varchar(255), primary key (id))
Hibernate: create table multimedia_entity (branch_id bigint, id bigint generated by default as identity, product_id bigint, service_id bigint, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table notification_entity (date date, read boolean, id bigint generated by default as identity, message varchar(255), primary key (id))
Hibernate: create table order_detail_entity (quantity integer, subtotal float(53), id bigint generated by default as identity, order_id bigint, product_id bigint, primary key (id))
Hibernate: create table order_entity (discount float(53) not null, order_date date, total_amount float(53), id bigint generated by default as identity, user_id bigint, status varchar(255), primary key (id))
Hibernate: create table payment (amount float(53) not null, date timestamp(6), id bigint generated by default as identity, shopping_cart_id bigint, method varchar(255), status varchar(255), primary key (id))
Hibernate: create table person_entity (loyaltypoints integer, id bigint generated by default as identity, dtype varchar(31) not null, address varchar(255), email varchar(255), lastname varchar(255), name varchar(255), password varchar(255), telephone varchar(255), primary key (id))
Hibernate: create table person_entity_notifications (notifications_id bigint not null, users_id bigint not null)
Hibernate: create table product_entity (price float(53), stock integer, id bigint generated by default as identity, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table product_entity_shopping_carts (products_id bigint not null, shopping_carts_id bigint not null)
Hibernate: create table reservation_entity (end_time time(6), reservation_date date, start_time time(6), branch_id bigint, id bigint generated by default as identity, service_id bigint, user_id bigint, reservation_status varchar(255), primary key (id))
Hibernate: create table review_entity (rating integer, review_date date, id bigint generated by default as identity, service_id bigint, comments varchar(255), primary key (id))
Hibernate: create table service_entity (duration integer, price float(53), id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_entity_branches (branches_id bigint not null, services_id bigint not null)
Hibernate: create table shopping_cart_entity (total float(53) not null, id bigint generated by default as identity, user_id bigint unique, primary key (id))
Hibernate: alter table if exists multimedia_entity add constraint FK7ajjjqrdk0gnlrd411q076tlf foreign key (branch_id) references branch_entity
Hibernate: alter table if exists multimedia_entity add constraint FKdjmnd5gcrjru3glt9oj523qis foreign key (product_id) references product_entity
Hibernate: alter table if exists multimedia_entity add constraint FKs4m09gexde2gt7xs29hfv1wl7 foreign key (service_id) references service_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg2q4hs7aq9plvbq0hqba0b1xg foreign key (order_id) references order_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg8u6g80ebrefep6so6f9br7uv foreign key (product_id) references product_entity
Hibernate: alter table if exists order_entity add constraint FKp3exf04p4mi6l9jlj26gcovn0 foreign key (user_id) references person_entity
Hibernate: alter table if exists payment add constraint FKrtdu5kvmrbq6tmxxlgrh6xvuj foreign key (shopping_cart_id) references shopping_cart_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6qplyewbbuj4w0qwoes6xt2i0 foreign key (notifications_id) references notification_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6eu007syf8l6a1tsjog50rfki foreign key (users_id) references person_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKj8n5f0r91uuvyhdl48ebuac2u foreign key (shopping_carts_id) references shopping_cart_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKjughq4da4ac04ooafvmbfhh0v foreign key (products_id) references product_entity
Hibernate: alter table if exists reservation_entity add constraint FKjcm9qy7yvd8c3h1oyxrn73s73 foreign key (branch_id) references branch_entity
Hibernate: alter table if exists reservation_entity add constraint FK6hmidbe8cvu5iuma26lbk8awk foreign key (service_id) references service_entity
Hibernate: alter table if exists reservation_entity add constraint FK4dgqn2ddwohfuq9inltk5rj2u foreign key (user_id) references person_entity
Hibernate: alter table if exists review_entity add constraint FKh4bih63s2ylplbvgh9yopckld foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity_branches add constraint FK25p5c40endmpb10m66jvbxi20 foreign key (branches_id) references branch_entity
Hibernate: alter table if exists service_entity_branches add constraint FKhtcplpjkqoam2dbgq3kjyli27 foreign key (services_id) references service_entity
Hibernate: alter table if exists shopping_cart_entity add constraint FKjkio6l0f5mf8rec6gqk1jsyra foreign key (user_id) references person_entity
2025-10-13T02:38:18.561Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:18.730Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : Started ShoppingCartServiceTest in 0.531 seconds (process running for 21.35)
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.750Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to remove product with id = {0} from cart with id = {1}
2025-10-13T02:38:18.752Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to remove product from cart
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.768Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to create shopping cart
Hibernate: select ue1_0.id,ue1_0.address,ue1_0.email,ue1_0.lastname,ue1_0.name,ue1_0.password,ue1_0.telephone,ue1_0.loyaltypoints,sc1_0.id,sc1_0.total from person_entity ue1_0 left join shopping_cart_entity sc1_0 on ue1_0.id=sc1_0.user_id where ue1_0.dtype='UserEntity' and ue1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.783Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to update shopping cart with id = {0}
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
2025-10-13T02:38:18.802Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to create shopping cart
2025-10-13T02:38:18.802Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to create shopping cart
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.817Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to update shopping cart with id = {0}
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.833Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to add product with id = {0} to cart with id = {1}
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.849Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to delete shopping cart with id = {0}
2025-10-13T02:38:18.850Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to delete shopping cart with id = {0}
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.865Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to remove product with id = {0} from cart with id = {1}
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.880Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to query shopping cart with id = {0}
2025-10-13T02:38:18.881Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to query shopping cart with id = {0}
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.897Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to add product with id = {0} to cart with id = {1}
2025-10-13T02:38:18.898Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to add product to cart
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.915Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to update shopping cart with id = {0}
2025-10-13T02:38:18.916Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Finishing process to update shopping cart with id = {0}
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.931Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to query all shopping carts
Hibernate: select sce1_0.id,sce1_0.total,sce1_0.user_id from shopping_cart_entity sce1_0
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.947Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to query shopping cart with id = {0}
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:18.984Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to add product with id = {0} to cart with id = {1}
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:19.005Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to remove product with id = {0} from cart with id = {1}
Hibernate: select pe1_0.id,pe1_0.category,pe1_0.description,pe1_0.name,pe1_0.price,pe1_0.stock from product_entity pe1_0 where pe1_0.id=?
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:19.021Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to create shopping cart
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:19.035Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to create shopping cart
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from shopping_cart_entity
Hibernate: delete from product_entity_shopping_carts
Hibernate: delete from product_entity
Hibernate: delete from person_entity_notifications where users_id in (select ue1_0.id from person_entity ue1_0 where ue1_0.dtype='UserEntity')
Hibernate: delete from person_entity where dtype='UserEntity'
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into shopping_cart_entity (total,user_id,id) values (?,?,default)
2025-10-13T02:38:19.051Z INFO 103 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to delete shopping cart with id = {0}
Hibernate: select sce1_0.id,sce1_0.total,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints from shopping_cart_entity sce1_0 left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sce1_0.user_id where sce1_0.id=?
[INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.86 s - in co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-13T02:38:19.058Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.PersonServiceTest]: PersonServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-13T02:38:19.064Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.PersonServiceTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:19.082Z INFO 103 --- [ main] c.e.u.m.back.services.PersonServiceTest : Starting PersonServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:19.083Z INFO 103 --- [ main] c.e.u.m.back.services.PersonServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-13T02:38:19.144Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-13T02:38:19.160Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-13T02:38:19.173Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-13T02:38:19.185Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:1b61eaf8-1d27-4586-9f33-30f981e44f13;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-13T02:38:19.234Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-13T02:38:19.236Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-10-13T02:38:19.240Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-13T02:38:19.242Z WARN 103 --- [ 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)
2025-10-13T02:38:19.427Z INFO 103 --- [ 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 branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
Hibernate: create table branch_entity (id bigint generated by default as identity, address varchar(255), name varchar(255), phone varchar(255), zone varchar(255), primary key (id))
Hibernate: create table multimedia_entity (branch_id bigint, id bigint generated by default as identity, product_id bigint, service_id bigint, type varchar(255), url varchar(255), primary key (id))
Hibernate: create table notification_entity (date date, read boolean, id bigint generated by default as identity, message varchar(255), primary key (id))
Hibernate: create table order_detail_entity (quantity integer, subtotal float(53), id bigint generated by default as identity, order_id bigint, product_id bigint, primary key (id))
Hibernate: create table order_entity (discount float(53) not null, order_date date, total_amount float(53), id bigint generated by default as identity, user_id bigint, status varchar(255), primary key (id))
Hibernate: create table payment (amount float(53) not null, date timestamp(6), id bigint generated by default as identity, shopping_cart_id bigint, method varchar(255), status varchar(255), primary key (id))
Hibernate: create table person_entity (loyaltypoints integer, id bigint generated by default as identity, dtype varchar(31) not null, address varchar(255), email varchar(255), lastname varchar(255), name varchar(255), password varchar(255), telephone varchar(255), primary key (id))
Hibernate: create table person_entity_notifications (notifications_id bigint not null, users_id bigint not null)
Hibernate: create table product_entity (price float(53), stock integer, id bigint generated by default as identity, category varchar(255), description varchar(255), name varchar(255), primary key (id))
Hibernate: create table product_entity_shopping_carts (products_id bigint not null, shopping_carts_id bigint not null)
Hibernate: create table reservation_entity (end_time time(6), reservation_date date, start_time time(6), branch_id bigint, id bigint generated by default as identity, service_id bigint, user_id bigint, reservation_status varchar(255), primary key (id))
Hibernate: create table review_entity (rating integer, review_date date, id bigint generated by default as identity, service_id bigint, comments varchar(255), primary key (id))
Hibernate: create table service_entity (duration integer, price float(53), id bigint generated by default as identity, description varchar(255), name varchar(255), primary key (id))
Hibernate: create table service_entity_branches (branches_id bigint not null, services_id bigint not null)
Hibernate: create table shopping_cart_entity (total float(53) not null, id bigint generated by default as identity, user_id bigint unique, primary key (id))
Hibernate: alter table if exists multimedia_entity add constraint FK7ajjjqrdk0gnlrd411q076tlf foreign key (branch_id) references branch_entity
Hibernate: alter table if exists multimedia_entity add constraint FKdjmnd5gcrjru3glt9oj523qis foreign key (product_id) references product_entity
Hibernate: alter table if exists multimedia_entity add constraint FKs4m09gexde2gt7xs29hfv1wl7 foreign key (service_id) references service_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg2q4hs7aq9plvbq0hqba0b1xg foreign key (order_id) references order_entity
Hibernate: alter table if exists order_detail_entity add constraint FKg8u6g80ebrefep6so6f9br7uv foreign key (product_id) references product_entity
Hibernate: alter table if exists order_entity add constraint FKp3exf04p4mi6l9jlj26gcovn0 foreign key (user_id) references person_entity
Hibernate: alter table if exists payment add constraint FKrtdu5kvmrbq6tmxxlgrh6xvuj foreign key (shopping_cart_id) references shopping_cart_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6qplyewbbuj4w0qwoes6xt2i0 foreign key (notifications_id) references notification_entity
Hibernate: alter table if exists person_entity_notifications add constraint FK6eu007syf8l6a1tsjog50rfki foreign key (users_id) references person_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKj8n5f0r91uuvyhdl48ebuac2u foreign key (shopping_carts_id) references shopping_cart_entity
Hibernate: alter table if exists product_entity_shopping_carts add constraint FKjughq4da4ac04ooafvmbfhh0v foreign key (products_id) references product_entity
Hibernate: alter table if exists reservation_entity add constraint FKjcm9qy7yvd8c3h1oyxrn73s73 foreign key (branch_id) references branch_entity
Hibernate: alter table if exists reservation_entity add constraint FK6hmidbe8cvu5iuma26lbk8awk foreign key (service_id) references service_entity
Hibernate: alter table if exists reservation_entity add constraint FK4dgqn2ddwohfuq9inltk5rj2u foreign key (user_id) references person_entity
Hibernate: alter table if exists review_entity add constraint FKh4bih63s2ylplbvgh9yopckld foreign key (service_id) references service_entity
Hibernate: alter table if exists service_entity_branches add constraint FK25p5c40endmpb10m66jvbxi20 foreign key (branches_id) references branch_entity
Hibernate: alter table if exists service_entity_branches add constraint FKhtcplpjkqoam2dbgq3kjyli27 foreign key (services_id) references service_entity
Hibernate: alter table if exists shopping_cart_entity add constraint FKjkio6l0f5mf8rec6gqk1jsyra foreign key (user_id) references person_entity
2025-10-13T02:38:19.453Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:19.621Z INFO 103 --- [ main] c.e.u.m.back.services.PersonServiceTest : Started PersonServiceTest in 0.554 seconds (process running for 22.241)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints,sc1_0.id,sc1_0.total,sc1_0.user_id from person_entity pe1_0 left join shopping_cart_entity sc1_0 on pe1_0.id=sc1_0.user_id where pe1_0.id=?
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints from person_entity pe1_0
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'PersonEntity',default)
Hibernate: select pe1_0.id,pe1_0.dtype,pe1_0.address,pe1_0.email,pe1_0.lastname,pe1_0.name,pe1_0.password,pe1_0.telephone,pe1_0.loyaltypoints,sc1_0.id,sc1_0.total,sc1_0.user_id from person_entity pe1_0 left join shopping_cart_entity sc1_0 on pe1_0.id=sc1_0.user_id where pe1_0.id=?
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.638 s - in co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-13T02:38:19.708Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.892Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.900Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.909Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.916Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.924Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.937Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.944Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.960Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.966Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
2025-10-13T02:38:19.977Z INFO 103 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
Hibernate: drop table if exists branch_entity cascade
Hibernate: drop table if exists multimedia_entity cascade
Hibernate: drop table if exists notification_entity cascade
Hibernate: drop table if exists order_detail_entity cascade
Hibernate: drop table if exists order_entity cascade
Hibernate: drop table if exists payment cascade
Hibernate: drop table if exists person_entity cascade
Hibernate: drop table if exists person_entity_notifications cascade
Hibernate: drop table if exists product_entity cascade
Hibernate: drop table if exists product_entity_shopping_carts cascade
Hibernate: drop table if exists reservation_entity cascade
Hibernate: drop table if exists review_entity cascade
Hibernate: drop table if exists service_entity cascade
Hibernate: drop table if exists service_entity_branches cascade
Hibernate: drop table if exists shopping_cart_entity cascade
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 190, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Building jar: /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- spring-boot:3.2.3:repackage (repackage) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Replacing main artifact /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/.
[INFO] The original artifact has been renamed to /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.jar.original
[INFO]
[INFO] --- jacoco:0.8.11:report (jacoco-site) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Loading execution data file /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/jacoco.exec
[INFO] Analyzed bundle 'MP_202530_G81_E4_DogSpa_Back' with 26 classes
[INFO]
[INFO] --- spring-boot:3.2.3:start (pre-integration-test) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Attaching agents: []
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.2.3)
2025-10-13T02:38:23.867Z INFO 237 --- [ main] c.e.udistrital.mdp.back.MainApplication : Starting MainApplication using Java 21.0.4 with PID 237 (/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/classes started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-13T02:38:23.870Z INFO 237 --- [ main] c.e.udistrital.mdp.back.MainApplication : The following 1 profile is active: "integration-tests"
2025-10-13T02:38:24.591Z INFO 237 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-13T02:38:24.680Z INFO 237 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 82 ms. Found 14 JPA repository interfaces.
2025-10-13T02:38:25.258Z INFO 237 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8999 (http)
2025-10-13T02:38:25.271Z INFO 237 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-10-13T02:38:25.271Z INFO 237 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.19]
2025-10-13T02:38:25.320Z INFO 237 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/api] : Initializing Spring embedded WebApplicationContext
2025-10-13T02:38:25.320Z INFO 237 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1406 ms
2025-10-13T02:38:25.356Z INFO 237 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2025-10-13T02:38:25.536Z INFO 237 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:back user=SA
2025-10-13T02:38:25.538Z INFO 237 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2025-10-13T02:38:25.566Z INFO 237 --- [ main] o.s.b.a.h2.H2ConsoleAutoConfiguration : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:back'
2025-10-13T02:38:25.731Z INFO 237 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-13T02:38:25.778Z INFO 237 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-10-13T02:38:25.808Z INFO 237 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2025-10-13T02:38:26.028Z INFO 237 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-13T02:38:26.068Z WARN 237 --- [ 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)
2025-10-13T02:38:27.178Z INFO 237 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2025-10-13T02:38:27.268Z INFO 237 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:27.849Z INFO 237 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used.
2025-10-13T02:38:28.787Z INFO 237 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8999 (http) with context path '/api'
2025-10-13T02:38:28.796Z INFO 237 --- [ main] c.e.udistrital.mdp.back.MainApplication : Started MainApplication in 5.347 seconds (process running for 6.331)
[INFO]
[INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202530_G81_E4_DogSpa_Back ---
Collection 'Default Tests' was successfully added.
Combined collection is saved to 'it/composed.collection.json'
[INFO]
[INFO] --- spring-boot:3.2.3:stop (post-integration-test) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Stopping application...
2025-10-13T02:38:32.389Z INFO 237 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2025-10-13T02:38:32.400Z INFO 237 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-10-13T02:38:32.412Z INFO 237 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2025-10-13T02:38:32.415Z INFO 237 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ MP_202530_G81_E4_DogSpa_Back ---
[INFO] Installing /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/pom.xml to /root/.m2/repository/co/edu/udistrital/mdp/MP_202530_G81_E4_DogSpa_Back/0.0.1-SNAPSHOT/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.pom
[INFO] Installing /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.jar to /root/.m2/repository/co/edu/udistrital/mdp/MP_202530_G81_E4_DogSpa_Back/0.0.1-SNAPSHOT/MP_202530_G81_E4_DogSpa_Back-0.0.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 44.244 s
[INFO] Finished at: 2025-10-13T02:38:32Z
[INFO] ------------------------------------------------------------------------