Cédric Tabin (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16299 (
https://hibernate.atlassian.net/browse/HHH-16299?atlOrigin=eyJpIjoiYjkxOW...
)
Re: Hibernate 6.2.0.CR3 does not deploy to Payara Micro due to
java.lang.ClassCircularityError (
https://hibernate.atlassian.net/browse/HHH-16299?atlOrigin=eyJpIjoiYjkxOW...
)
For information, here (
https://github.com/eclipse-ee4j/glassfish/issues/24414#issuecomment-15495... ) is a hint
to circumvent this error in Payara (6.2023.1) / GlassFish (7.0.4): just add explicitly the
following properties in the persistence.xml of the application:
<property name= "hibernate.enhancer.enableDirtyTracking" value=
"false" />
<property name= "hibernate.enhancer.enableLazyInitialization" value=
"false" />
Note: we do bytecode enhancement during the build through a maven plugin.
(
https://hibernate.atlassian.net/browse/HHH-16299#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16299#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100225- sha1:6805d32 )