[JBoss JIRA] (WFLY-3291) Pass Jandex CompositeIndex into Hibernate 5.x
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-3291?page=com.atlassian.jira.plugin.... ]
Jason Greene updated WFLY-3291:
-------------------------------
Fix Version/s: 10.0.0.Alpha3
(was: 10.0.0.Alpha2)
> Pass Jandex CompositeIndex into Hibernate 5.x
> ----------------------------------------------
>
> Key: WFLY-3291
> URL: https://issues.jboss.org/browse/WFLY-3291
> Project: WildFly
> Issue Type: Feature Request
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 10.0.0.Alpha3
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 11 months