Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3291

Pass Jandex CompositeIndex into Hibernate 5.x

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • JPA / Hibernate
    • None

    Description

      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.

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: