[hibernate-issues] [JIRA] (OGM-98) Mix OGM and Hibernate Envers

Davide D'Alto (JIRA) jira at hibernate.atlassian.net
Thu Jun 25 10:57:32 EDT 2020


Davide D'Alto ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Adc17d3f8-d34a-4a8a-a552-704e1902d0ae ) *updated* an issue

Hibernate OGM ( https://hibernate.atlassian.net/browse/OGM?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/OGM-98?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 ) OGM-98 ( https://hibernate.atlassian.net/browse/OGM-98?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 ) Mix OGM and Hibernate Envers ( https://hibernate.atlassian.net/browse/OGM-98?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 )

Change By: Davide D'Alto ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Adc17d3f8-d34a-4a8a-a552-704e1902d0ae )

Could you please check if At the moment OGM doesn’t work with Envers because it doesn’t recognize the additional entities introduced by envers.

This is possible the exception thrown:

\{code}

Caused by: org.hibernate.HibernateException: OGM000059: Unable to mix Hibernate OGM and Hibernate Envers? find a GridType for org.hibernate.type.CustomType

regards \{code}

The cause of the exception (visible debugging) is this type: `org.hibernate.envers.internal.entities.RevisionTypeType`

Not sure if registering the entities is enough to make it work.

( https://hibernate.atlassian.net/browse/OGM-98#add-comment?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/OGM-98#add-comment?atlOrigin=eyJpIjoiMDU2MmU1ODEyYWYzNDFiNThkMTE0OGFhMDgwZGFlY2QiLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100130- sha1:74b7c6b )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200625/27fb1cc3/attachment.html 


More information about the hibernate-issues mailing list