Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4226

SearchManagerImpl use a bad entity names resolver

XMLWordPrintable

    • Low

      Inner class org.infinispan.query.impl.SearchManagerImpl$EntityNamesResolver used in method SearchManagerImpl#getQueryFactory use Class.forName(String) instead of Thread.currentThread().getContextClassLoader().loadClass(String)

      It is a problem if @Indexed classes are in an EAR/WAR which is not loaded in the same ClassLoader. It works great with ContextClassLoader.

            sgrinove Sanne Grinovero
            motosapiens David Cabillic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: