[JAVA-13976] Fix integration tests after Spring Boot upgrade to 2.7.2 (#12647)

This commit is contained in:
Haroon Khan
2022-08-25 17:00:13 +01:00
committed by GitHub
parent 1a5a959265
commit c779eb6331
49 changed files with 150 additions and 118 deletions

View File

@@ -11,4 +11,5 @@ logging.level.org.hibernate.SQL=INFO
logging.level.org.hibernate.type=INFO
spring.jpa.properties.hibernate.validator.apply_to_ddl=false
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=false
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
spring.jpa.open-in-view=false

View File

@@ -11,4 +11,5 @@ logging.level.org.hibernate.SQL=INFO
logging.level.org.hibernate.type=INFO
spring.jpa.properties.hibernate.validator.apply_to_ddl=false
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
spring.jpa.open-in-view=false

View File

@@ -8,3 +8,4 @@ spring.h2.console.enabled=true
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.path=/h2-console
spring.jpa.properties.hibernate.globally_quoted_identifiers=true

View File

@@ -7,6 +7,8 @@ spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.validator.apply_to_ddl=false
spring.jpa.properties.hibernate.globally_quoted_identifiers=true
#spring.jpa.properties.hibernate.check_nullability=true
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console

View File

@@ -12,3 +12,6 @@ spring:
driverClassName: org.h2.Driver
jpa:
spring.jpa.database-platform: org.hibernate.dialect.H2Dialect
properties:
hibernate:
globally_quoted_identifiers: true

View File

@@ -1,5 +1,5 @@
INSERT INTO countries (id, name) VALUES (1, 'USA');
INSERT INTO countries (id, name) VALUES (2, 'France');
INSERT INTO countries (id, name) VALUES (3, 'Brazil');
INSERT INTO countries (id, name) VALUES (4, 'Italy');
INSERT INTO countries (id, name) VALUES (5, 'Canada');
INSERT INTO "countries" VALUES (1, 'USA');
INSERT INTO "countries" VALUES (2, 'France');
INSERT INTO "countries" VALUES (3, 'Brazil');
INSERT INTO "countries" VALUES (4, 'Italy');
INSERT INTO "countries" VALUES (5, 'Canada');

View File

@@ -1,12 +1,12 @@
insert into USER values (101, 'user1', 'comment1');
insert into USER values (102, 'user2', 'comment2');
insert into USER values (103, 'user3', 'comment3');
insert into USER values (104, 'user4', 'comment4');
insert into USER values (105, 'user5', 'comment5');
insert into "user" values (101, 'user1', 'comment1');
insert into "user" values (102, 'user2', 'comment2');
insert into "user" values (103, 'user3', 'comment3');
insert into "user" values (104, 'user4', 'comment4');
insert into "user" values (105, 'user5', 'comment5');
insert into DOCUMENT values (1, 'doc1', 101);
insert into DOCUMENT values (2, 'doc2', 101);
insert into DOCUMENT values (3, 'doc3', 101);
insert into DOCUMENT values (4, 'doc4', 101);
insert into DOCUMENT values (5, 'doc5', 102);
insert into DOCUMENT values (6, 'doc6', 102);
insert into "document" values (1, 'doc1', 101);
insert into "document" values (2, 'doc2', 101);
insert into "document" values (3, 'doc3', 101);
insert into "document" values (4, 'doc4', 101);
insert into "document" values (5, 'doc5', 102);
insert into "document" values (6, 'doc6', 102);