Package org.hibernate.jpa.boot.spi
Class PersistenceConfigurationDescriptor
java.lang.Object
org.hibernate.jpa.boot.spi.PersistenceConfigurationDescriptor
- All Implemented Interfaces:
PersistenceUnitDescriptor
PersistenceUnitDescriptor wrapper around PersistenceConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionPersistenceConfigurationDescriptor(PersistenceConfiguration persistenceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get the persistence unit name,Get the root url for the persistence unit.Get the explicitly specified provider class name, ornullif not specified.booleanEssentially should scanning for classes be performed? If not, the list of classes available is limited to: classes listed inPersistenceUnitDescriptor.getManagedClassNames()classes named in allPersistenceUnitDescriptor.getMappingFileNames()classes discovered inPersistenceUnitDescriptor.getJarFileUrls()booleanIs the use of quoted identifiers in effect for this whole persistence unit?voidpushClassTransformer(EnhancementContext enhancementContext)
-
Constructor Details
-
PersistenceConfigurationDescriptor
-
-
Method Details
-
getProperties
- Specified by:
getPropertiesin interfacePersistenceUnitDescriptor
-
getName
Description copied from interface:PersistenceUnitDescriptorGet the persistence unit name,- Specified by:
getNamein interfacePersistenceUnitDescriptor- Returns:
- The persistence unit name,
-
getProviderClassName
Description copied from interface:PersistenceUnitDescriptorGet the explicitly specified provider class name, ornullif not specified.- Specified by:
getProviderClassNamein interfacePersistenceUnitDescriptor- Returns:
- The specified provider class name
-
isUseQuotedIdentifiers
public boolean isUseQuotedIdentifiers()Description copied from interface:PersistenceUnitDescriptorIs the use of quoted identifiers in effect for this whole persistence unit?- Specified by:
isUseQuotedIdentifiersin interfacePersistenceUnitDescriptor- Returns:
trueis quoted identifiers should be used throughout the unit.
-
isExcludeUnlistedClasses
public boolean isExcludeUnlistedClasses()Description copied from interface:PersistenceUnitDescriptorEssentially should scanning for classes be performed? If not, the list of classes available is limited to:- classes listed in
PersistenceUnitDescriptor.getManagedClassNames() - classes named in all
PersistenceUnitDescriptor.getMappingFileNames() - classes discovered in
PersistenceUnitDescriptor.getJarFileUrls()
- Specified by:
isExcludeUnlistedClassesin interfacePersistenceUnitDescriptor- Returns:
trueif the root url should not be scanned for classes.
- classes listed in
-
getTransactionType
- Specified by:
getTransactionTypein interfacePersistenceUnitDescriptor
-
getPersistenceUnitTransactionType
- Specified by:
getPersistenceUnitTransactionTypein interfacePersistenceUnitDescriptor
-
getValidationMode
- Specified by:
getValidationModein interfacePersistenceUnitDescriptor
-
getManagedClassNames
- Specified by:
getManagedClassNamesin interfacePersistenceUnitDescriptor
-
getMappingFileNames
- Specified by:
getMappingFileNamesin interfacePersistenceUnitDescriptor
-
getNonJtaDataSource
- Specified by:
getNonJtaDataSourcein interfacePersistenceUnitDescriptor
-
getJtaDataSource
- Specified by:
getJtaDataSourcein interfacePersistenceUnitDescriptor
-
getClassLoader
- Specified by:
getClassLoaderin interfacePersistenceUnitDescriptor
-
getTempClassLoader
- Specified by:
getTempClassLoaderin interfacePersistenceUnitDescriptor
-
pushClassTransformer
- Specified by:
pushClassTransformerin interfacePersistenceUnitDescriptor
-
getClassTransformer
- Specified by:
getClassTransformerin interfacePersistenceUnitDescriptor
-
getPersistenceUnitRootUrl
Description copied from interface:PersistenceUnitDescriptorGet the root url for the persistence unit. Intended to describe the base for scanning.- Specified by:
getPersistenceUnitRootUrlin interfacePersistenceUnitDescriptor- Returns:
- The root url
-
getJarFileUrls
- Specified by:
getJarFileUrlsin interfacePersistenceUnitDescriptor
-