diff --git a/spring-data-jpa/pom.xml b/spring-data-jpa/pom.xml index ee5ed2dde..6a4562132 100644 --- a/spring-data-jpa/pom.xml +++ b/spring-data-jpa/pom.xml @@ -137,13 +137,6 @@ - - org.eclipse.persistence - org.eclipse.persistence.jpa - ${eclipselink} - true - - ${hibernate.groupId}.orm hibernate-core @@ -177,6 +170,13 @@ ${jakarta-annotation-api} + + org.eclipse.persistence + org.eclipse.persistence.jpa + ${eclipselink} + true + + com.querydsl diff --git a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureIntegrationTests.java b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureIntegrationTests.java index c812307f5..f0259324c 100644 --- a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureIntegrationTests.java +++ b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureIntegrationTests.java @@ -201,7 +201,7 @@ public class PostgresStoredProcedureIntegrationTests { @Bean(initMethod = "start", destroyMethod = "stop") public PostgreSQLContainer container() { - return new PostgreSQLContainer<>("postgres:9.6.12") // + return new PostgreSQLContainer<>("postgres:10.21") // .withUsername("postgres"); } diff --git a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureNullHandlingIntegrationTests.java b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureNullHandlingIntegrationTests.java index 6f494ef69..d1b51afac 100644 --- a/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureNullHandlingIntegrationTests.java +++ b/spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/procedures/PostgresStoredProcedureNullHandlingIntegrationTests.java @@ -31,7 +31,7 @@ import java.util.UUID; import javax.sql.DataSource; -import org.hibernate.dialect.PostgreSQL91Dialect; +import org.hibernate.dialect.PostgreSQLDialect; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.postgresql.ds.PGSimpleDataSource; @@ -109,7 +109,7 @@ public class PostgresStoredProcedureNullHandlingIntegrationTests { @Bean(initMethod = "start", destroyMethod = "stop") public PostgreSQLContainer container() { - return new PostgreSQLContainer<>("postgres:9.6.12") // + return new PostgreSQLContainer<>("postgres:10.21") // .withUsername("postgres"); } @@ -135,7 +135,7 @@ public class PostgresStoredProcedureNullHandlingIntegrationTests { Properties properties = new Properties(); properties.setProperty("hibernate.hbm2ddl.auto", "create"); - properties.setProperty("hibernate.dialect", PostgreSQL91Dialect.class.getCanonicalName()); + properties.setProperty("hibernate.dialect", PostgreSQLDialect.class.getCanonicalName()); properties.setProperty("hibernate.proc.param_null_passing", "true"); properties.setProperty("hibernate.globally_quoted_identifiers", "true"); properties.setProperty("hibernate.globally_quoted_identifiers_skip_column_definitions", "true"); diff --git a/spring-data-jpa/src/test/resources/META-INF/persistence.xml b/spring-data-jpa/src/test/resources/META-INF/persistence.xml index 280312885..c5e0e90b0 100644 --- a/spring-data-jpa/src/test/resources/META-INF/persistence.xml +++ b/spring-data-jpa/src/test/resources/META-INF/persistence.xml @@ -177,7 +177,7 @@ org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$ExampleEntityWithUUIDId true - + @@ -195,7 +195,7 @@ org.springframework.data.jpa.repository.support.JpaMetamodelEntityInformationIntegrationTests$ExampleEntityWithUUIDId true - +