[jboss-jira] [JBoss JIRA] (WFLY-3291) Pass Jandex CompositeIndex into Hibernate 5.x

Scott Marlow (JIRA) issues at jboss.org
Tue Mar 17 19:50:18 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-3291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051196#comment-13051196 ] 

Scott Marlow commented on WFLY-3291:
------------------------------------

[http://lists.jboss.org/pipermail/wildfly-dev/2015-March/003688.html] mentions that jandex indexes are not available on a partial restart (read earlier in the email thread for more details).

> 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: 9.0.0.Beta1
>
>
> 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.11#6341)


More information about the jboss-jira mailing list