Started by GitHub push by DrkGodEater9 Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back [Pipeline] Start of Pipeline [Pipeline] node Running on Slave2 in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential josejbocanegra Cloning the remote Git repository Cloning repository https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back > git init /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d9958237dec044e69e6ed553c79505c77de5dd3f (refs/remotes/origin/main) > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9958237dec044e69e6ed553c79505c77de5dd3f # timeout=10 Commit message: "Merge pull request #25 from UDFJDC-ModelosProgramacion/develop" > git rev-list --no-walk 5b67838fc0236af79c2fe46795791bcab0d86f5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] withCredentials Masking supported pattern matches of $SONAR_TOKEN [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] scmSkip SCM Skip: Pattern .*\[ci-skip\].* NOT matched on message: New Services created [Pipeline] git Selected Git installation does not exist. Using Default The recommended git tool is: NONE Warning: CredentialId "c0e8826e-5e2c-4c1c-a484-6c17d53ac539" could not be found. Fetching changes from the remote Git repository Checking out Revision d9958237dec044e69e6ed553c79505c77de5dd3f (refs/remotes/origin/main) Commit message: "Merge pull request #25 from UDFJDC-ModelosProgramacion/develop" [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh > git rev-parse --resolve-git-dir /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/.git # timeout=10 > git config remote.origin.url https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back # timeout=10 Fetching upstream changes from https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back > git --version # timeout=10 > git --version # 'git version 2.43.0' > git fetch --tags --force --progress -- https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9958237dec044e69e6ed553c79505c77de5dd3f # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b main d9958237dec044e69e6ed553c79505c77de5dd3f # timeout=10 + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave2 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:rw,z -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top 33c2d12d2fe15a30aebbc1ea1971662ceab71166c2f0157c82ed8fbf996019c4 -eo pid,comm ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] sh + java -version openjdk version "21.0.4" 2024-07-16 LTS OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing) + mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ---------< co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back >--------- [INFO] Building MP_202530_G81_E4_DogSpa_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.3.2:clean (default-clean) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 54 source files with javac [debug release 21] to target/classes [INFO] Annotation processing is enabled because one or more processors were found on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 16 source files with javac [debug release 21] to target/test-classes [INFO] Annotation processing is enabled because one or more processors were found on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. [INFO] [INFO] --- surefire:2.22.1:test (default-test) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceTest 02:37:59.352 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.BranchServiceTest]: BranchServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 02:37:59.636 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.BranchServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:00.408Z INFO 103 --- [ main] c.e.u.m.back.services.BranchServiceTest : Starting BranchServiceTest 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:00.410Z INFO 103 --- [ main] c.e.u.m.back.services.BranchServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:01.268Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:01.412Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 128 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:01.504Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:01.750Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:262cfcdd-d26d-4097-af66-e7e1827fbc4c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:02.576Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:02.749Z INFO 103 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final 2025-10-13T02:38:02.821Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:03.376Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:03.505Z 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:05.668Z 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:05.815Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:06.508Z INFO 103 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2025-10-13T02:38:07.423Z INFO 103 --- [ main] c.e.u.m.back.services.BranchServiceTest : Started BranchServiceTest in 7.643 seconds (process running for 10.043) WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.12/byte-buddy-agent-1.14.12.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.336Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 1 2025-10-13T02:38:08.337Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 1 2025-10-13T02:38:08.358Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 1 2025-10-13T02:38:08.363Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Branch update process finished with id = 1 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.397Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch deletion process with id = 4 2025-10-13T02:38:08.397Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 4 2025-10-13T02:38:08.398Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 4 2025-10-13T02:38:08.405Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Branch deletion process finished with id = 4 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.420Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.433Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Sucursal Duplicada Hibernate: select count(*) from branch_entity be1_0 where be1_0.id=? Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.525Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 13 2025-10-13T02:38:08.525Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 13 2025-10-13T02:38:08.526Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 13 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.538Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.564Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch deletion process with id = 999 2025-10-13T02:38:08.564Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.576Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 999 2025-10-13T02:38:08.576Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.588Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 25 2025-10-13T02:38:08.589Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 25 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.599Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to retrieve all branches Hibernate: select be1_0.id,be1_0.address,be1_0.name,be1_0.phone,be1_0.zone from branch_entity be1_0 2025-10-13T02:38:08.621Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Finished retrieval process: 3 branches found Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.633Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Sucursal Telefono Malo Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.643Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Nueva Sucursal Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:08.644Z INFO 103 --- [ main] c.e.u.mdp.back.services.BranchService : Branch creation process finished with id = 37 [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.765 s - in co.edu.udistrital.mdp.back.services.BranchServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.AdminServiceTest 2025-10-13T02:38:08.653Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.AdminServiceTest]: AdminServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:08.663Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.AdminServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:08.690Z INFO 103 --- [ main] c.e.u.m.back.services.AdminServiceTest : Starting AdminServiceTest 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:08.691Z INFO 103 --- [ main] c.e.u.m.back.services.AdminServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:08.793Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:08.814Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:08.849Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:08.867Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0e3dbec1-b853-483e-9ed6-257e716b4721;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:08.892Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:08.894Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:08.898Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:08.900Z 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:09.175Z 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:09.227Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:09.422Z INFO 103 --- [ main] c.e.u.m.back.services.AdminServiceTest : Started AdminServiceTest in 0.757 seconds (process running for 12.042) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' and ae1_0.id=? Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.764 s - in co.edu.udistrital.mdp.back.services.AdminServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ProductServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:09.542Z INFO 103 --- [ main] c.e.u.m.b.services.ProductServiceTest : Starting ProductServiceTest 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:09.542Z INFO 103 --- [ main] c.e.u.m.b.services.ProductServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:10.113Z INFO 103 --- [ main] c.e.u.m.b.services.ProductServiceTest : Started ProductServiceTest in 0.605 seconds (process running for 12.733) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.873 s - in co.edu.udistrital.mdp.back.services.ProductServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.PaymentServiceTest 2025-10-13T02:38:10.362Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.PaymentServiceTest]: PaymentServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:10.378Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.PaymentServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:10.450Z INFO 103 --- [ main] c.e.u.m.b.services.PaymentServiceTest : Starting PaymentServiceTest 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:10.450Z INFO 103 --- [ main] c.e.u.m.b.services.PaymentServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:10.606Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:10.640Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 32 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:10.677Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:10.703Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b7329e42-df9c-472a-80ed-bf69ae087c33;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:10.740Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:10.743Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:10.749Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:10.751Z 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:11.155Z 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:11.219Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:11.652Z INFO 103 --- [ main] c.e.u.m.b.services.PaymentServiceTest : Started PaymentServiceTest in 1.265 seconds (process running for 14.272) Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.720Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to process payment with id = {0} 2025-10-13T02:38:11.722Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to process payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.748Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to complete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.772Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to cancel payment with id = {0} 2025-10-13T02:38:11.773Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to cancel payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.798Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to process payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.822Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment 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 payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.853Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query all payments Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,pe1_0.shopping_cart_id,pe1_0.status from payment pe1_0 Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.898Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.919Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.939Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment 2025-10-13T02:38:11.939Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to create payment Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.958Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payment with id = {0} 2025-10-13T02:38:11.959Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to query payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.978Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} 2025-10-13T02:38:11.978Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to update payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:11.996Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to cancel payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.014Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.044Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.063Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to complete payment with id = {0} 2025-10-13T02:38:12.064Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to complete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.083Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.104Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.130Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.148Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} 2025-10-13T02:38:12.150Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to delete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.168Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.186Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 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=? 2025-10-13T02:38:12.222Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payments for shopping cart with id = {0} 2025-10-13T02:38:12.223Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to query payments for shopping cart with id = {0} Hibernate: select p1_0.shopping_cart_id,p1_0.id,p1_0.amount,p1_0.date,p1_0.method,p1_0.status from payment p1_0 where p1_0.shopping_cart_id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:12.249Z INFO 103 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payments for 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: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.894 s - in co.edu.udistrital.mdp.back.services.PaymentServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ServiceServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:12.286Z INFO 103 --- [ main] c.e.u.m.b.services.ServiceServiceTest : Starting ServiceServiceTest 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:12.286Z INFO 103 --- [ main] c.e.u.m.b.services.ServiceServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:12.525Z INFO 103 --- [ main] c.e.u.m.b.services.ServiceServiceTest : Started ServiceServiceTest in 0.263 seconds (process running for 15.145) [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 s - in co.edu.udistrital.mdp.back.services.ServiceServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.OrderDetailServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:12.601Z INFO 103 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : Starting OrderDetailServiceTest 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:12.602Z INFO 103 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:12.720Z INFO 103 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : Started OrderDetailServiceTest in 0.151 seconds (process running for 15.34) [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 s - in co.edu.udistrital.mdp.back.services.OrderDetailServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:12.824Z INFO 103 --- [ main] c.e.u.m.b.s.NotificationServiceTest : Starting NotificationServiceTest 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:12.824Z INFO 103 --- [ main] c.e.u.m.b.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:13.051Z INFO 103 --- [ main] c.e.u.m.b.s.NotificationServiceTest : Started NotificationServiceTest in 0.262 seconds (process running for 15.671) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.302 s - in co.edu.udistrital.mdp.back.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest 2025-10-13T02:38:13.089Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest]: ShoppingCartProductServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:13.100Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:13.125Z INFO 103 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : Starting ShoppingCartProductServiceTest 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:13.125Z INFO 103 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:13.226Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:13.248Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:13.273Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:13.292Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:59562e5e-6a47-4d61-875c-673df1f11b25;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:13.319Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:13.322Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:13.327Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:13.328Z 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:13.622Z 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:13.668Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:13.941Z INFO 103 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : Started ShoppingCartProductServiceTest in 0.838 seconds (process running for 16.561) 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:13.985Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 4 to 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.011Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 5 from 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.031Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 8 from shopping cart with id = 3 2025-10-13T02:38:14.033Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 8 from shopping cart with id = 3 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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: select p1_0.shopping_carts_id,p1_1.id,p1_1.category,p1_1.description,p1_1.name,p1_1.price,p1_1.stock from product_entity_shopping_carts p1_0 join product_entity p1_1 on p1_1.id=p1_0.products_id where p1_0.shopping_carts_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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.063Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 0 from shopping cart with id = 4 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.082Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 14 from shopping cart with id = 5 2025-10-13T02:38:14.083Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 14 from shopping cart with id = 5 2025-10-13T02:38:14.083Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 15 from shopping cart with id = 5 2025-10-13T02:38:14.083Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 15 from shopping cart with id = 5 2025-10-13T02:38:14.084Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 16 from shopping cart with id = 5 2025-10-13T02:38:14.084Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 16 from shopping cart with id = 5 2025-10-13T02:38:14.084Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of shopping cart with id = 5 2025-10-13T02:38:14.085Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query all products of shopping cart with id = 5 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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 product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default) 2025-10-13T02:38:14.109Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with shopping cart with id = 6 2025-10-13T02:38:14.110Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to replace products associated with shopping cart with id = 6 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.137Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 0 to shopping cart with id = 7 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:14.156Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.175Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with shopping cart with id = 9 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.193Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.211Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 35 of shopping cart with id = 11 2025-10-13T02:38:14.212Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query product with id = 35 of shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.228Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 38 of 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.247Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of shopping cart with id = 13 2025-10-13T02:38:14.248Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query all products of shopping cart with id = 13 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:14.267Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 47 to shopping cart with id = 14 2025-10-13T02:38:14.268Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to associate product with id = 47 to shopping cart with id = 14 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.298Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 48 to shopping cart with id = 15 2025-10-13T02:38:14.298Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to associate product with id = 48 to shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:14.317Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 0 of shopping cart with id = 16 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:14.336Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 57 to shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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 product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default) 2025-10-13T02:38:14.356Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 61 of shopping cart with id = 19 2025-10-13T02:38:14.356Z INFO 103 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query product with id = 61 of shopping cart with id = 19 [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.267 s - in co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ReviewServiceTest 2025-10-13T02:38:14.365Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:14.373Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:14.391Z INFO 103 --- [ main] c.e.u.m.back.services.ReviewServiceTest : Starting ReviewServiceTest 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:14.392Z INFO 103 --- [ main] c.e.u.m.back.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:14.465Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:14.483Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:14.501Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:14.516Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:74bfc9ba-c3f8-4e63-9f2a-69df21fcff7e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:14.536Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:14.538Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:14.542Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:14.544Z 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:14.771Z 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:14.807Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:14.992Z INFO 103 --- [ main] c.e.u.m.back.services.ReviewServiceTest : Started ReviewServiceTest in 0.617 seconds (process running for 17.612) Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.007Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.009Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Review creation process finished with id = 4 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.018Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = null Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.027Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.036Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review update process with id = 11 2025-10-13T02:38:15.036Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 11 2025-10-13T02:38:15.037Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 11 2025-10-13T02:38:15.037Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Review update process finished with id = 11 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.045Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review deletion process with id = 14 2025-10-13T02:38:15.046Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 14 2025-10-13T02:38:15.046Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 14 2025-10-13T02:38:15.047Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Review deletion process finished with id = 14 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.055Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.065Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review deletion process with id = 999 2025-10-13T02:38:15.065Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.074Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review update process with id = 999 2025-10-13T02:38:15.074Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.084Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.092Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to retrieve all reviews Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,re1_0.service_id from review_entity re1_0 2025-10-13T02:38:15.095Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished retrieving reviews: 3 found Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:15.104Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 32 2025-10-13T02:38:15.104Z INFO 103 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 32 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.74 s - in co.edu.udistrital.mdp.back.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ReservationServiceTest 2025-10-13T02:38:15.109Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ReservationServiceTest]: ReservationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:15.115Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ReservationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:15.132Z INFO 103 --- [ main] c.e.u.m.b.s.ReservationServiceTest : Starting ReservationServiceTest 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:15.132Z INFO 103 --- [ main] c.e.u.m.b.s.ReservationServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:15.199Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:15.215Z 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:15.232Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:15.246Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7a5031f5-cecc-440c-93eb-d9057d2bbbf8;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:15.263Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:15.265Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:15.269Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:15.270Z 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:15.477Z 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:15.508Z INFO 103 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:15.681Z INFO 103 --- [ main] c.e.u.m.b.s.ReservationServiceTest : Started ReservationServiceTest in 0.564 seconds (process running for 18.301) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.branch_id,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,re1_0.service_id,re1_0.start_time,re1_0.user_id from reservation_entity re1_0 Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.689 s - in co.edu.udistrital.mdp.back.services.ReservationServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest 2025-10-13T02:38:15.803Z INFO 103 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest]: ProductShoppingCartServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:15.810Z INFO 103 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:15.826Z INFO 103 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : Starting ProductShoppingCartServiceTest 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:15.826Z INFO 103 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:15.890Z INFO 103 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:15.906Z 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:15.922Z INFO 103 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:15.934Z INFO 103 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:080e3430-6ed9-4eca-9d0d-19baa7f29d8f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:15.951Z INFO 103 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:15.953Z INFO 103 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:15.957Z INFO 103 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:15.958Z 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: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] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 33c2d12d2fe15a30aebbc1ea1971662ceab71166c2f0157c82ed8fbf996019c4 $ docker rm -f --volumes 33c2d12d2fe15a30aebbc1ea1971662ceab71166c2f0157c82ed8fbf996019c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Testing) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave2 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:rw,z -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top bbc010cf52486b2ffbfc62ccdfe41a49abce1798d715948a426f24e7321ffa3a -eo pid,comm [Pipeline] { [Pipeline] sh + mvn test [INFO] Scanning for projects... [INFO] [INFO] ---------< co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back >--------- [INFO] Building MP_202530_G81_E4_DogSpa_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- jacoco:0.8.11:prepare-agent (jacoco-initialize) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] argLine set to -javaagent:/root/.m2/repository/org/jacoco/org.jacoco.agent/0.8.11/org.jacoco.agent-0.8.11-runtime.jar=destfile=/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.11.0:compile (default-compile) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] skip non existing resourceDirectory /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/src/test/resources [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- surefire:2.22.1:test (default-test) @ MP_202530_G81_E4_DogSpa_Back --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceTest 02:38:39.535 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.BranchServiceTest]: BranchServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 02:38:39.769 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.BranchServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:40.443Z INFO 76 --- [ main] c.e.u.m.back.services.BranchServiceTest : Starting BranchServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:40.445Z INFO 76 --- [ main] c.e.u.m.back.services.BranchServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:40.999Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:41.135Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 123 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:41.229Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:41.483Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:c8aee162-6bfe-4c9e-bc6d-6aa53143a785;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:42.148Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:42.246Z INFO 76 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.4.4.Final 2025-10-13T02:38:42.302Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:42.698Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:42.787Z WARN 76 --- [ 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:44.891Z INFO 76 --- [ 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:45.041Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:45.883Z INFO 76 --- [ main] o.s.d.j.r.query.QueryEnhancerFactory : Hibernate is in classpath; If applicable, HQL parser will be used. 2025-10-13T02:38:46.655Z INFO 76 --- [ main] c.e.u.m.back.services.BranchServiceTest : Started BranchServiceTest in 6.76 seconds (process running for 8.539) WARNING: A Java agent has been loaded dynamically (/root/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.12/byte-buddy-agent-1.14.12.jar) WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.430Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 1 2025-10-13T02:38:47.430Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 1 2025-10-13T02:38:47.448Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 1 2025-10-13T02:38:47.454Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Branch update process finished with id = 1 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.483Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch deletion process with id = 4 2025-10-13T02:38:47.483Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 4 2025-10-13T02:38:47.484Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 4 2025-10-13T02:38:47.491Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Branch deletion process finished with id = 4 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.507Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.519Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Sucursal Duplicada Hibernate: select count(*) from branch_entity be1_0 where be1_0.id=? Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.604Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 13 2025-10-13T02:38:47.605Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 13 2025-10-13T02:38:47.605Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 13 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.616Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.642Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch deletion process with id = 999 2025-10-13T02:38:47.642Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.655Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch update process with id = 999 2025-10-13T02:38:47.655Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 999 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 service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.666Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to find branch with id = 25 2025-10-13T02:38:47.667Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Finished process to find branch with id = 25 Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.677Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting process to retrieve all branches Hibernate: select be1_0.id,be1_0.address,be1_0.name,be1_0.phone,be1_0.zone from branch_entity be1_0 2025-10-13T02:38:47.700Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Finished retrieval process: 3 branches found Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.710Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Sucursal Telefono Malo Hibernate: delete from service_entity_branches Hibernate: delete from branch_entity Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.721Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Starting branch creation process with name = Nueva Sucursal Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) 2025-10-13T02:38:47.723Z INFO 76 --- [ main] c.e.u.mdp.back.services.BranchService : Branch creation process finished with id = 37 [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.483 s - in co.edu.udistrital.mdp.back.services.BranchServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.AdminServiceTest 2025-10-13T02:38:47.731Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.AdminServiceTest]: AdminServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:47.749Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.AdminServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:47.780Z INFO 76 --- [ main] c.e.u.m.back.services.AdminServiceTest : Starting AdminServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:47.780Z INFO 76 --- [ main] c.e.u.m.back.services.AdminServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:47.915Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:47.937Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:47.960Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:47.976Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:0a7af105-05c2-4ac9-977c-cfee39158557;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:47.999Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:48.001Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:48.005Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:48.006Z WARN 76 --- [ 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:48.345Z INFO 76 --- [ 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:48.404Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:48.619Z INFO 76 --- [ main] c.e.u.m.back.services.AdminServiceTest : Started AdminServiceTest in 0.867 seconds (process running for 10.503) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' and ae1_0.id=? Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: select ae1_0.id,ae1_0.address,ae1_0.email,ae1_0.lastname,ae1_0.name,ae1_0.password,ae1_0.telephone from person_entity ae1_0 where ae1_0.dtype='AdminEntity' Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,dtype,id) values (?,?,?,?,?,?,'AdminEntity',default) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.844 s - in co.edu.udistrital.mdp.back.services.AdminServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ProductServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:48.731Z INFO 76 --- [ main] c.e.u.m.b.services.ProductServiceTest : Starting ProductServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:48.731Z INFO 76 --- [ main] c.e.u.m.b.services.ProductServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:49.308Z INFO 76 --- [ main] c.e.u.m.b.services.ProductServiceTest : Started ProductServiceTest in 0.604 seconds (process running for 11.192) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.874 s - in co.edu.udistrital.mdp.back.services.ProductServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.PaymentServiceTest 2025-10-13T02:38:49.570Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.PaymentServiceTest]: PaymentServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:49.587Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.PaymentServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:49.640Z INFO 76 --- [ main] c.e.u.m.b.services.PaymentServiceTest : Starting PaymentServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:49.641Z INFO 76 --- [ main] c.e.u.m.b.services.PaymentServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:49.832Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:49.867Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 35 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:49.910Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:49.941Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:a49f8afa-f00a-4f46-be98-b0645a7e3680;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:49.982Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:49.985Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:49.991Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:49.995Z WARN 76 --- [ 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:50.478Z INFO 76 --- [ 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:50.608Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:51.122Z INFO 76 --- [ main] c.e.u.m.b.services.PaymentServiceTest : Started PaymentServiceTest in 1.531 seconds (process running for 13.006) Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.197Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to process payment with id = {0} 2025-10-13T02:38:51.199Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to process payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.229Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to complete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.257Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to cancel payment with id = {0} 2025-10-13T02:38:51.258Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to cancel payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.294Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to process payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.324Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment 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 payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.357Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query all payments Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,pe1_0.shopping_cart_id,pe1_0.status from payment pe1_0 Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.407Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.429Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.450Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment 2025-10-13T02:38:51.450Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to create payment Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.470Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payment with id = {0} 2025-10-13T02:38:51.471Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to query payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.490Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} 2025-10-13T02:38:51.491Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to update payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.510Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to cancel payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.528Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to update payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.551Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.570Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to complete payment with id = {0} 2025-10-13T02:38:51.570Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to complete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.591Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.612Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} Hibernate: select pe1_0.id,pe1_0.amount,pe1_0.date,pe1_0.method,sc1_0.id,sc1_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,pe1_0.status from payment pe1_0 left join shopping_cart_entity sc1_0 on sc1_0.id=pe1_0.shopping_cart_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=sc1_0.user_id where pe1_0.id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.632Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.650Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to delete payment with id = {0} 2025-10-13T02:38:51.652Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to delete payment with id = {0} Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.670Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.688Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to create payment Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 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=? 2025-10-13T02:38:51.724Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payments for shopping cart with id = {0} 2025-10-13T02:38:51.725Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Finishing process to query payments for shopping cart with id = {0} Hibernate: select p1_0.shopping_cart_id,p1_0.id,p1_0.amount,p1_0.date,p1_0.method,p1_0.status from payment p1_0 where p1_0.shopping_cart_id=? Hibernate: delete from payment Hibernate: delete from product_entity_shopping_carts Hibernate: delete from shopping_cart_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 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 payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) Hibernate: insert into payment (amount,date,method,shopping_cart_id,status,id) values (?,?,?,?,?,default) 2025-10-13T02:38:51.753Z INFO 76 --- [ main] c.e.u.mdp.back.services.PaymentService : Starting process to query payments for 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: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.186 s - in co.edu.udistrital.mdp.back.services.PaymentServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ServiceServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:51.808Z INFO 76 --- [ main] c.e.u.m.b.services.ServiceServiceTest : Starting ServiceServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:51.808Z INFO 76 --- [ main] c.e.u.m.b.services.ServiceServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:52.061Z INFO 76 --- [ main] c.e.u.m.b.services.ServiceServiceTest : Started ServiceServiceTest in 0.294 seconds (process running for 13.945) [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 s - in co.edu.udistrital.mdp.back.services.ServiceServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.OrderDetailServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:52.122Z INFO 76 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : Starting OrderDetailServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:52.123Z INFO 76 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:52.247Z INFO 76 --- [ main] c.e.u.m.b.s.OrderDetailServiceTest : Started OrderDetailServiceTest in 0.146 seconds (process running for 14.131) [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.205 s - in co.edu.udistrital.mdp.back.services.OrderDetailServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.NotificationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:52.328Z INFO 76 --- [ main] c.e.u.m.b.s.NotificationServiceTest : Starting NotificationServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:52.328Z INFO 76 --- [ main] c.e.u.m.b.s.NotificationServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:52.566Z INFO 76 --- [ main] c.e.u.m.b.s.NotificationServiceTest : Started NotificationServiceTest in 0.258 seconds (process running for 14.451) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 s - in co.edu.udistrital.mdp.back.services.NotificationServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest 2025-10-13T02:38:52.608Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest]: ShoppingCartProductServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:52.619Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:52.642Z INFO 76 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : Starting ShoppingCartProductServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:52.643Z INFO 76 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:52.768Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:52.793Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:52.823Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:52.876Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:49ece8b7-ace7-4f60-b220-0f511aadd632;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:52.910Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:52.913Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:52.918Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:52.920Z WARN 76 --- [ 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:53.240Z INFO 76 --- [ 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:53.282Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:53.642Z INFO 76 --- [ main] e.u.m.b.s.ShoppingCartProductServiceTest : Started ShoppingCartProductServiceTest in 1.02 seconds (process running for 15.526) 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:53.684Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 4 to 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.706Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 5 from 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.725Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 8 from shopping cart with id = 3 2025-10-13T02:38:53.727Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 8 from shopping cart with id = 3 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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: select p1_0.shopping_carts_id,p1_1.id,p1_1.category,p1_1.description,p1_1.name,p1_1.price,p1_1.stock from product_entity_shopping_carts p1_0 join product_entity p1_1 on p1_1.id=p1_0.products_id where p1_0.shopping_carts_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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.757Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 0 from shopping cart with id = 4 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.777Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 14 from shopping cart with id = 5 2025-10-13T02:38:53.778Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 14 from shopping cart with id = 5 2025-10-13T02:38:53.778Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 15 from shopping cart with id = 5 2025-10-13T02:38:53.779Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 15 from shopping cart with id = 5 2025-10-13T02:38:53.779Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to remove product with id = 16 from shopping cart with id = 5 2025-10-13T02:38:53.780Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to remove product with id = 16 from shopping cart with id = 5 2025-10-13T02:38:53.780Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of shopping cart with id = 5 2025-10-13T02:38:53.780Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query all products of shopping cart with id = 5 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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 product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default) 2025-10-13T02:38:53.804Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with shopping cart with id = 6 2025-10-13T02:38:53.805Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to replace products associated with shopping cart with id = 6 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.829Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 0 to shopping cart with id = 7 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:53.849Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.869Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to replace products associated with shopping cart with id = 9 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.887Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.909Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 35 of shopping cart with id = 11 2025-10-13T02:38:53.910Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query product with id = 35 of shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.927Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 38 of 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.947Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query all products of shopping cart with id = 13 2025-10-13T02:38:53.948Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query all products of shopping cart with id = 13 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:53.966Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 47 to shopping cart with id = 14 2025-10-13T02:38:53.967Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to associate product with id = 47 to shopping cart with id = 14 Hibernate: update shopping_cart_entity set total=?,user_id=? where id=? 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:53.988Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 48 to shopping cart with id = 15 2025-10-13T02:38:53.988Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to associate product with id = 48 to shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: insert into product_entity_shopping_carts (products_id,shopping_carts_id) values (?,?) 2025-10-13T02:38:54.008Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 0 of shopping cart with id = 16 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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) 2025-10-13T02:38:54.026Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to associate product with id = 57 to shopping cart 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 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 (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: update shopping_cart_entity set total=?,user_id=? where 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: 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 product_entity (category,description,name,price,stock,id) values (?,?,?,?,?,default) 2025-10-13T02:38:54.047Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Starting process to query product with id = 61 of shopping cart with id = 19 2025-10-13T02:38:54.048Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartProductService : Finishing process to query product with id = 61 of shopping cart with id = 19 [INFO] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.437 s - in co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ReviewServiceTest 2025-10-13T02:38:54.053Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ReviewServiceTest]: ReviewServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:54.061Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ReviewServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:54.082Z INFO 76 --- [ main] c.e.u.m.back.services.ReviewServiceTest : Starting ReviewServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:54.082Z INFO 76 --- [ main] c.e.u.m.back.services.ReviewServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:54.162Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:54.180Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 17 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:54.201Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:54.218Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:b5a75fb2-fb7e-4563-ad7f-5afb9e117185;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:54.238Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:54.240Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:54.244Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:54.245Z WARN 76 --- [ 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:54.501Z INFO 76 --- [ 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:54.537Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:54.735Z INFO 76 --- [ main] c.e.u.m.back.services.ReviewServiceTest : Started ReviewServiceTest in 0.671 seconds (process running for 16.619) Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.751Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.753Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Review creation process finished with id = 4 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.763Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = null Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.782Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.791Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review update process with id = 11 2025-10-13T02:38:54.791Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 11 2025-10-13T02:38:54.792Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 11 2025-10-13T02:38:54.793Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Review update process finished with id = 11 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.802Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review deletion process with id = 14 2025-10-13T02:38:54.802Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 14 2025-10-13T02:38:54.802Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 14 2025-10-13T02:38:54.803Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Review deletion process finished with id = 14 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.813Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.824Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review deletion process with id = 999 2025-10-13T02:38:54.824Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.834Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review update process with id = 999 2025-10-13T02:38:54.834Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 999 Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price from review_entity re1_0 left join service_entity s1_0 on s1_0.id=re1_0.service_id where re1_0.id=? Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.845Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting review creation process with date = 2025-10-13 Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.854Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to retrieve all reviews Hibernate: select re1_0.id,re1_0.comments,re1_0.rating,re1_0.review_date,re1_0.service_id from review_entity re1_0 2025-10-13T02:38:54.856Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished retrieving reviews: 3 found Hibernate: delete from review_entity Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default) 2025-10-13T02:38:54.866Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Starting process to find review with id = 32 2025-10-13T02:38:54.866Z INFO 76 --- [ main] c.e.u.mdp.back.services.ReviewService : Finished finding review with id = 32 [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.808 s - in co.edu.udistrital.mdp.back.services.ReviewServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ReservationServiceTest 2025-10-13T02:38:54.871Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ReservationServiceTest]: ReservationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:54.881Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ReservationServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:54.901Z INFO 76 --- [ main] c.e.u.m.b.s.ReservationServiceTest : Starting ReservationServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:54.901Z INFO 76 --- [ main] c.e.u.m.b.s.ReservationServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:54.978Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:54.997Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:55.017Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:55.031Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:4c35509d-f497-43f9-8856-ee3c7e3387fe;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:55.052Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:55.054Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:55.058Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:55.060Z WARN 76 --- [ 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:55.276Z INFO 76 --- [ 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:55.306Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:55.494Z INFO 76 --- [ main] c.e.u.m.b.s.ReservationServiceTest : Started ReservationServiceTest in 0.611 seconds (process running for 17.378) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,re1_0.branch_id,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,re1_0.service_id,re1_0.start_time,re1_0.user_id from reservation_entity re1_0 Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: select re1_0.id,b1_0.id,b1_0.address,b1_0.name,b1_0.phone,b1_0.zone,re1_0.end_time,re1_0.reservation_date,re1_0.reservation_status,s1_0.id,s1_0.description,s1_0.duration,s1_0.name,s1_0.price,re1_0.start_time,u1_0.id,u1_0.address,u1_0.email,u1_0.lastname,u1_0.name,u1_0.password,u1_0.telephone,u1_0.loyaltypoints,sc1_0.id,sc1_0.total from reservation_entity re1_0 left join branch_entity b1_0 on b1_0.id=re1_0.branch_id left join service_entity s1_0 on s1_0.id=re1_0.service_id left join (select * from person_entity t where t.dtype='UserEntity') u1_0 on u1_0.id=re1_0.user_id left join shopping_cart_entity sc1_0 on u1_0.id=sc1_0.user_id where re1_0.id=? Hibernate: delete from reservation_entity Hibernate: delete from service_entity_branches Hibernate: delete from branch_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 branch_entity (address,name,phone,zone,id) values (?,?,?,?,default) Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) Hibernate: insert into reservation_entity (branch_id,end_time,reservation_date,reservation_status,service_id,start_time,user_id,id) values (?,?,?,?,?,?,?,default) [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.741 s - in co.edu.udistrital.mdp.back.services.ReservationServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest 2025-10-13T02:38:55.619Z INFO 76 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest]: ProductShoppingCartServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2025-10-13T02:38:55.628Z INFO 76 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.3) 2025-10-13T02:38:55.644Z INFO 76 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : Starting ProductShoppingCartServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:55.644Z INFO 76 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:55.710Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:55.726Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:55.742Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:55.754Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:e5982554-d591-4ee1-85c7-01e3fc8991e1;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:55.772Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:55.774Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:55.778Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:55.779Z WARN 76 --- [ 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:55.975Z INFO 76 --- [ 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:56.004Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:56.190Z INFO 76 --- [ main] e.u.m.b.s.ProductShoppingCartServiceTest : Started ProductShoppingCartServiceTest in 0.56 seconds (process running for 18.074) 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:56.212Z INFO 76 --- [ 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:56.230Z INFO 76 --- [ 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:56.248Z INFO 76 --- [ 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:56.265Z INFO 76 --- [ 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:56.266Z INFO 76 --- [ 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:56.287Z INFO 76 --- [ 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:56.288Z INFO 76 --- [ 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:56.306Z INFO 76 --- [ 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:56.307Z INFO 76 --- [ 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:56.322Z INFO 76 --- [ 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:56.343Z INFO 76 --- [ 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:56.344Z INFO 76 --- [ 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:56.363Z INFO 76 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to replace shopping carts associated with product with id = 11 2025-10-13T02:38:56.364Z INFO 76 --- [ 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:56.379Z INFO 76 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query all shopping carts of product with id = 12 2025-10-13T02:38:56.380Z INFO 76 --- [ 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:56.398Z INFO 76 --- [ 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:56.415Z INFO 76 --- [ 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:56.431Z INFO 76 --- [ 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:56.449Z INFO 76 --- [ 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:56.465Z INFO 76 --- [ 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:56.466Z INFO 76 --- [ 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:56.466Z INFO 76 --- [ 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:56.467Z INFO 76 --- [ 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:56.467Z INFO 76 --- [ 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:56.467Z INFO 76 --- [ 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:56.467Z INFO 76 --- [ main] c.e.u.m.b.s.ProductShoppingCartService : Starting process to query all shopping carts of product with id = 17 2025-10-13T02:38:56.468Z INFO 76 --- [ 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:56.482Z INFO 76 --- [ 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.863 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:56.507Z INFO 76 --- [ main] c.e.u.m.back.services.OrderServiceTest : Starting OrderServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:56.507Z INFO 76 --- [ main] c.e.u.m.back.services.OrderServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:56.632Z INFO 76 --- [ main] c.e.u.m.back.services.OrderServiceTest : Started OrderServiceTest in 0.14 seconds (process running for 18.516) [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 s - in co.edu.udistrital.mdp.back.services.OrderServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.MultimediaServiceTest 2025-10-13T02:38:56.674Z INFO 76 --- [ 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:56.682Z INFO 76 --- [ 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:56.698Z INFO 76 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : Starting MultimediaServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:56.698Z INFO 76 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:56.761Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:56.777Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:56.793Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:56.805Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:6ed12216-c5e5-4f03-b82c-686fc722b683;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:56.822Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:56.824Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:56.828Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:56.829Z WARN 76 --- [ 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:57.034Z INFO 76 --- [ 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:57.062Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:57.210Z INFO 76 --- [ main] c.e.u.m.b.s.MultimediaServiceTest : Started MultimediaServiceTest in 0.526 seconds (process running for 19.094) 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:57.226Z INFO 76 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to query multimedia with id = {0} 2025-10-13T02:38:57.228Z INFO 76 --- [ 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:57.239Z INFO 76 --- [ 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:57.255Z INFO 76 --- [ 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:57.279Z INFO 76 --- [ 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:57.283Z INFO 76 --- [ 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:57.295Z INFO 76 --- [ 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:57.308Z INFO 76 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to update multimedia with id = {0} 2025-10-13T02:38:57.309Z INFO 76 --- [ 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:57.322Z INFO 76 --- [ 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:57.334Z INFO 76 --- [ 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:57.346Z INFO 76 --- [ 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:57.359Z INFO 76 --- [ 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:57.370Z INFO 76 --- [ 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:57.383Z INFO 76 --- [ main] c.e.u.m.back.services.MultimediaService : Starting process to create multimedia 2025-10-13T02:38:57.383Z INFO 76 --- [ 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:57.394Z INFO 76 --- [ 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.719 s - in co.edu.udistrital.mdp.back.services.MultimediaServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.UserServiceTest 2025-10-13T02:38:57.401Z INFO 76 --- [ 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:57.408Z INFO 76 --- [ 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:57.423Z INFO 76 --- [ main] c.e.u.mdp.back.services.UserServiceTest : Starting UserServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:57.423Z INFO 76 --- [ main] c.e.u.mdp.back.services.UserServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:57.484Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:57.499Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:57.513Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:57.525Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:7d308752-b0d8-4bcc-bb27-b7d95be49d62;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:57.542Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:57.543Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:57.547Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:57.548Z WARN 76 --- [ 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:57.732Z INFO 76 --- [ 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:57.759Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:57.948Z INFO 76 --- [ main] c.e.u.mdp.back.services.UserServiceTest : Started UserServiceTest in 0.537 seconds (process running for 19.832) 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.588 s - in co.edu.udistrital.mdp.back.services.UserServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest 2025-10-13T02:38:57.995Z INFO 76 --- [ 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:58.002Z INFO 76 --- [ 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:58.021Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : Starting ShoppingCartServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:58.022Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:58.116Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:58.134Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:58.149Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:58.161Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:cd2e719e-b3e7-4a5a-95d1-69d3e943e27e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:58.181Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:58.183Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:58.187Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:58.188Z WARN 76 --- [ 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:58.368Z INFO 76 --- [ 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:58.395Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:58.561Z INFO 76 --- [ main] c.e.u.m.b.s.ShoppingCartServiceTest : Started ShoppingCartServiceTest in 0.556 seconds (process running for 20.445) 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:58.582Z INFO 76 --- [ 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:58.584Z INFO 76 --- [ 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:58.599Z INFO 76 --- [ 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:58.614Z INFO 76 --- [ 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:58.632Z INFO 76 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to create shopping cart 2025-10-13T02:38:58.633Z INFO 76 --- [ 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:58.646Z INFO 76 --- [ 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:58.662Z INFO 76 --- [ 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:58.677Z INFO 76 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to delete shopping cart with id = {0} 2025-10-13T02:38:58.678Z INFO 76 --- [ 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:58.692Z INFO 76 --- [ 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:58.707Z INFO 76 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to query shopping cart with id = {0} 2025-10-13T02:38:58.708Z INFO 76 --- [ 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:58.722Z INFO 76 --- [ 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:58.722Z INFO 76 --- [ 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:58.739Z INFO 76 --- [ main] c.e.u.m.b.services.ShoppingCartService : Starting process to update shopping cart with id = {0} 2025-10-13T02:38:58.740Z INFO 76 --- [ 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:58.754Z INFO 76 --- [ 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:58.771Z INFO 76 --- [ 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:58.786Z INFO 76 --- [ 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:58.801Z INFO 76 --- [ 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:58.817Z INFO 76 --- [ 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:58.831Z INFO 76 --- [ 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:58.845Z INFO 76 --- [ 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.847 s - in co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest [INFO] Running co.edu.udistrital.mdp.back.services.PersonServiceTest 2025-10-13T02:38:58.851Z INFO 76 --- [ 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:58.856Z INFO 76 --- [ 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:58.871Z INFO 76 --- [ main] c.e.u.m.back.services.PersonServiceTest : Starting PersonServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back) 2025-10-13T02:38:58.871Z INFO 76 --- [ main] c.e.u.m.back.services.PersonServiceTest : No active profile set, falling back to 1 default profile: "default" 2025-10-13T02:38:58.926Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-13T02:38:58.941Z INFO 76 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces. 2025-10-13T02:38:58.954Z INFO 76 --- [ main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version 2025-10-13T02:38:58.965Z INFO 76 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:301bf7bb-1894-4a8b-9eb6-f27a869a4bfc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa' 2025-10-13T02:38:58.980Z INFO 76 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-13T02:38:58.982Z INFO 76 --- [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-13T02:38:58.985Z INFO 76 --- [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-13T02:38:58.986Z WARN 76 --- [ 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:59.175Z INFO 76 --- [ 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:59.199Z INFO 76 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-13T02:38:59.329Z INFO 76 --- [ main] c.e.u.m.back.services.PersonServiceTest : Started PersonServiceTest in 0.471 seconds (process running for 21.213) 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.524 s - in co.edu.udistrital.mdp.back.services.PersonServiceTest 2025-10-13T02:38:59.402Z INFO 76 --- [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:59.552Z INFO 76 --- [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:59.561Z INFO 76 --- [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:59.569Z INFO 76 --- [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:59.575Z INFO 76 --- [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:59.582Z INFO 76 --- [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:59.587Z INFO 76 --- [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:59.595Z INFO 76 --- [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:59.601Z INFO 76 --- [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:59.607Z INFO 76 --- [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:59.611Z INFO 76 --- [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] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.260 s [INFO] Finished at: 2025-10-13T02:38:59Z [INFO] ------------------------------------------------------------------------ [Pipeline] } $ docker stop --time=1 bbc010cf52486b2ffbfc62ccdfe41a49abce1798d715948a426f24e7321ffa3a $ docker rm -f --volumes bbc010cf52486b2ffbfc62ccdfe41a49abce1798d715948a426f24e7321ffa3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Static Analysis) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh + docker inspect -f . citools-isis2603:latest . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer Slave2 does not seem to be running inside a container $ docker run -t -d -u 1000:1000 -v $HOME/.m2:/root/.m2:z -u root -w /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back:rw,z -v /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** citools-isis2603:latest cat $ docker top ba40d4bb7753267077db34ac773f08e5a08e5f27a6108bf5899d67aecb070c26 -eo pid,comm [Pipeline] { [Pipeline] sh + mvn sonar:sonar -Dsonar.token=**** -Dsonar.host.url=http://10.20.84.26:8082/sonar [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Progress (1): 3.1 kB Progress (2): 3.1 kB | 4.6 kB Progress (2): 6.9 kB | 4.6 kB Progress (2): 6.9 kB | 9.9 kB Progress (2): 11 kB | 9.9 kB Progress (2): 11 kB | 14 kB Progress (2): 16 kB | 14 kB Progress (2): 19 kB | 14 kB Progress (2): 21 kB | 14 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 26 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 18 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml Progress (1): 1.4 kB Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/sonar-maven-plugin/maven-metadata.xml (1.4 kB at 15 kB/s) [WARNING] The artifact org.codehaus.mojo:sonar-maven-plugin:jar:4.0.0.4121 has been relocated to org.sonarsource.scanner.maven:sonar-maven-plugin:jar:4.0.0.4121: SonarQube plugin was moved to SonarSource organisation [INFO] [INFO] ---------< co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back >--------- [INFO] Building MP_202530_G81_E4_DogSpa_Back 0.0.1-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- sonar:4.0.0.4121:sonar (default-cli) @ MP_202530_G81_E4_DogSpa_Back --- [WARNING] 02:39:06.546 Using an unspecified version instead of an explicit plugin version may introduce breaking analysis changes at an unwanted time. It is highly recommended to use an explicit version, e.g. 'org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121'. [INFO] 02:39:06.556 Java 21.0.4 Eclipse Adoptium (64-bit) [INFO] 02:39:06.556 Linux 6.14.0-33-generic (amd64) [INFO] 02:39:06.616 User cache: /root/.sonar/cache [ERROR] 02:39:36.671 SonarQube server [http://10.20.84.26:8082/sonar] can not be reached [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.168 s [INFO] Finished at: 2025-10-13T02:39:36Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project MP_202530_G81_E4_DogSpa_Back: Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Connect timed out -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [Pipeline] } $ docker stop --time=1 ba40d4bb7753267077db34ac773f08e5a08e5f27a6108bf5899d67aecb070c26 $ docker rm -f --volumes ba40d4bb7753267077db34ac773f08e5a08e5f27a6108bf5899d67aecb070c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] deleteDir [Pipeline] dir Running in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/MP_202530_G81_E4_DogSpa_Back@tmp [Pipeline] { [Pipeline] deleteDir [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE