[jboss-jira] [JBoss JIRA] (WFLY-3291) Pass Jandex CompositeIndex into Hibernate 5.x
Scott Marlow (JIRA)
issues at jboss.org
Fri Apr 25 13:54:33 EDT 2014
Scott Marlow created WFLY-3291:
----------------------------------
Summary: Pass Jandex CompositeIndex into Hibernate 5.x
Key: WFLY-3291
URL: https://issues.jboss.org/browse/WFLY-3291
Project: WildFly
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JPA / Hibernate
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 9.0.0.CR1
1. When creating the persistence unit for Hibernate 5.x, pass a Jandex composite index via:
integrationMap.put( "hibernate.jandex_index", CompositeIndex.create( pu.getAnnotationIndex().values() ).
2. Also change from:
integerationMap.put( "hibernate.ejb.resource_scanner", HibernateArchiveScanner.class )
To:
integrationMap.put( "hibernate.jpa.scanner_archive_delegate", VirtualFileSystemArchiveDescriptorFactory.INSTANCE )
This may turn out to be a Jipajapa only change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list