From 685b1bc60274af22bb5ee66afe249cf0321fcec9 Mon Sep 17 00:00:00 2001 From: Radek Felcman Date: Tue, 16 Apr 2024 13:22:19 +0200 Subject: [PATCH] WebLogic Server test fixes - Ordinal binding vs Named binding Signed-off-by: Radek Felcman --- .../resource/weblogic/wls_composite_setup.py | 1 + .../resource/weblogic/wls_exalogic_setup.py | 2 ++ jpa/eclipselink.jpa.test/resource/weblogic/wls_setup.py | 2 ++ 3 files changed, 5 insertions(+) diff --git a/jpa/eclipselink.jpa.test/resource/weblogic/wls_composite_setup.py b/jpa/eclipselink.jpa.test/resource/weblogic/wls_composite_setup.py index 408d9e7614d..9c5ff8961e0 100644 --- a/jpa/eclipselink.jpa.test/resource/weblogic/wls_composite_setup.py +++ b/jpa/eclipselink.jpa.test/resource/weblogic/wls_composite_setup.py @@ -49,6 +49,7 @@ cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCConnectionPoolParams/EclipseLinkDS') cmo.setTestTableName('SQL SELECT 1 FROM DUAL') cmo.setWrapTypes(false) +cmo.setStatementCacheSize(0) cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCDriverParams/EclipseLinkDS/Properties/EclipseLinkDS') cmo.createProperty('user') diff --git a/jpa/eclipselink.jpa.test/resource/weblogic/wls_exalogic_setup.py b/jpa/eclipselink.jpa.test/resource/weblogic/wls_exalogic_setup.py index 2af8f6301d8..f7ededed710 100644 --- a/jpa/eclipselink.jpa.test/resource/weblogic/wls_exalogic_setup.py +++ b/jpa/eclipselink.jpa.test/resource/weblogic/wls_exalogic_setup.py @@ -47,6 +47,7 @@ cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCConnectionPoolParams/EclipseLinkDS') cmo.setTestTableName('SQL SELECT 1 FROM DUAL') cmo.setWrapTypes(false) +cmo.setStatementCacheSize(0) cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCDriverParams/EclipseLinkDS/Properties/EclipseLinkDS') cmo.createProperty('user') @@ -87,6 +88,7 @@ cd('/JDBCSystemResources/ELNonJTADS/JDBCResource/ELNonJTADS/JDBCConnectionPoolParams/ELNonJTADS') cmo.setTestTableName('SQL SELECT 1 FROM DUAL') cmo.setWrapTypes(false) +cmo.setStatementCacheSize(0) cd('/JDBCSystemResources/ELNonJTADS/JDBCResource/ELNonJTADS/JDBCDriverParams/ELNonJTADS/Properties/ELNonJTADS') cmo.createProperty('user') diff --git a/jpa/eclipselink.jpa.test/resource/weblogic/wls_setup.py b/jpa/eclipselink.jpa.test/resource/weblogic/wls_setup.py index 51f5287b87a..45f4f21bd84 100644 --- a/jpa/eclipselink.jpa.test/resource/weblogic/wls_setup.py +++ b/jpa/eclipselink.jpa.test/resource/weblogic/wls_setup.py @@ -48,6 +48,7 @@ cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCConnectionPoolParams/EclipseLinkDS') cmo.setTestTableName('SQL SELECT 1 FROM DUAL') cmo.setWrapTypes(false) + cmo.setStatementCacheSize(0) cd('/JDBCSystemResources/EclipseLinkDS/JDBCResource/EclipseLinkDS/JDBCDriverParams/EclipseLinkDS/Properties/EclipseLinkDS') cmo.createProperty('user') @@ -91,6 +92,7 @@ cd('/JDBCSystemResources/ELNonJTADS/JDBCResource/ELNonJTADS/JDBCConnectionPoolParams/ELNonJTADS') cmo.setTestTableName('SQL SELECT 1 FROM DUAL') cmo.setWrapTypes(false) + cmo.setStatementCacheSize(0) cd('/JDBCSystemResources/ELNonJTADS/JDBCResource/ELNonJTADS/JDBCDriverParams/ELNonJTADS/Properties/ELNonJTADS') cmo.createProperty('user')