public class PersistenceProviderResolverHolder
extends java.lang.Object
PersistenceProviderResolver
instance. If no PersistenceProviderResolver
is set by the
environment, the default PersistenceProviderResolver
is used.
Implementations must be thread-safe.Constructor and Description |
---|
PersistenceProviderResolverHolder() |
Modifier and Type | Method and Description |
---|---|
static PersistenceProviderResolver |
getPersistenceProviderResolver()
Returns the current persistence provider resolver.
|
static void |
setPersistenceProviderResolver(PersistenceProviderResolver resolver)
Defines the persistence provider resolver used.
|
public static PersistenceProviderResolver getPersistenceProviderResolver()
public static void setPersistenceProviderResolver(PersistenceProviderResolver resolver)
resolver
- persistence provider resolver to be used.