Package org.hibernate.jpa.boot.internal
Class PersistenceUnitInfoDescriptor
java.lang.Object
org.hibernate.jpa.boot.internal.PersistenceUnitInfoDescriptor
- All Implemented Interfaces:
PersistenceUnitDescriptor
-
Constructor Summary
Constructors -
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
-
PersistenceUnitInfoDescriptor
-
-
Method Details
-
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
-
getName
Description copied from interface:PersistenceUnitDescriptorGet the persistence unit name,- Specified by:
getNamein interfacePersistenceUnitDescriptor- Returns:
- The persistence unit name,
-
getNonJtaDataSource
- Specified by:
getNonJtaDataSourcein interfacePersistenceUnitDescriptor
-
getJtaDataSource
- Specified by:
getJtaDataSourcein interfacePersistenceUnitDescriptor
-
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
-
getPersistenceUnitTransactionType
- Specified by:
getPersistenceUnitTransactionTypein interfacePersistenceUnitDescriptor
-
getTransactionType
- Specified by:
getTransactionTypein interfacePersistenceUnitDescriptor
-
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.
-
getProperties
- Specified by:
getPropertiesin interfacePersistenceUnitDescriptor
-
getClassLoader
- Specified by:
getClassLoaderin interfacePersistenceUnitDescriptor
-
getTempClassLoader
- Specified by:
getTempClassLoaderin interfacePersistenceUnitDescriptor
-
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
-
getValidationMode
- Specified by:
getValidationModein interfacePersistenceUnitDescriptor
-
getManagedClassNames
- Specified by:
getManagedClassNamesin interfacePersistenceUnitDescriptor
-
getMappingFileNames
- Specified by:
getMappingFileNamesin interfacePersistenceUnitDescriptor
-
getJarFileUrls
- Specified by:
getJarFileUrlsin interfacePersistenceUnitDescriptor
-
pushClassTransformer
- Specified by:
pushClassTransformerin interfacePersistenceUnitDescriptor
-
getClassTransformer
- Specified by:
getClassTransformerin interfacePersistenceUnitDescriptor
-