public class PersistenceProviderResolverHolder extends Object
PersistenceProviderResolver
instance. If no PersistenceProviderResolver
is set by the
environment, the default PersistenceProviderResolver
is used.
Enable "jakarta.persistence.spi" logger to show diagnostic information.
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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.