Skip to content
Success

Console Output

Started by user Jose Bocanegra
Obtained Jenkinsfile from git https://github.com/UDFJDC-ModelosProgramacion/MP_202530_G81_E4_DogSpa_Back
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Slave1 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.49.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 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 (refs/remotes/origin/main)
Commit message: "Merge pull request #33 from UDFJDC-ModelosProgramacion/develop"
 > 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 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 # timeout=10
 > git rev-list --no-walk 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 # 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
[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 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 (refs/remotes/origin/main)
Commit message: "Merge pull request #33 from UDFJDC-ModelosProgramacion/develop"
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] script
[Pipeline] {
[Pipeline] isUnix
[Pipeline] withEnv
[Pipeline] {
[Pipeline] sh
+ docker inspect -f . citools-isis2603:latest
.
[Pipeline] }
 > 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.49.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 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 # timeout=10
 > git branch -a -v --no-abbrev # timeout=10
 > git checkout -b main 1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3 # timeout=10
[Pipeline] // withEnv
[Pipeline] withDockerContainer
Slave1 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 be86efa4d6b99ef60fb2389dbe8924c06675a9bba1bbd885e35bfee01a1aec83 -eo pid,comm
[Pipeline] {
[Pipeline] sh
+ java -version
openjdk version "21.0.4" 2024-07-16 LTS
OpenJDK Runtime Environment Temurin-21.0.4+7 (build 21.0.4+7-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.4+7 (build 21.0.4+7-LTS, mixed mode, sharing)
+ mvn clean install
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------< co.edu.udistrital.mdp:MP_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 58 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 20 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.NotificationUserServiceTest
16:34:19.099 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.NotificationUserServiceTest]: NotificationUserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
16:34:19.584 [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.NotificationUserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:20.738Z  INFO 103 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : Starting NotificationUserServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:34:20.741Z  INFO 103 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:21.745Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:21.938Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 177 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:22.096Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:22.467Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:2f7ebdd8-1b20-493a-a10f-f0ae8260dc63;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:23.497Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:23.646Z  INFO 103 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-10-15T16:34:23.777Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:24.648Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:24.769Z  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-15T16:34:28.291Z  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-15T16:34:28.570Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:29.357Z  INFO 103 --- [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2025-10-15T16:34:30.279Z  INFO 103 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : Started NotificationUserServiceTest in 10.541 seconds (process running for 14.039)
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: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.068 s - in co.edu.udistrital.mdp.back.services.NotificationUserServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceTest
2025-10-15T16:34:31.420Z  INFO 103 --- [           main] t.c.s.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.
2025-10-15T16:34:31.431Z  INFO 103 --- [           main] .b.t.c.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-15T16:34:31.488Z  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-15T16:34:31.489Z  INFO 103 --- [           main] c.e.u.m.back.services.BranchServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:31.595Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:31.619Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 24 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:31.644Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:31.697Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:11c8059e-0538-48e4-9fee-facf20344c61;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:31.724Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:31.727Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:31.731Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:31.733Z  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-15T16:34:32.055Z  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-15T16:34:32.118Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:32.368Z  INFO 103 --- [           main] c.e.u.m.back.services.BranchServiceTest  : Started BranchServiceTest in 0.905 seconds (process running for 16.128)
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-15T16:34:32.447Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 1
2025-10-15T16:34:32.447Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 1
2025-10-15T16:34:32.449Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Finished process to find branch with id = 1
2025-10-15T16:34:32.449Z  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-15T16:34:32.461Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch deletion process with id = 4
2025-10-15T16:34:32.462Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 4
2025-10-15T16:34:32.462Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Finished process to find branch with id = 4
2025-10-15T16:34:32.468Z  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-15T16:34:32.482Z  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-15T16:34:32.494Z  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-15T16:34:32.582Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 13
2025-10-15T16:34:32.582Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 13
2025-10-15T16:34:32.583Z  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-15T16:34:32.593Z  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-15T16:34:32.619Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch deletion process with id = 999
2025-10-15T16:34:32.620Z  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-15T16:34:32.633Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 999
2025-10-15T16:34:32.633Z  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-15T16:34:32.648Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 25
2025-10-15T16:34:32.649Z  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-15T16:34:32.659Z  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-15T16:34:32.683Z  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-15T16:34:32.693Z  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-15T16:34:32.705Z  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-15T16:34:32.707Z  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: 1.247 s - in co.edu.udistrital.mdp.back.services.BranchServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.AdminServiceTest
2025-10-15T16:34:32.715Z  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-15T16:34:32.728Z  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-15T16:34:32.767Z  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-15T16:34:32.767Z  INFO 103 --- [           main] c.e.u.m.back.services.AdminServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:32.843Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:32.861Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:32.881Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:32.896Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:bfdd24e1-bfb2-44e6-b3e1-eb9c82bd7a49;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:32.918Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:32.920Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:32.924Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:32.926Z  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-15T16:34:33.212Z  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-15T16:34:33.265Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:33.465Z  INFO 103 --- [           main] c.e.u.m.back.services.AdminServiceTest   : Started AdminServiceTest in 0.732 seconds (process running for 17.225)
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: 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: 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'
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.799 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-15T16:34:33.565Z  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-15T16:34:33.565Z  INFO 103 --- [           main] c.e.u.m.b.services.ProductServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:34.210Z  INFO 103 --- [           main] c.e.u.m.b.services.ProductServiceTest    : Started ProductServiceTest in 0.67 seconds (process running for 17.97)
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.952 s - in co.edu.udistrital.mdp.back.services.ProductServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.PaymentServiceTest
2025-10-15T16:34:34.485Z  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-15T16:34:34.501Z  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-15T16:34:34.555Z  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-15T16:34:34.555Z  INFO 103 --- [           main] c.e.u.m.b.services.PaymentServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:34.722Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:34.759Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 37 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:34.798Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:34.825Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:777a5c88-a7a4-433f-a5ba-c57dc7f3fdcc;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:34.868Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:34.871Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:34.877Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:34.880Z  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-15T16:34:35.378Z  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-15T16:34:35.453Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:35.921Z  INFO 103 --- [           main] c.e.u.m.b.services.PaymentServiceTest    : Started PaymentServiceTest in 1.414 seconds (process running for 19.681)
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-15T16:34:35.994Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to process payment with id = {0}
2025-10-15T16:34:35.996Z  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-15T16:34:36.025Z  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-15T16:34:36.051Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to cancel payment with id = {0}
2025-10-15T16:34:36.052Z  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-15T16:34:36.078Z  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-15T16:34:36.104Z  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-15T16:34:36.137Z  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-15T16:34:36.195Z  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-15T16:34:36.219Z  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-15T16:34:36.256Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to create payment
2025-10-15T16:34:36.258Z  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-15T16:34:36.284Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to query payment with id = {0}
2025-10-15T16:34:36.285Z  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-15T16:34:36.306Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to update payment with id = {0}
2025-10-15T16:34:36.307Z  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-15T16:34:36.325Z  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-15T16:34:36.345Z  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-15T16:34:36.368Z  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-15T16:34:36.388Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to complete payment with id = {0}
2025-10-15T16:34:36.389Z  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-15T16:34:36.409Z  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-15T16:34:36.471Z  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-15T16:34:36.500Z  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-15T16:34:36.518Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to delete payment with id = {0}
2025-10-15T16:34:36.520Z  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-15T16:34:36.539Z  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-15T16:34:36.559Z  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-15T16:34:36.599Z  INFO 103 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to query payments for shopping cart with id = {0}
2025-10-15T16:34:36.600Z  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-15T16:34:36.629Z  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: 2.152 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-15T16:34:36.671Z  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-15T16:34:36.671Z  INFO 103 --- [           main] c.e.u.m.b.services.ServiceServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:36.950Z  INFO 103 --- [           main] c.e.u.m.b.services.ServiceServiceTest    : Started ServiceServiceTest in 0.306 seconds (process running for 20.71)
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.333 s - in co.edu.udistrital.mdp.back.services.ServiceServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest
2025-10-15T16:34:36.982Z  INFO 103 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest]: ServiceBranchServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:34:36.995Z  INFO 103 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:37.020Z  INFO 103 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : Starting ServiceBranchServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:34:37.020Z  INFO 103 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:37.123Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:37.145Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 21 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:37.171Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:37.193Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:06839751-b658-44e9-a5c1-303c2561dd17;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:37.221Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:37.224Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:37.228Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:37.230Z  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-15T16:34:37.600Z  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-15T16:34:37.650Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:38.081Z  INFO 103 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : Started ServiceBranchServiceTest in 1.083 seconds (process running for 21.841)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.095Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.097Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 1
2025-10-15T16:34:38.098Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.099Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 2
2025-10-15T16:34:38.099Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.100Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 3
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.119Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.121Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 4
2025-10-15T16:34:38.121Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.122Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 5
2025-10-15T16:34:38.122Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.123Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 6
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.137Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.139Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 7
2025-10-15T16:34:38.139Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.140Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 8
2025-10-15T16:34:38.140Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.141Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 9
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.154Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.156Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 10
2025-10-15T16:34:38.156Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.157Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 11
2025-10-15T16:34:38.157Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.158Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 12
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.171Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.173Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 13
2025-10-15T16:34:38.173Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.174Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 14
2025-10-15T16:34:38.174Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.175Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 15
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.190Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.191Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 16
2025-10-15T16:34:38.191Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.192Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 17
2025-10-15T16:34:38.192Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.193Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 18
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.208Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.210Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 19
2025-10-15T16:34:38.210Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.211Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 20
2025-10-15T16:34:38.211Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.212Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 21
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:38.224Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.226Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 22
2025-10-15T16:34:38.226Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.227Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 23
2025-10-15T16:34:38.227Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:38.228Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 24
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.249 s - in co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.OrderDetailServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:38.264Z  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-15T16:34:38.264Z  INFO 103 --- [           main] c.e.u.m.b.s.OrderDetailServiceTest       : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:38.409Z  INFO 103 --- [           main] c.e.u.m.b.s.OrderDetailServiceTest       : Started OrderDetailServiceTest in 0.166 seconds (process running for 22.169)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.22 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-15T16:34:38.492Z  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-15T16:34:38.492Z  INFO 103 --- [           main] c.e.u.m.b.s.NotificationServiceTest      : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:38.750Z  INFO 103 --- [           main] c.e.u.m.b.s.NotificationServiceTest      : Started NotificationServiceTest in 0.279 seconds (process running for 22.51)
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.315 s - in co.edu.udistrital.mdp.back.services.NotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest
2025-10-15T16:34:38.792Z  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-15T16:34:38.820Z  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-15T16:34:38.841Z  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-15T16:34:38.842Z  INFO 103 --- [           main] e.u.m.b.s.ShoppingCartProductServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:38.922Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:38.941Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:38.962Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:38.979Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:bbe02545-71e3-4edc-99bf-42fc2f5cc41f;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:39.003Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:39.005Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:39.009Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:39.011Z  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-15T16:34:39.305Z  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-15T16:34:39.341Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:39.605Z  INFO 103 --- [           main] e.u.m.b.s.ShoppingCartProductServiceTest : Started ShoppingCartProductServiceTest in 0.782 seconds (process running for 23.365)
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-15T16:34:39.713Z  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-15T16:34:39.752Z  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-15T16:34:39.774Z  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-15T16:34:39.776Z  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-15T16:34:39.808Z  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-15T16:34:39.832Z  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-15T16:34:39.833Z  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-15T16:34:39.834Z  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-15T16:34:39.834Z  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-15T16:34:39.834Z  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-15T16:34:39.835Z  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-15T16:34:39.835Z  INFO 103 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to query all products of shopping cart with id = 5
2025-10-15T16:34:39.836Z  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-15T16:34:39.860Z  INFO 103 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to replace products associated with shopping cart with id = 6
2025-10-15T16:34:39.862Z  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-15T16:34:39.888Z  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-15T16:34:39.913Z  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-15T16:34:39.934Z  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-15T16:34:39.953Z  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-15T16:34:39.972Z  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-15T16:34:39.973Z  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-15T16:34:39.990Z  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-15T16:34:40.012Z  INFO 103 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to query all products of shopping cart with id = 13
2025-10-15T16:34:40.012Z  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-15T16:34:40.031Z  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-15T16:34:40.032Z  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-15T16:34:40.053Z  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-15T16:34:40.054Z  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-15T16:34:40.074Z  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-15T16:34:40.094Z  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-15T16:34:40.117Z  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-15T16:34:40.117Z  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.324 s - in co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceServiceTest
2025-10-15T16:34:40.124Z  INFO 103 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.BranchServiceServiceTest]: BranchServiceServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:34:40.132Z  INFO 103 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.BranchServiceServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:40.154Z  INFO 103 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : Starting BranchServiceServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:34:40.154Z  INFO 103 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:40.237Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:40.273Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 35 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:40.291Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:40.305Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:45d094fe-deb0-4a70-83de-acffacd5db08;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:40.326Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:40.328Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:40.332Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:40.333Z  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-15T16:34:40.580Z  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-15T16:34:40.613Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:40.841Z  INFO 103 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : Started BranchServiceServiceTest in 0.707 seconds (process running for 24.601)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.854Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.856Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 1
2025-10-15T16:34:40.857Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.858Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 2
2025-10-15T16:34:40.858Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.858Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 3
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.861Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=1 to branch id=1
2025-10-15T16:34:40.863Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=1 to branch id=1
2025-10-15T16:34:40.864Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=0 to branch id=1
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.872Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.874Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 4
2025-10-15T16:34:40.874Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.874Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 5
2025-10-15T16:34:40.875Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.875Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 6
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.877Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=4 to branch id=4
2025-10-15T16:34:40.877Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=4 to branch id=4
2025-10-15T16:34:40.878Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 4
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.885Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.886Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 7
2025-10-15T16:34:40.886Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.887Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 8
2025-10-15T16:34:40.887Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.888Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 9
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.889Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=7 to branch id=7
2025-10-15T16:34:40.890Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=7 to branch id=7
2025-10-15T16:34:40.891Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=7 to branch id=0
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.898Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.899Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 10
2025-10-15T16:34:40.900Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.900Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 11
2025-10-15T16:34:40.900Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.901Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 12
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.903Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=10 to branch id=10
2025-10-15T16:34:40.903Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=10 to branch id=10
2025-10-15T16:34:40.905Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=0 from branch id=10
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.913Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.914Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 13
2025-10-15T16:34:40.914Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.915Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 14
2025-10-15T16:34:40.915Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.916Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 15
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.917Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=13 to branch id=13
2025-10-15T16:34:40.918Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=13 to branch id=13
2025-10-15T16:34:40.919Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=13 from branch id=13
2025-10-15T16:34:40.920Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to remove service id=13 from branch id=13
2025-10-15T16:34:40.920Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 13
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.927Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.928Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 16
2025-10-15T16:34:40.928Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.928Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 17
2025-10-15T16:34:40.928Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.929Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 18
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.931Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=16 to branch id=16
2025-10-15T16:34:40.932Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=16 to branch id=16
2025-10-15T16:34:40.933Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=16 from branch id=0
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.941Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.942Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 19
2025-10-15T16:34:40.943Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.943Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 20
2025-10-15T16:34:40.943Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.944Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 21
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.946Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=19 to branch id=19
2025-10-15T16:34:40.946Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=19 to branch id=19
2025-10-15T16:34:40.947Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=20 to branch id=20
2025-10-15T16:34:40.948Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=20 to branch id=20
2025-10-15T16:34:40.949Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 20
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:34:40.955Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.956Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 22
2025-10-15T16:34:40.956Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.957Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 23
2025-10-15T16:34:40.957Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:34:40.958Z  INFO 103 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 24
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:34:40.959Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=22 to branch id=22
2025-10-15T16:34:40.960Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=22 to branch id=22
2025-10-15T16:34:40.961Z  INFO 103 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 0
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=?
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.837 s - in co.edu.udistrital.mdp.back.services.BranchServiceServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ReviewServiceTest
2025-10-15T16:34:40.967Z  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-15T16:34:40.974Z  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-15T16:34:40.995Z  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-15T16:34:40.995Z  INFO 103 --- [           main] c.e.u.m.back.services.ReviewServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:41.069Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:41.086Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:41.102Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:41.115Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:354027ba-97d5-414a-97f2-f5a6054641f3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:41.135Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:41.136Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:41.140Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:41.142Z  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-15T16:34:41.373Z  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-15T16:34:41.406Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:41.605Z  INFO 103 --- [           main] c.e.u.m.back.services.ReviewServiceTest  : Started ReviewServiceTest in 0.628 seconds (process running for 25.365)
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-15T16:34:41.621Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default)
2025-10-15T16:34:41.622Z  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-15T16:34:41.632Z  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-15T16:34:41.640Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
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-15T16:34:41.649Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review update process with id = 11
2025-10-15T16:34:41.650Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 11
2025-10-15T16:34:41.650Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Finished finding review with id = 11
2025-10-15T16:34:41.651Z  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-15T16:34:41.660Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review deletion process with id = 14
2025-10-15T16:34:41.660Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 14
2025-10-15T16:34:41.660Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Finished finding review with id = 14
2025-10-15T16:34:41.661Z  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-15T16:34:41.671Z  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-15T16:34:41.681Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review deletion process with id = 999
2025-10-15T16:34:41.681Z  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-15T16:34:41.691Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review update process with id = 999
2025-10-15T16:34:41.691Z  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-15T16:34:41.702Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
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-15T16:34:41.712Z  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-15T16:34:41.715Z  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-15T16:34:41.724Z  INFO 103 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 32
2025-10-15T16:34:41.725Z  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.75 s - in co.edu.udistrital.mdp.back.services.ReviewServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ReservationServiceTest
2025-10-15T16:34:41.729Z  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-15T16:34:41.735Z  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-15T16:34:41.753Z  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-15T16:34:41.754Z  INFO 103 --- [           main] c.e.u.m.b.s.ReservationServiceTest       : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:41.821Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:41.837Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:41.852Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:41.865Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:fec4cfcd-b5ab-4a93-843c-c62c2365b88d;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:41.883Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:41.885Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:41.889Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:41.890Z  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-15T16:34:42.102Z  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-15T16:34:42.133Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:42.325Z  INFO 103 --- [           main] c.e.u.m.b.s.ReservationServiceTest       : Started ReservationServiceTest in 0.587 seconds (process running for 26.085)
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.721 s - in co.edu.udistrital.mdp.back.services.ReservationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest
2025-10-15T16:34:42.458Z  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-15T16:34:42.464Z  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-15T16:34:42.481Z  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-15T16:34:42.481Z  INFO 103 --- [           main] e.u.m.b.s.ProductShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:42.549Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:42.565Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:42.581Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:42.593Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:88e43dcb-b513-4eb0-9b36-a3291ce7e2fd;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:42.610Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:42.612Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:42.616Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:42.617Z  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-15T16:34:42.847Z  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-15T16:34:42.881Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:43.087Z  INFO 103 --- [           main] e.u.m.b.s.ProductShoppingCartServiceTest : Started ProductShoppingCartServiceTest in 0.621 seconds (process running for 26.847)
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-15T16:34:43.116Z  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-15T16:34:43.135Z  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-15T16:34:43.154Z  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-15T16:34:43.170Z  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-15T16:34:43.172Z  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-15T16:34:43.194Z  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-15T16:34:43.194Z  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-15T16:34:43.213Z  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-15T16:34:43.213Z  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-15T16:34:43.229Z  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-15T16:34:43.251Z  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-15T16:34:43.253Z  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-15T16:34:43.272Z  INFO 103 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to replace shopping carts associated with product with id = 11
2025-10-15T16:34:43.273Z  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-15T16:34:43.289Z  INFO 103 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to query all shopping carts of product with id = 12
2025-10-15T16:34:43.289Z  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-15T16:34:43.306Z  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-15T16:34:43.322Z  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-15T16:34:43.339Z  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-15T16:34:43.357Z  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-15T16:34:43.374Z  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-15T16:34:43.375Z  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-15T16:34:43.375Z  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-15T16:34:43.375Z  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-15T16:34:43.375Z  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-15T16:34:43.376Z  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-15T16:34:43.376Z  INFO 103 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to query all shopping carts of product with id = 17
2025-10-15T16:34:43.376Z  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-15T16:34:43.391Z  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.934 s - in co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.UserNotificationServiceTest
2025-10-15T16:34:43.397Z  INFO 103 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.UserNotificationServiceTest]: UserNotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:34:43.403Z  INFO 103 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.UserNotificationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:43.423Z  INFO 103 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : Starting UserNotificationServiceTest using Java 21.0.4 with PID 103 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:34:43.423Z  INFO 103 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:43.484Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:43.499Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:43.513Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:43.524Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:662cafca-c23f-4a44-af76-4825fdd27eac;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:43.541Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:43.542Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:43.546Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:43.547Z  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-15T16:34:43.744Z  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-15T16:34:43.773Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:43.988Z  INFO 103 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : Started UserNotificationServiceTest in 0.582 seconds (process running for 27.748)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.606 s - in co.edu.udistrital.mdp.back.services.UserNotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.OrderServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:34:44.033Z  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-15T16:34:44.033Z  INFO 103 --- [           main] c.e.u.m.back.services.OrderServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:44.143Z  INFO 103 --- [           main] c.e.u.m.back.services.OrderServiceTest   : Started OrderServiceTest in 0.127 seconds (process running for 27.903)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.176 s - in co.edu.udistrital.mdp.back.services.OrderServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.MultimediaServiceTest
2025-10-15T16:34:44.192Z  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-15T16:34:44.201Z  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-15T16:34:44.219Z  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-15T16:34:44.219Z  INFO 103 --- [           main] c.e.u.m.b.s.MultimediaServiceTest        : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:44.292Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:44.309Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:44.326Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:44.338Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:1141885b-ee9f-4b03-be0d-172113fb766e;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:44.357Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:44.358Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:44.362Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:44.364Z  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-15T16:34:44.585Z  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-15T16:34:44.612Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:44.779Z  INFO 103 --- [           main] c.e.u.m.b.s.MultimediaServiceTest        : Started MultimediaServiceTest in 0.576 seconds (process running for 28.539)
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-15T16:34:44.799Z  INFO 103 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to query multimedia with id = {0}
2025-10-15T16:34:44.800Z  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-15T16:34:44.827Z  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-15T16:34:44.842Z  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-15T16:34:44.857Z  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-15T16:34:44.861Z  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-15T16:34:44.874Z  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-15T16:34:44.890Z  INFO 103 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to update multimedia with id = {0}
2025-10-15T16:34:44.891Z  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-15T16:34:44.904Z  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-15T16:34:44.917Z  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-15T16:34:44.930Z  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-15T16:34:44.943Z  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-15T16:34:44.955Z  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-15T16:34:44.967Z  INFO 103 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to create multimedia
2025-10-15T16:34:44.968Z  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-15T16:34:44.980Z  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.788 s - in co.edu.udistrital.mdp.back.services.MultimediaServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.UserServiceTest
2025-10-15T16:34:44.987Z  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-15T16:34:44.992Z  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-15T16:34:45.007Z  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-15T16:34:45.007Z  INFO 103 --- [           main] c.e.u.mdp.back.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:45.067Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:45.081Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:45.095Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:45.106Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:3b2e3935-d225-4990-8a0d-9f2ee17cb8ab;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:45.123Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:45.125Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:45.128Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:45.129Z  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-15T16:34:45.305Z  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-15T16:34:45.330Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:45.464Z  INFO 103 --- [           main] c.e.u.mdp.back.services.UserServiceTest  : Started UserServiceTest in 0.47 seconds (process running for 29.224)
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.506 s - in co.edu.udistrital.mdp.back.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
2025-10-15T16:34:45.501Z  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-15T16:34:45.506Z  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-15T16:34:45.519Z  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-15T16:34:45.519Z  INFO 103 --- [           main] c.e.u.m.b.s.ShoppingCartServiceTest      : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:45.575Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:45.589Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:45.601Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:45.611Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:a6008e54-70a0-48c8-9774-ef50ee382467;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:45.626Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:45.627Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:45.631Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:45.632Z  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-15T16:34:45.799Z  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-15T16:34:45.824Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:45.991Z  INFO 103 --- [           main] c.e.u.m.b.s.ShoppingCartServiceTest      : Started ShoppingCartServiceTest in 0.484 seconds (process running for 29.751)
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-15T16:34:46.009Z  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-15T16:34:46.011Z  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-15T16:34:46.028Z  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-15T16:34:46.043Z  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-15T16:34:46.060Z  INFO 103 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to create shopping cart
2025-10-15T16:34:46.060Z  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-15T16:34:46.076Z  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-15T16:34:46.092Z  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-15T16:34:46.107Z  INFO 103 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to delete shopping cart with id = {0}
2025-10-15T16:34:46.108Z  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-15T16:34:46.123Z  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-15T16:34:46.138Z  INFO 103 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to query shopping cart with id = {0}
2025-10-15T16:34:46.139Z  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-15T16:34:46.153Z  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-15T16:34:46.153Z  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-15T16:34:46.170Z  INFO 103 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to update shopping cart with id = {0}
2025-10-15T16:34:46.170Z  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-15T16:34:46.185Z  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-15T16:34:46.202Z  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-15T16:34:46.218Z  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-15T16:34:46.233Z  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-15T16:34:46.247Z  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-15T16:34:46.261Z  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-15T16:34:46.275Z  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.774 s - in co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-15T16:34:46.280Z  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-15T16:34:46.285Z  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-15T16:34:46.299Z  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-15T16:34:46.299Z  INFO 103 --- [           main] c.e.u.m.back.services.PersonServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:34:46.352Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:46.366Z  INFO 103 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:46.380Z  INFO 103 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:34:46.390Z  INFO 103 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:6fe4643b-f109-43c3-afd9-bf31b1325125;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:34:46.405Z  INFO 103 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:46.407Z  INFO 103 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:46.410Z  INFO 103 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:46.411Z  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-15T16:34:46.587Z  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-15T16:34:46.617Z  INFO 103 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:46.773Z  INFO 103 --- [           main] c.e.u.m.back.services.PersonServiceTest  : Started PersonServiceTest in 0.486 seconds (process running for 30.533)
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: 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: 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 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.548 s - in co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-15T16:34:46.841Z  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-15T16:34:46.995Z  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-15T16:34:47.003Z  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-15T16:34:47.010Z  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-15T16:34:47.018Z  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-15T16:34:47.024Z  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-15T16:34:47.030Z  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-15T16:34:47.036Z  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-15T16:34:47.041Z  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-15T16:34:47.045Z  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-15T16:34:47.049Z  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-15T16:34:47.053Z  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-15T16:34:47.057Z  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-15T16:34:47.061Z  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-15T16:34:47.066Z  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: 210, 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 30 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-15T16:34:49.862Z  INFO 263 --- [           main] c.e.udistrital.mdp.back.MainApplication  : Starting MainApplication using Java 21.0.4 with PID 263 (/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-15T16:34:49.864Z  INFO 263 --- [           main] c.e.udistrital.mdp.back.MainApplication  : The following 1 profile is active: "integration-tests"
2025-10-15T16:34:50.604Z  INFO 263 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:34:50.694Z  INFO 263 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 82 ms. Found 14 JPA repository interfaces.
2025-10-15T16:34:51.243Z  INFO 263 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 8999 (http)
2025-10-15T16:34:51.256Z  INFO 263 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2025-10-15T16:34:51.256Z  INFO 263 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.19]
2025-10-15T16:34:51.306Z  INFO 263 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/api]    : Initializing Spring embedded WebApplicationContext
2025-10-15T16:34:51.306Z  INFO 263 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1397 ms
2025-10-15T16:34:51.356Z  INFO 263 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2025-10-15T16:34:51.536Z  INFO 263 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection conn0: url=jdbc:h2:mem:back user=SA
2025-10-15T16:34:51.537Z  INFO 263 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2025-10-15T16:34:51.569Z  INFO 263 --- [           main] o.s.b.a.h2.H2ConsoleAutoConfiguration    : H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:back'
2025-10-15T16:34:51.708Z  INFO 263 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:34:51.754Z  INFO 263 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-10-15T16:34:51.785Z  INFO 263 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:34:51.989Z  INFO 263 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:34:52.029Z  WARN 263 --- [           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-15T16:34:53.164Z  INFO 263 --- [           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-15T16:34:53.251Z  INFO 263 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:53.873Z  INFO 263 --- [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2025-10-15T16:34:54.991Z  INFO 263 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 8999 (http) with context path '/api'
2025-10-15T16:34:55.001Z  INFO 263 --- [           main] c.e.udistrital.mdp.back.MainApplication  : Started MainApplication in 5.537 seconds (process running for 6.163)
[INFO] 
[INFO] --- exec:1.6.0:exec (combine-collection) @ MP_202530_G81_E4_DogSpa_Back ---
Collection 'Branch - Services API' was successfully added.
Collection 'Branch API' was successfully added.
Collection 'Default Tests' was successfully added.
Collection 'Multimedia API' was successfully added.
Collection 'Notification - Users API' was successfully added.
Collection 'Notification API' was successfully added.
Collection 'Order API' was successfully added.
Collection 'Payment API' was successfully added.
Collection 'Product - Shopping Carts API' was successfully added.
Collection 'Product API' was successfully added.
Collection 'Reservation API' was successfully added.
Collection 'Review API' was successfully added.
Collection 'Service - Branches API' was successfully added.
Collection 'Service API' was successfully added.
Collection 'Shopping Cart - Products API' was successfully added.
Collection 'Shopping Cart API' was successfully added.
Collection 'User - Notifications API' was successfully added.
Collection 'User & Person API' 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-15T16:34:59.843Z  INFO 263 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested.
2025-10-15T16:34:59.854Z  INFO 263 --- [on(2)-127.0.0.1] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:34:59.868Z  INFO 263 --- [on(2)-127.0.0.1] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...
2025-10-15T16:34:59.870Z  INFO 263 --- [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:  54.701 s
[INFO] Finished at: 2025-10-15T16:35:00Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 be86efa4d6b99ef60fb2389dbe8924c06675a9bba1bbd885e35bfee01a1aec83
$ docker rm -f --volumes be86efa4d6b99ef60fb2389dbe8924c06675a9bba1bbd885e35bfee01a1aec83
[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
Slave1 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 ecb7e196b14afaa88f91d27ab9859bde04247f2fbcae428aabc87b4dbd2bc371 -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.NotificationUserServiceTest
16:35:07.616 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.NotificationUserServiceTest]: NotificationUserServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
16:35:07.863 [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.NotificationUserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:08.518Z  INFO 76 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : Starting NotificationUserServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:35:08.520Z  INFO 76 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:09.121Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:09.257Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 122 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:09.362Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:09.613Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:00922479-7551-496c-a30a-cdbb45096544;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:10.302Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:10.411Z  INFO 76 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 6.4.4.Final
2025-10-15T16:35:10.483Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:10.906Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:11.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-15T16:35:13.165Z  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-15T16:35:13.328Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:14.010Z  INFO 76 --- [           main] o.s.d.j.r.query.QueryEnhancerFactory     : Hibernate is in classpath; If applicable, HQL parser will be used.
2025-10-15T16:35:14.950Z  INFO 76 --- [           main] c.e.u.m.b.s.NotificationUserServiceTest  : Started NotificationUserServiceTest in 6.977 seconds (process running for 8.84)
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: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.469 s - in co.edu.udistrital.mdp.back.services.NotificationUserServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceTest
2025-10-15T16:35:15.794Z  INFO 76 --- [           main] t.c.s.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.
2025-10-15T16:35:15.813Z  INFO 76 --- [           main] .b.t.c.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-15T16:35:15.909Z  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-15T16:35:15.910Z  INFO 76 --- [           main] c.e.u.m.back.services.BranchServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:16.024Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:16.048Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 23 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:16.073Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:16.092Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:1904c774-00c8-4d69-9dc8-302ac1d5fcea;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:16.118Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:16.121Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:16.125Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:16.127Z  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-15T16:35:16.444Z  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-15T16:35:16.508Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:16.791Z  INFO 76 --- [           main] c.e.u.m.back.services.BranchServiceTest  : Started BranchServiceTest in 0.936 seconds (process running for 10.682)
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-15T16:35:16.887Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 1
2025-10-15T16:35:16.888Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 1
2025-10-15T16:35:16.889Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Finished process to find branch with id = 1
2025-10-15T16:35:16.891Z  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-15T16:35:16.904Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch deletion process with id = 4
2025-10-15T16:35:16.905Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 4
2025-10-15T16:35:16.905Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Finished process to find branch with id = 4
2025-10-15T16:35:16.912Z  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-15T16:35:16.927Z  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-15T16:35:16.940Z  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-15T16:35:17.029Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 13
2025-10-15T16:35:17.030Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 13
2025-10-15T16:35:17.030Z  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-15T16:35:17.041Z  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-15T16:35:17.070Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch deletion process with id = 999
2025-10-15T16:35:17.070Z  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-15T16:35:17.087Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch update process with id = 999
2025-10-15T16:35:17.087Z  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-15T16:35:17.101Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting process to find branch with id = 25
2025-10-15T16:35:17.102Z  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-15T16:35:17.113Z  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-15T16:35:17.137Z  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-15T16:35:17.149Z  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-15T16:35:17.161Z  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-15T16:35:17.162Z  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: 1.314 s - in co.edu.udistrital.mdp.back.services.BranchServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.AdminServiceTest
2025-10-15T16:35:17.169Z  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-15T16:35:17.178Z  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-15T16:35:17.202Z  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-15T16:35:17.202Z  INFO 76 --- [           main] c.e.u.m.back.services.AdminServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:17.287Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:17.306Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:17.326Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:17.341Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:d538a314-e31b-4a07-bc60-395eb24bf037;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:17.363Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:17.365Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:17.369Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:17.371Z  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-15T16:35:17.636Z  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-15T16:35:17.683Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:17.879Z  INFO 76 --- [           main] c.e.u.m.back.services.AdminServiceTest   : Started AdminServiceTest in 0.698 seconds (process running for 11.77)
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: 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: 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'
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.75 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-15T16:35:17.979Z  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-15T16:35:17.979Z  INFO 76 --- [           main] c.e.u.m.b.services.ProductServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:18.585Z  INFO 76 --- [           main] c.e.u.m.b.services.ProductServiceTest    : Started ProductServiceTest in 0.632 seconds (process running for 12.475)
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.879 s - in co.edu.udistrital.mdp.back.services.ProductServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.PaymentServiceTest
2025-10-15T16:35:18.831Z  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-15T16:35:18.848Z  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-15T16:35:18.901Z  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-15T16:35:18.902Z  INFO 76 --- [           main] c.e.u.m.b.services.PaymentServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:19.067Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:19.101Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 33 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:19.139Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:19.167Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:a528484e-dd1d-4b68-8fa7-35fa45c4f336;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:19.210Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:19.213Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:19.219Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:19.223Z  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-15T16:35:19.677Z  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-15T16:35:19.765Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:20.247Z  INFO 76 --- [           main] c.e.u.m.b.services.PaymentServiceTest    : Started PaymentServiceTest in 1.395 seconds (process running for 14.138)
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-15T16:35:20.310Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to process payment with id = {0}
2025-10-15T16:35:20.312Z  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-15T16:35:20.336Z  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-15T16:35:20.371Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to cancel payment with id = {0}
2025-10-15T16:35:20.372Z  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-15T16:35:20.395Z  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-15T16:35:20.417Z  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-15T16:35:20.454Z  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-15T16:35:20.498Z  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-15T16:35:20.518Z  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-15T16:35:20.539Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to create payment
2025-10-15T16:35:20.546Z  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-15T16:35:20.565Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to query payment with id = {0}
2025-10-15T16:35:20.566Z  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-15T16:35:20.584Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to update payment with id = {0}
2025-10-15T16:35:20.584Z  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-15T16:35:20.603Z  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-15T16:35:20.638Z  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-15T16:35:20.664Z  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-15T16:35:20.681Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to complete payment with id = {0}
2025-10-15T16:35:20.681Z  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-15T16:35:20.699Z  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-15T16:35:20.719Z  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-15T16:35:20.739Z  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-15T16:35:20.759Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to delete payment with id = {0}
2025-10-15T16:35:20.761Z  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-15T16:35:20.820Z  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-15T16:35:20.838Z  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-15T16:35:20.875Z  INFO 76 --- [           main] c.e.u.mdp.back.services.PaymentService   : Starting process to query payments for shopping cart with id = {0}
2025-10-15T16:35:20.876Z  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-15T16:35:20.903Z  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.078 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-15T16:35:20.947Z  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-15T16:35:20.948Z  INFO 76 --- [           main] c.e.u.m.b.services.ServiceServiceTest    : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:21.187Z  INFO 76 --- [           main] c.e.u.m.b.services.ServiceServiceTest    : Started ServiceServiceTest in 0.265 seconds (process running for 15.077)
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.294 s - in co.edu.udistrital.mdp.back.services.ServiceServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest
2025-10-15T16:35:21.217Z  INFO 76 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest]: ServiceBranchServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:35:21.230Z  INFO 76 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:21.255Z  INFO 76 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : Starting ServiceBranchServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:35:21.256Z  INFO 76 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:21.354Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:21.377Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:21.402Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:21.421Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:7ba05544-086e-461a-a751-c83c851baba5;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:21.446Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:21.448Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:21.453Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:21.455Z  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-15T16:35:21.752Z  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-15T16:35:21.792Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:22.232Z  INFO 76 --- [           main] c.e.u.m.b.s.ServiceBranchServiceTest     : Started ServiceBranchServiceTest in 0.998 seconds (process running for 16.122)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.244Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.246Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 1
2025-10-15T16:35:22.247Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.247Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 2
2025-10-15T16:35:22.247Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.248Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 3
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.266Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.267Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 4
2025-10-15T16:35:22.267Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.268Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 5
2025-10-15T16:35:22.268Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.268Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 6
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.283Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.284Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 7
2025-10-15T16:35:22.285Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.285Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 8
2025-10-15T16:35:22.286Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.286Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 9
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.300Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.301Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 10
2025-10-15T16:35:22.302Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.302Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 11
2025-10-15T16:35:22.302Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.303Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 12
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.316Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.318Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 13
2025-10-15T16:35:22.318Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.319Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 14
2025-10-15T16:35:22.319Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.319Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 15
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.332Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.333Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 16
2025-10-15T16:35:22.333Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.334Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 17
2025-10-15T16:35:22.335Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.335Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 18
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.348Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.349Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 19
2025-10-15T16:35:22.349Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.350Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 20
2025-10-15T16:35:22.350Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.351Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 21
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:22.362Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.364Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 22
2025-10-15T16:35:22.364Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.365Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 23
2025-10-15T16:35:22.365Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:22.365Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 24
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.145 s - in co.edu.udistrital.mdp.back.services.ServiceBranchServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.OrderDetailServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:22.404Z  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-15T16:35:22.404Z  INFO 76 --- [           main] c.e.u.m.b.s.OrderDetailServiceTest       : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:22.530Z  INFO 76 --- [           main] c.e.u.m.b.s.OrderDetailServiceTest       : Started OrderDetailServiceTest in 0.145 seconds (process running for 16.42)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.192 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-15T16:35:22.603Z  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-15T16:35:22.604Z  INFO 76 --- [           main] c.e.u.m.b.s.NotificationServiceTest      : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:22.848Z  INFO 76 --- [           main] c.e.u.m.b.s.NotificationServiceTest      : Started NotificationServiceTest in 0.264 seconds (process running for 16.739)
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 s - in co.edu.udistrital.mdp.back.services.NotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest
2025-10-15T16:35:22.883Z  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-15T16:35:22.896Z  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-15T16:35:22.917Z  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-15T16:35:22.917Z  INFO 76 --- [           main] e.u.m.b.s.ShoppingCartProductServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:23.019Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:23.038Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:23.059Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:23.075Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:b36a3a8e-1383-4c7a-a97d-db608002bdf0;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:23.097Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:23.099Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:23.104Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:23.106Z  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-15T16:35:23.379Z  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-15T16:35:23.416Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:23.644Z  INFO 76 --- [           main] e.u.m.b.s.ShoppingCartProductServiceTest : Started ShoppingCartProductServiceTest in 0.745 seconds (process running for 17.534)
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-15T16:35:23.689Z  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-15T16:35:23.710Z  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-15T16:35:23.731Z  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-15T16:35:23.732Z  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-15T16:35:23.762Z  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-15T16:35:23.781Z  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-15T16:35:23.782Z  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-15T16:35:23.782Z  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-15T16:35:23.782Z  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-15T16:35:23.782Z  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-15T16:35:23.783Z  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-15T16:35:23.783Z  INFO 76 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to query all products of shopping cart with id = 5
2025-10-15T16:35:23.783Z  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-15T16:35:23.806Z  INFO 76 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to replace products associated with shopping cart with id = 6
2025-10-15T16:35:23.807Z  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-15T16:35:23.832Z  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-15T16:35:23.854Z  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-15T16:35:23.875Z  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-15T16:35:23.894Z  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-15T16:35:23.915Z  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-15T16:35:23.916Z  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-15T16:35:23.934Z  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-15T16:35:23.956Z  INFO 76 --- [           main] c.e.u.m.b.s.ShoppingCartProductService   : Starting process to query all products of shopping cart with id = 13
2025-10-15T16:35:23.957Z  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-15T16:35:23.975Z  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-15T16:35:23.976Z  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-15T16:35:23.996Z  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-15T16:35:23.997Z  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-15T16:35:24.017Z  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-15T16:35:24.036Z  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-15T16:35:24.063Z  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-15T16:35:24.064Z  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.18 s - in co.edu.udistrital.mdp.back.services.ShoppingCartProductServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.BranchServiceServiceTest
2025-10-15T16:35:24.071Z  INFO 76 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.BranchServiceServiceTest]: BranchServiceServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:35:24.080Z  INFO 76 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.BranchServiceServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:24.100Z  INFO 76 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : Starting BranchServiceServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:35:24.100Z  INFO 76 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:24.174Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:24.193Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 18 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:24.211Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:24.225Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:55b84d89-d58e-4452-a4f9-df81449f879b;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:24.244Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:24.246Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:24.250Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:24.251Z  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-15T16:35:24.531Z  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-15T16:35:24.606Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:24.832Z  INFO 76 --- [           main] c.e.u.m.b.s.BranchServiceServiceTest     : Started BranchServiceServiceTest in 0.75 seconds (process running for 18.722)
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.846Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.849Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 1
2025-10-15T16:35:24.849Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.850Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 2
2025-10-15T16:35:24.850Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.851Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 3
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.853Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=1 to branch id=1
2025-10-15T16:35:24.856Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=1 to branch id=1
2025-10-15T16:35:24.857Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=0 to branch id=1
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.865Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.866Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 4
2025-10-15T16:35:24.866Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.867Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 5
2025-10-15T16:35:24.868Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.868Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 6
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.870Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=4 to branch id=4
2025-10-15T16:35:24.870Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=4 to branch id=4
2025-10-15T16:35:24.871Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 4
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.877Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.878Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 7
2025-10-15T16:35:24.878Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.879Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 8
2025-10-15T16:35:24.879Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.879Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 9
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.881Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=7 to branch id=7
2025-10-15T16:35:24.882Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=7 to branch id=7
2025-10-15T16:35:24.882Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=7 to branch id=0
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.889Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.890Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 10
2025-10-15T16:35:24.891Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.892Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 11
2025-10-15T16:35:24.892Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.892Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 12
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.894Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=10 to branch id=10
2025-10-15T16:35:24.894Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=10 to branch id=10
2025-10-15T16:35:24.896Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=0 from branch id=10
Hibernate: select se1_0.id,se1_0.description,se1_0.duration,se1_0.name,se1_0.price from service_entity se1_0 where se1_0.id=?
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.903Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.904Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 13
2025-10-15T16:35:24.904Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.905Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 14
2025-10-15T16:35:24.905Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.906Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 15
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.907Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=13 to branch id=13
2025-10-15T16:35:24.908Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=13 to branch id=13
2025-10-15T16:35:24.909Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=13 from branch id=13
2025-10-15T16:35:24.910Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to remove service id=13 from branch id=13
2025-10-15T16:35:24.911Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 13
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.917Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.918Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 16
2025-10-15T16:35:24.919Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.919Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 17
2025-10-15T16:35:24.919Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.920Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 18
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.922Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=16 to branch id=16
2025-10-15T16:35:24.922Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=16 to branch id=16
2025-10-15T16:35:24.923Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to remove service id=16 from branch id=0
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: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.931Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.932Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 19
2025-10-15T16:35:24.932Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.933Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 20
2025-10-15T16:35:24.933Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.933Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 21
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.935Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=19 to branch id=19
2025-10-15T16:35:24.936Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=19 to branch id=19
2025-10-15T16:35:24.937Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=20 to branch id=20
2025-10-15T16:35:24.939Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=20 to branch id=20
2025-10-15T16:35:24.939Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 20
Hibernate: delete from service_entity_branches
Hibernate: delete from branch_entity
Hibernate: delete from service_entity_branches
Hibernate: delete from service_entity
2025-10-15T16:35:24.946Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 0
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.948Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 22
2025-10-15T16:35:24.948Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 1
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.948Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 23
2025-10-15T16:35:24.948Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Starting branch creation process with name = Sucursal 2
Hibernate: insert into branch_entity (address,name,phone,zone,id) values (?,?,?,?,default)
2025-10-15T16:35:24.949Z  INFO 76 --- [           main] c.e.u.mdp.back.services.BranchService    : Branch creation process finished with id = 24
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
Hibernate: insert into service_entity (description,duration,name,price,id) values (?,?,?,?,default)
2025-10-15T16:35:24.950Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Starting process to add service id=22 to branch id=22
2025-10-15T16:35:24.951Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Finished process to add service id=22 to branch id=22
2025-10-15T16:35:24.952Z  INFO 76 --- [           main] c.e.u.m.b.services.BranchServiceService  : Fetching services for branch with id = 0
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=?
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.883 s - in co.edu.udistrital.mdp.back.services.BranchServiceServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ReviewServiceTest
2025-10-15T16:35:24.958Z  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-15T16:35:24.965Z  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-15T16:35:24.983Z  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-15T16:35:24.983Z  INFO 76 --- [           main] c.e.u.m.back.services.ReviewServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:25.056Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:25.072Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 16 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:25.089Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:25.102Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:92beabff-4567-4f7e-869a-e84be1618874;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:25.120Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:25.122Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:25.126Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:25.127Z  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-15T16:35:25.364Z  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-15T16:35:25.395Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:25.604Z  INFO 76 --- [           main] c.e.u.m.back.services.ReviewServiceTest  : Started ReviewServiceTest in 0.637 seconds (process running for 19.494)
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-15T16:35:25.619Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
Hibernate: insert into review_entity (comments,rating,review_date,service_id,id) values (?,?,?,?,default)
2025-10-15T16:35:25.621Z  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-15T16:35:25.630Z  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-15T16:35:25.640Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
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-15T16:35:25.649Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review update process with id = 11
2025-10-15T16:35:25.649Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 11
2025-10-15T16:35:25.650Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Finished finding review with id = 11
2025-10-15T16:35:25.650Z  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-15T16:35:25.659Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review deletion process with id = 14
2025-10-15T16:35:25.659Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 14
2025-10-15T16:35:25.660Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Finished finding review with id = 14
2025-10-15T16:35:25.660Z  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-15T16:35:25.669Z  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-15T16:35:25.680Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review deletion process with id = 999
2025-10-15T16:35:25.680Z  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-15T16:35:25.690Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review update process with id = 999
2025-10-15T16:35:25.690Z  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-15T16:35:25.700Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting review creation process with date = 2025-10-15
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-15T16:35:25.709Z  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-15T16:35:25.713Z  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-15T16:35:25.723Z  INFO 76 --- [           main] c.e.u.mdp.back.services.ReviewService    : Starting process to find review with id = 32
2025-10-15T16:35:25.724Z  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.765 s - in co.edu.udistrital.mdp.back.services.ReviewServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ReservationServiceTest
2025-10-15T16:35:25.728Z  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-15T16:35:25.737Z  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-15T16:35:25.754Z  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-15T16:35:25.754Z  INFO 76 --- [           main] c.e.u.m.b.s.ReservationServiceTest       : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:25.819Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:25.835Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:25.850Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:25.862Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:13206690-21b8-4da3-bc39-aad553374c7c;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:25.913Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:25.915Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:25.920Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:25.922Z  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-15T16:35:26.203Z  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-15T16:35:26.243Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:26.455Z  INFO 76 --- [           main] c.e.u.m.b.s.ReservationServiceTest       : Started ReservationServiceTest in 0.716 seconds (process running for 20.346)
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.849 s - in co.edu.udistrital.mdp.back.services.ReservationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest
2025-10-15T16:35:26.584Z  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-15T16:35:26.590Z  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-15T16:35:26.607Z  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-15T16:35:26.607Z  INFO 76 --- [           main] e.u.m.b.s.ProductShoppingCartServiceTest : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:26.673Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:26.689Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:26.704Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:26.717Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:45d2134f-f597-4051-8e6a-a7a027625c68;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:26.734Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:26.736Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:26.740Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:26.742Z  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-15T16:35:26.965Z  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-15T16:35:26.992Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:27.141Z  INFO 76 --- [           main] e.u.m.b.s.ProductShoppingCartServiceTest : Started ProductShoppingCartServiceTest in 0.548 seconds (process running for 21.031)
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-15T16:35:27.162Z  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-15T16:35:27.180Z  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-15T16:35:27.197Z  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-15T16:35:27.212Z  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-15T16:35:27.213Z  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-15T16:35:27.233Z  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-15T16:35:27.234Z  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-15T16:35:27.251Z  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-15T16:35:27.251Z  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-15T16:35:27.267Z  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-15T16:35:27.288Z  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-15T16:35:27.288Z  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-15T16:35:27.309Z  INFO 76 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to replace shopping carts associated with product with id = 11
2025-10-15T16:35:27.310Z  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-15T16:35:27.326Z  INFO 76 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to query all shopping carts of product with id = 12
2025-10-15T16:35:27.326Z  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-15T16:35:27.343Z  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-15T16:35:27.359Z  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-15T16:35:27.376Z  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-15T16:35:27.393Z  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-15T16:35:27.409Z  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-15T16:35:27.410Z  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-15T16:35:27.410Z  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-15T16:35:27.410Z  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-15T16:35:27.410Z  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-15T16:35:27.411Z  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-15T16:35:27.411Z  INFO 76 --- [           main] c.e.u.m.b.s.ProductShoppingCartService   : Starting process to query all shopping carts of product with id = 17
2025-10-15T16:35:27.411Z  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-15T16:35:27.426Z  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.84 s - in co.edu.udistrital.mdp.back.services.ProductShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.UserNotificationServiceTest
2025-10-15T16:35:27.432Z  INFO 76 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [co.edu.udistrital.mdp.back.services.UserNotificationServiceTest]: UserNotificationServiceTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2025-10-15T16:35:27.459Z  INFO 76 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration co.edu.udistrital.mdp.back.MainApplication for test class co.edu.udistrital.mdp.back.services.UserNotificationServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:27.474Z  INFO 76 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : Starting UserNotificationServiceTest using Java 21.0.4 with PID 76 (started by root in /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back)
2025-10-15T16:35:27.474Z  INFO 76 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:27.535Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:27.550Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:27.564Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:27.575Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:0238c376-1485-43c3-9d86-8c5f38327ea7;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:27.592Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:27.594Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:27.597Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:27.599Z  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-15T16:35:27.788Z  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-15T16:35:27.814Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:27.951Z  INFO 76 --- [           main] c.e.u.m.b.s.UserNotificationServiceTest  : Started UserNotificationServiceTest in 0.49 seconds (process running for 21.841)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
Hibernate: insert into person_entity (address,email,lastname,name,password,telephone,loyaltypoints,dtype,id) values (?,?,?,?,?,?,?,'UserEntity',default)
Hibernate: insert into notification_entity (date,message,read,id) values (?,?,?,default)
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.527 s - in co.edu.udistrital.mdp.back.services.UserNotificationServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.OrderServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:27.987Z  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-15T16:35:27.987Z  INFO 76 --- [           main] c.e.u.m.back.services.OrderServiceTest   : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:28.089Z  INFO 76 --- [           main] c.e.u.m.back.services.OrderServiceTest   : Started OrderServiceTest in 0.114 seconds (process running for 21.979)
[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.147 s - in co.edu.udistrital.mdp.back.services.OrderServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.MultimediaServiceTest
2025-10-15T16:35:28.129Z  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-15T16:35:28.135Z  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-15T16:35:28.170Z  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-15T16:35:28.170Z  INFO 76 --- [           main] c.e.u.m.b.s.MultimediaServiceTest        : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:28.229Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:28.243Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:28.257Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:28.268Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:eeace8a2-b10b-42f2-a582-91599c532583;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:28.284Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:28.285Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:28.289Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:28.290Z  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-15T16:35:28.472Z  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-15T16:35:28.498Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:28.644Z  INFO 76 --- [           main] c.e.u.m.b.s.MultimediaServiceTest        : Started MultimediaServiceTest in 0.506 seconds (process running for 22.534)
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-15T16:35:28.662Z  INFO 76 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to query multimedia with id = {0}
2025-10-15T16:35:28.664Z  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-15T16:35:28.676Z  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-15T16:35:28.692Z  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-15T16:35:28.731Z  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-15T16:35:28.739Z  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-15T16:35:28.755Z  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-15T16:35:28.768Z  INFO 76 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to update multimedia with id = {0}
2025-10-15T16:35:28.769Z  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-15T16:35:28.781Z  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-15T16:35:28.793Z  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-15T16:35:28.807Z  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-15T16:35:28.825Z  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-15T16:35:28.838Z  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-15T16:35:28.851Z  INFO 76 --- [           main] c.e.u.m.back.services.MultimediaService  : Starting process to create multimedia
2025-10-15T16:35:28.852Z  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-15T16:35:28.865Z  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.735 s - in co.edu.udistrital.mdp.back.services.MultimediaServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.UserServiceTest
2025-10-15T16:35:28.872Z  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-15T16:35:28.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.UserServiceTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::                (v3.2.3)

2025-10-15T16:35:28.903Z  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-15T16:35:28.903Z  INFO 76 --- [           main] c.e.u.mdp.back.services.UserServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:28.967Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:28.983Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 15 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:29.000Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:29.036Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:db69db7d-f96e-44a5-815e-95ef61e7bc15;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:29.061Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:29.063Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:29.071Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:29.075Z  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-15T16:35:29.282Z  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-15T16:35:29.315Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:29.473Z  INFO 76 --- [           main] c.e.u.mdp.back.services.UserServiceTest  : Started UserServiceTest in 0.585 seconds (process running for 23.363)
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.613 s - in co.edu.udistrital.mdp.back.services.UserServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
2025-10-15T16:35:29.518Z  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-15T16:35:29.524Z  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-15T16:35:29.539Z  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-15T16:35:29.539Z  INFO 76 --- [           main] c.e.u.m.b.s.ShoppingCartServiceTest      : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:29.597Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:29.611Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:29.624Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:29.634Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:f71bd94e-e4a1-468c-beba-fda39b7765bd;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:29.649Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:29.650Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:29.654Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:29.655Z  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-15T16:35:29.829Z  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-15T16:35:29.854Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:30.017Z  INFO 76 --- [           main] c.e.u.m.b.s.ShoppingCartServiceTest      : Started ShoppingCartServiceTest in 0.491 seconds (process running for 23.907)
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-15T16:35:30.036Z  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-15T16:35:30.037Z  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-15T16:35:30.054Z  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-15T16:35:30.070Z  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-15T16:35:30.086Z  INFO 76 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to create shopping cart
2025-10-15T16:35:30.086Z  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-15T16:35:30.100Z  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-15T16:35:30.116Z  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-15T16:35:30.131Z  INFO 76 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to delete shopping cart with id = {0}
2025-10-15T16:35:30.132Z  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-15T16:35:30.147Z  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-15T16:35:30.163Z  INFO 76 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to query shopping cart with id = {0}
2025-10-15T16:35:30.164Z  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-15T16:35:30.178Z  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-15T16:35:30.179Z  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-15T16:35:30.196Z  INFO 76 --- [           main] c.e.u.m.b.services.ShoppingCartService   : Starting process to update shopping cart with id = {0}
2025-10-15T16:35:30.196Z  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-15T16:35:30.212Z  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-15T16:35:30.229Z  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-15T16:35:30.246Z  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-15T16:35:30.261Z  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-15T16:35:30.276Z  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-15T16:35:30.291Z  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-15T16:35:30.305Z  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.79 s - in co.edu.udistrital.mdp.back.services.ShoppingCartServiceTest
[INFO] Running co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-15T16:35:30.310Z  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-15T16:35:30.314Z  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-15T16:35:30.328Z  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-15T16:35:30.328Z  INFO 76 --- [           main] c.e.u.m.back.services.PersonServiceTest  : No active profile set, falling back to 1 default profile: "default"
2025-10-15T16:35:30.380Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2025-10-15T16:35:30.394Z  INFO 76 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 14 JPA repository interfaces.
2025-10-15T16:35:30.405Z  INFO 76 --- [           main] beddedDataSourceBeanFactoryPostProcessor : Replacing 'dataSource' DataSource bean with embedded version
2025-10-15T16:35:30.415Z  INFO 76 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:6d250346-0556-4c61-b38f-e8342626b4b3;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2025-10-15T16:35:30.430Z  INFO 76 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2025-10-15T16:35:30.432Z  INFO 76 --- [           main] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2025-10-15T16:35:30.435Z  INFO 76 --- [           main] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2025-10-15T16:35:30.436Z  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-15T16:35:30.637Z  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-15T16:35:30.666Z  INFO 76 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2025-10-15T16:35:30.860Z  INFO 76 --- [           main] c.e.u.m.back.services.PersonServiceTest  : Started PersonServiceTest in 0.543 seconds (process running for 24.75)
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: 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: 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 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.613 s - in co.edu.udistrital.mdp.back.services.PersonServiceTest
2025-10-15T16:35:31.076Z  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-15T16:35:31.090Z  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-15T16:35:31.098Z  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-15T16:35:31.105Z  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-15T16:35:31.114Z  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-15T16:35:31.121Z  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-15T16:35:31.127Z  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-15T16:35:31.133Z  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-15T16:35:31.139Z  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-15T16:35:31.145Z  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-15T16:35:31.150Z  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-15T16:35:31.156Z  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-15T16:35:31.162Z  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-15T16:35:31.167Z  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-15T16:35:31.172Z  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: 210, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  26.931 s
[INFO] Finished at: 2025-10-15T16:35:31Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 ecb7e196b14afaa88f91d27ab9859bde04247f2fbcae428aabc87b4dbd2bc371
$ docker rm -f --volumes ecb7e196b14afaa88f91d27ab9859bde04247f2fbcae428aabc87b4dbd2bc371
[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
Slave1 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 5c05702d9aa67b6042e31f89e7e48f14594a7d366f97ebc990ed302f3e137e99 -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/apache/maven/plugins/maven-metadata.xml
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Progress (1): 4.6 kB
Progress (2): 4.6 kB | 3.1 kB
Progress (2): 9.9 kB | 3.1 kB
Progress (2): 9.9 kB | 8.0 kB
Progress (2): 9.9 kB | 11 kB 
Progress (2): 9.9 kB | 16 kB
Progress (2): 9.9 kB | 20 kB
Progress (2): 9.9 kB | 21 kB
Progress (2): 14 kB | 21 kB 
                           
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 19 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 13 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 14 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] 16:35:40.065 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] 16:35:40.074 Java 21.0.4 Eclipse Adoptium (64-bit)
[INFO] 16:35:40.075 Linux 6.14.0-33-generic (amd64)
[INFO] 16:35:40.141 User cache: /root/.sonar/cache
[INFO] 16:35:40.724 Communicating with SonarQube Server 25.3.0.104237
[INFO] 16:35:40.741 Default locale: "en_US", source code encoding: "UTF-8"
[INFO] 16:35:42.874 Load global settings
[INFO] 16:35:42.957 Load global settings (done) | time=85ms
[INFO] 16:35:42.973 Server id: 243B8A4D-AZWSB3madBdjq_cKUIEO
[INFO] 16:35:42.985 Loading required plugins
[INFO] 16:35:42.986 Load plugins index
[INFO] 16:35:43.032 Load plugins index (done) | time=47ms
[INFO] 16:35:43.032 Load/download plugins
[INFO] 16:35:43.298 Load/download plugins (done) | time=265ms
[INFO] 16:35:43.636 Process project properties
[INFO] 16:35:43.650 Process project properties (done) | time=14ms
[INFO] 16:35:43.662 Project key: co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:43.662 Base dir: /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:43.662 Working dir: /home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/sonar
[INFO] 16:35:43.669 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back'
[INFO] 16:35:43.698 Load project settings for component key: 'co.edu.udistrital.mdp:MP_202530_G81_E4_DogSpa_Back' (done) | time=29ms
[INFO] 16:35:43.728 Load quality profiles
[INFO] 16:35:43.813 Load quality profiles (done) | time=85ms
[INFO] 16:35:43.826 Auto-configuring with CI 'Jenkins'
[INFO] 16:35:43.861 Load active rules
[INFO] 16:35:44.164 Load active rules (done) | time=303ms
[INFO] 16:35:44.171 Load analysis cache
[INFO] 16:35:44.184 Load analysis cache (404) | time=13ms
[INFO] 16:35:44.253 Preprocessing files...
[INFO] 16:35:44.686 2 languages detected in 79 preprocessed files
[INFO] 16:35:44.687 0 files ignored because of scm ignore settings
[INFO] 16:35:44.689 Loading plugins for detected languages
[INFO] 16:35:44.689 Load/download plugins
[INFO] 16:35:44.993 Load/download plugins (done) | time=304ms
[INFO] 16:35:45.116 Load project repositories
[INFO] 16:35:45.247 Load project repositories (done) | time=131ms
[INFO] 16:35:45.268 Indexing files...
[INFO] 16:35:45.268 Project configuration:
[INFO] 16:35:45.269   Excluded sources for coverage: **/controllers/**, **/exceptions/**, **/podam/**, **/dto/**
[INFO] 16:35:45.287 79 files indexed
[INFO] 16:35:45.288 Quality profile for java: Sonar way
[INFO] 16:35:45.288 Quality profile for xml: Sonar way
[INFO] 16:35:45.288 ------------- Run sensors on module MP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:45.347 Load metrics repository
[INFO] 16:35:45.367 Load metrics repository (done) | time=20ms
[INFO] 16:35:46.309 Sensor JavaSensor [java]
[INFO] 16:35:46.316 Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
[INFO] 16:35:46.349 Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
[INFO] 16:35:46.350 Using ECJ batch to parse 58 Main java source files with batch size 104 KB.
[INFO] 16:35:46.801 Starting batch processing.
[INFO] 16:35:47.358 The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
[INFO] 16:35:49.958 100% analyzed
[INFO] 16:35:49.958 Batch processing: Done.
[INFO] 16:35:49.959 Did not optimize analysis for any files, performed a full analysis for all 58 files.
[WARNING] 16:35:49.961 Use of preview features have been detected during analysis. Enable DEBUG mode to see them.
[INFO] 16:35:49.962 Using ECJ batch to parse 20 Test java source files with batch size 104 KB.
[INFO] 16:35:49.976 Starting batch processing.
[INFO] 16:35:51.026 100% analyzed
[INFO] 16:35:51.026 Batch processing: Done.
[INFO] 16:35:51.027 Did not optimize analysis for any files, performed a full analysis for all 20 files.
[INFO] 16:35:51.028 No "Generated" source files to scan.
[INFO] 16:35:51.028 Sensor JavaSensor [java] (done) | time=4719ms
[INFO] 16:35:51.028 Sensor SurefireSensor [java]
[INFO] 16:35:51.029 parsing [/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/target/surefire-reports]
[INFO] 16:35:51.131 Sensor SurefireSensor [java] (done) | time=103ms
[INFO] 16:35:51.132 Sensor XML Sensor [xml]
[INFO] 16:35:51.137 1 source file to be analyzed
[INFO] 16:35:51.404 1/1 source file has been analyzed
[INFO] 16:35:51.404 Sensor XML Sensor [xml] (done) | time=272ms
[INFO] 16:35:51.405 Sensor JaCoCo XML Report Importer [jacoco]
[WARNING] 16:35:51.407 No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/home/cecaduser/workspace/MP_202530_G81_E4_DogSpa_Back/../target/jacoco-report/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml
[INFO] 16:35:51.409 Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list.
[INFO] 16:35:51.509 Sensor JaCoCo XML Report Importer [jacoco] (done) | time=104ms
[INFO] 16:35:51.509 Sensor Java Config Sensor [iac]
[INFO] 16:35:51.529 0 source files to be analyzed
[INFO] 16:35:51.529 0/0 source files have been analyzed
[INFO] 16:35:51.530 Sensor Java Config Sensor [iac] (done) | time=21ms
[INFO] 16:35:51.530 Sensor IaC Docker Sensor [iac]
[INFO] 16:35:51.607 0 source files to be analyzed
[INFO] 16:35:51.607 0/0 source files have been analyzed
[INFO] 16:35:51.607 Sensor IaC Docker Sensor [iac] (done) | time=77ms
[INFO] 16:35:51.607 Sensor TextAndSecretsSensor [text]
[INFO] 16:35:51.607 Available processors: 4
[INFO] 16:35:51.607 Using 4 threads for analysis.
[INFO] 16:35:51.982 Using git CLI to retrieve untracked files
[WARNING] 16:35:51.986 Analyzing only language associated files, make sure to run the analysis inside a git repository to make use of inclusions specified via "sonar.text.inclusions"
[INFO] 16:35:52.012 79 source files to be analyzed
[INFO] 16:35:52.193 79/79 source files have been analyzed
[INFO] 16:35:52.194 Sensor TextAndSecretsSensor [text] (done) | time=587ms
[INFO] 16:35:52.198 ------------- Run sensors on project
[INFO] 16:35:52.348 Sensor Zero Coverage Sensor
[INFO] 16:35:52.349 Sensor Zero Coverage Sensor (done) | time=1ms
[INFO] 16:35:52.350 Sensor Java CPD Block Indexer
[INFO] 16:35:52.444 Sensor Java CPD Block Indexer (done) | time=94ms
[INFO] 16:35:52.444 ------------- Gather SCA dependencies on project
[INFO] 16:35:52.456 SCM Publisher SCM provider for this project is: git
[INFO] 16:35:52.457 SCM Publisher 58 source files to be analyzed
[INFO] 16:35:52.860 SCM Publisher 58/58 source files have been analyzed (done) | time=403ms
[INFO] 16:35:52.868 CPD Executor 22 files had no CPD blocks
[INFO] 16:35:52.868 CPD Executor Calculating CPD for 36 files
[INFO] 16:35:52.884 CPD Executor CPD calculation finished (done) | time=15ms
[INFO] 16:35:52.889 SCM revision ID '1e81944ab79a9bd88e7f0ab9d4a6c0e8f14364e3'
[INFO] 16:35:53.007 Analysis report generated in 106ms, dir size=709.3 kB
[INFO] 16:35:53.215 Analysis report compressed in 207ms, zip size=262.8 kB
[INFO] 16:35:53.251 Analysis report uploaded in 36ms
[INFO] 16:35:53.253 ANALYSIS SUCCESSFUL, you can find the results at: http://10.20.84.26:8082/sonar/dashboard?id=co.edu.udistrital.mdp%3AMP_202530_G81_E4_DogSpa_Back
[INFO] 16:35:53.253 Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report
[INFO] 16:35:53.253 More about the report processing at http://10.20.84.26:8082/sonar/api/ce/task?id=e7d2e344-b9b3-4fdb-b5d2-000c1b1357b5
[INFO] 16:35:53.283 Analysis total time: 9.935 s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  17.973 s
[INFO] Finished at: 2025-10-15T16:35:53Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
$ docker stop --time=1 5c05702d9aa67b6042e31f89e7e48f14594a7d366f97ebc990ed302f3e137e99
$ docker rm -f --volumes 5c05702d9aa67b6042e31f89e7e48f14594a7d366f97ebc990ed302f3e137e99
[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
Finished: SUCCESS