public final class LightPersistenceXmlDescriptor extends Object implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
| Constructor and Description |
|---|
LightPersistenceXmlDescriptor(String name,
String providerClassName,
boolean useQuotedIdentifiers,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
javax.persistence.ValidationMode validationMode,
javax.persistence.SharedCacheMode sharedCachemode,
List<String> managedClassNames,
Properties properties)
Internal constructor, as we're trusting all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
List<URL> |
getJarFileUrls() |
Object |
getJtaDataSource() |
List<String> |
getManagedClassNames() |
List<String> |
getMappingFileNames() |
String |
getName() |
Object |
getNonJtaDataSource() |
URL |
getPersistenceUnitRootUrl() |
Properties |
getProperties() |
String |
getProviderClassName() |
javax.persistence.SharedCacheMode |
getSharedCacheMode() |
ClassLoader |
getTempClassLoader() |
javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType() |
javax.persistence.ValidationMode |
getValidationMode() |
boolean |
isExcludeUnlistedClasses() |
boolean |
isUseQuotedIdentifiers() |
void |
pushClassTransformer(org.hibernate.bytecode.enhance.spi.EnhancementContext enhancementContext) |
String |
toString() |
static LightPersistenceXmlDescriptor |
validateAndReadFrom(org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor toClone)
Converts a generic PersistenceUnitDescriptor into one of this specific type, and validates that
several options that Quarkus does not support are not set.
|
LightPersistenceXmlDescriptor(String name, String providerClassName, boolean useQuotedIdentifiers, javax.persistence.spi.PersistenceUnitTransactionType transactionType, javax.persistence.ValidationMode validationMode, javax.persistence.SharedCacheMode sharedCachemode, List<String> managedClassNames, Properties properties)
public static LightPersistenceXmlDescriptor validateAndReadFrom(org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor toClone)
toClone - the descriptor to cloneUnsupportedOperationException - on unsupported configurationspublic URL getPersistenceUnitRootUrl()
getPersistenceUnitRootUrl in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic String getName()
getName in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic String getProviderClassName()
getProviderClassName in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic boolean isUseQuotedIdentifiers()
isUseQuotedIdentifiers in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic boolean isExcludeUnlistedClasses()
isExcludeUnlistedClasses in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
getTransactionType in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic javax.persistence.ValidationMode getValidationMode()
getValidationMode in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic javax.persistence.SharedCacheMode getSharedCacheMode()
getSharedCacheMode in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic List<String> getManagedClassNames()
getManagedClassNames in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic List<String> getMappingFileNames()
getMappingFileNames in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic List<URL> getJarFileUrls()
getJarFileUrls in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic Object getNonJtaDataSource()
getNonJtaDataSource in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic Object getJtaDataSource()
getJtaDataSource in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic Properties getProperties()
getProperties in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic ClassLoader getClassLoader()
getClassLoader in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic ClassLoader getTempClassLoader()
getTempClassLoader in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorpublic void pushClassTransformer(org.hibernate.bytecode.enhance.spi.EnhancementContext enhancementContext)
pushClassTransformer in interface org.hibernate.jpa.boot.spi.PersistenceUnitDescriptorCopyright © 2021 JBoss by Red Hat. All rights reserved.