Class PersistenceProviderResolverHolder

  • public class PersistenceProviderResolverHolder
    extends java.lang.Object
    Holds the global PersistenceProviderResolver instance. If no PersistenceProviderResolver is set by the environment, the default PersistenceProviderResolver is used. Implementations must be thread-safe.
    Java Persistence 2.0
    • Constructor Detail

      • PersistenceProviderResolverHolder

        public PersistenceProviderResolverHolder​()
    • Method Detail

      • getPersistenceProviderResolver

        public static PersistenceProviderResolver getPersistenceProviderResolver​()
        Returns the current persistence provider resolver.
        the current persistence provider resolver
      • setPersistenceProviderResolver

        public static void setPersistenceProviderResolver​(PersistenceProviderResolver resolver)
        Defines the persistence provider resolver used.
        resolver - persistence provider resolver to be used.