[hibernate-issues] [JIRA] (HHH-13907) Envers Quarkus support

Knut Wannheden (JIRA) jira at hibernate.atlassian.net
Wed Mar 25 14:52:28 EDT 2020


Knut Wannheden ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c405861b4d5d75a3b52ed44 ) *updated* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 ) HHH-13907 ( https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 ) Envers Quarkus support ( https://hibernate.atlassian.net/browse/HHH-13907?atlOrigin=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 )

Change By: Knut Wannheden ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c405861b4d5d75a3b52ed44 )

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=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13907#add-comment?atlOrigin=eyJpIjoiMGViZjY4OWQ3Y2RiNDZkMTg1MWM0NjBlNGNmYWVjYjYiLCJwIjoiaiJ9 )

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#100122- sha1:092c6a7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200325/0075e014/attachment.html 


More information about the hibernate-issues mailing list