-
Bug
-
Resolution: Done
-
Major
-
None
-
None
The following fixes in Hibernate ORM 5.3.15.Final cause org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase to fail:
https://hibernate.atlassian.net/browse/HHH-13432
https://hibernate.atlassian.net/browse/HHH-12858
There are 2 assertions in the test that fail with those fixes because the Map returned by EntityManagerFactory#getProperties:
1) does not contain a value for property hibernate.connection.driver_class.
2) contains a property for hibernate.connection.datasource that is a WildFlyDataSource instance, instead of the String "java:jboss/datasources/ExampleDS".
For 1), Hibernate ORM removes the hibernate.connection.driver_class property from its copy because it makes no sense when a datasource is provided via hibernate.connection.datasource.
For 2), Hibernate ORM replaces the String value for hibernate.connection.datasource with the WildFlyDataSource instance.
I reviewed the JPA 2.2 specification and discussed this issue with smarlow@redhat.com, and we agreed that these were acceptable changes to the copy of properties that Hibernate ORM contains.
I have confirmed that these fixes do not cause any Jakarta standalone TCK failures.
The fix will involve replacing references to those properties with properties that Hibernate ORM does not change.
- blocks
-
JBEAP-17964 [GSS](7.3.z) Upgrade Hibernate ORM from 5.3.14 to 5.3.15
- Closed
-
JBEAP-18367 [GSS](7.3.z) Upgrade Hibernate ORM from 5.3.15 to 5.3.16
- Closed
- clones
-
WFLY-12964 org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase fails
- Closed
- is cloned by
-
JBEAP-18463 (7.2.z) WFLY-12964 - org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase fails
- Closed