public class PersistenceProviderResolverHolder extends 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.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.