jakarta.persistence.spi.PersistenceProvider .
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static String | |
| public static String | Returns: The extracted provider name, ornull if none found.The persistenceUnit, Map<K, V> <persistence-unit/> descriptor.The integration values. integration)Extract the requested persistence provider name using the algorithm Hibernate uses. |
| public static boolean | Returns: true if Hibernate should be the provider; false otherwise.The requested provider name to check against the recognized Hibernate names. requestedProviderName)Is the requested provider name one of the recognized Hibernate provider names? |
| public static boolean | Returns: true if Hibernate should be the provider; false otherwise.The persistenceUnit, Map<K, V> <persistence-unit/> descriptor.The integration values. integration)Does the descriptor and/or integration request Hibernate as the
|
| log | back to summary |
|---|---|
| private static final Logger log | |
| ProviderChecker | back to summary |
|---|---|
| private ProviderChecker() | |
| extractProviderName | back to summary |
|---|---|
| private static String extractProviderName(Map<K, V> integration) | |
| extractProviderName | back to summary |
|---|---|
| private static String extractProviderName(PersistenceUnitDescriptor persistenceUnit) | |
| extractRequestedProviderName | back to summary |
|---|---|
| public static String extractRequestedProviderName(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integration) Extract the requested persistence provider name using the algorithm Hibernate uses. Namely, a provider named in the 'integration' map (under the key jakarta.persistence.provider) is preferred, as per-spec, over the value specified by the persistence unit.
| |
| hibernateProviderNamesContain | back to summary |
|---|---|
| public static boolean hibernateProviderNamesContain(String requestedProviderName) Is the requested provider name one of the recognized Hibernate provider names?
| |
| isProvider | back to summary |
|---|---|
| public static boolean isProvider(PersistenceUnitDescriptor persistenceUnit, Map<K, V> integration) Does the descriptor and/or integration request Hibernate as the
| |