Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.7] WebLogic Server test fixes #2028

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

rfelcman
Copy link
Contributor

@rfelcman rfelcman commented Jan 4, 2024

This is fix for some JPA test errors/failurest if they are executed in WebLogic server environment 14.1.x.

  • JPAAdvPropertiesJUnitTestCase.testLoginEncryptorProperty() excluded in JEE server tests as DB connection is provided by JEE server by data source and encryptor is not called
  • EntityManagerJUnitTestSuite.testApplicationManagedInServer() in WebLogic is org.eclipse.persistence.testing.framework.server.WebLogicPlatform set instead of default org.eclipse.persistence.testing.framework.server.JEEPlatform
  • AdvancedJPAJunitTest.testNamedStoredProcedureQueryByIndex() needs latest JDBC driver
  • PLSQLTestSuite.testEmpRecordInOut fixed by setWrapTypes(false) in WLST script (Data source properties) to avoid use weblogic.jdbc.wrapper.* classes
  • UCP classpath fix to reflect changes in Oracle 23c JDBC driver

- JPAAdvPropertiesJUnitTestCase.testLoginEncryptorProperty()
    excluded in JEE server tests as DB connection is provided by JEE server by data source and encryptor is not called
- EntityManagerJUnitTestSuite.testApplicationManagedInServer()
    in WebLogic is org.eclipse.persistence.testing.framework.server.WebLogicPlatform set instead of default org.eclipse.persistence.testing.framework.server.JEEPlatform
- AdvancedJPAJunitTest.testNamedStoredProcedureQueryByIndex()
    needs latest JDBC driver
- PLSQLTestSuite.testEmpRecordInOut
    fixed by setWrapTypes(false) in WLST (Data source properties) to avoid use weblogic.jdbc.wrapper.* classes
- UCP classpath fix to reflect changes in Oracle 23c JDBC driver

Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
@rfelcman rfelcman changed the title [2.7] WebLogic Server tests fix [2.7] WebLogic Server test fixes Jan 4, 2024
@rfelcman rfelcman merged commit 39c89db into eclipse-ee4j:2.7 Jan 8, 2024
6 checks passed
@rfelcman rfelcman deleted the mats_test_fix_2.7 branch January 8, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants