HHH-18280 Fix PostgreSQL vs <14 failures

This commit is contained in:
Andrea Boriero 2024-08-06 11:29:42 +02:00 committed by Steve Ebersole
parent 8190a1a6da
commit 7760d3f79e
1 changed files with 3 additions and 0 deletions

View File

@ -270,6 +270,7 @@ public class PostgreSQLStoredProcedureTest {
}
@Test
@RequiresDialect(value = PostgreSQLDialect.class, majorVersion = 14, comment = "Stored procedure OUT parameters are only supported since version 14")
public void testStoredProcedureInAndOutAndRefCursorParameters(EntityManagerFactoryScope scope) {
scope.inTransaction(
entityManager -> {
@ -296,6 +297,7 @@ public class PostgreSQLStoredProcedureTest {
}
@Test
@RequiresDialect(value = PostgreSQLDialect.class, majorVersion = 14, comment = "Stored procedure OUT parameters are only supported since version 14")
public void testStoredProcedureInAndOutAndRefCursorParametersDifferentRegistrationOrder(EntityManagerFactoryScope scope) {
scope.inTransaction(
entityManager -> {
@ -322,6 +324,7 @@ public class PostgreSQLStoredProcedureTest {
}
@Test
@RequiresDialect(value = PostgreSQLDialect.class, majorVersion = 14, comment = "Stored procedure OUT parameters are only supported since version 14")
public void testStoredProcedureInAndOutAndRefCursorParametersDifferentRegistrationOrder2(EntityManagerFactoryScope scope) {
scope.inTransaction(
entityManager -> {