Knut Wannheden (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c40586...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMGViZjY4OWQ3...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZj...
) HHH-13907 (
https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZj...
) Envers Quarkus support (
https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZj...
)
Change By: Knut Wannheden (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c40586...
)
I would like to use Envers with Quarkus. However, when I add a dependency to {{
hibernate-envers }} and run the build I eventually get an error like this one:
{code :java }
Caused by: io.quarkus.deployment.configuration.ConfigurationError: Unable to properly
register the hierarchy of the following JPA classes as they are not in the Jandex index:
- org.hibernate.envers.DefaultRevisionEntity
Consider adding them to the index either by creating a Jandex index for your dependency
via the Maven plugin, an empty META-INF/beans.xml or quarkus.index-dependency properties.
{code}
I think it would be nice if hibernate-envers could contain an empty META-INF/beans.xml
file, so that this would work out-of-the-box.
(
https://hibernate.atlassian.net/browse/HHH-13907#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13907#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#100122- sha1:092c6a7 )