public interface PersistenceUnitDescriptor
<persistence-unit/> information whether that comes from
an EE container in the form of PersistenceUnitInfo or in an SE environment
where Hibernate has parsed the persistence.xml file itself.| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader() |
List<URL> |
getJarFileUrls() |
Object |
getJtaDataSource() |
List<String> |
getManagedClassNames() |
List<String> |
getMappingFileNames() |
String |
getName()
Get the persistence unit name,
|
Object |
getNonJtaDataSource() |
URL |
getPersistenceUnitRootUrl()
Get the root url for the persistence unit.
|
Properties |
getProperties() |
String |
getProviderClassName()
Get the explicitly specified provider class name, or
null if not specified. |
SharedCacheMode |
getSharedCacheMode() |
ClassLoader |
getTempClassLoader() |
PersistenceUnitTransactionType |
getTransactionType() |
ValidationMode |
getValidationMode() |
boolean |
isExcludeUnlistedClasses()
Essentially should scanning for classes be performed? If not, the list of classes available is limited to:
classes listed in
getManagedClassNames()
classes named in all getMappingFileNames()
classes discovered in getJarFileUrls()
|
boolean |
isUseQuotedIdentifiers()
Is the use of quoted identifiers in effect for this whole persistence unit?
|
void |
pushClassTransformer(EnhancementContext enhancementContext) |
URL getPersistenceUnitRootUrl()
String getName()
String getProviderClassName()
null if not specified.boolean isUseQuotedIdentifiers()
true is quoted identifiers should be used throughout the unit.boolean isExcludeUnlistedClasses()
getManagedClassNames()getMappingFileNames()getJarFileUrls()true if the root url should not be scanned for classes.PersistenceUnitTransactionType getTransactionType()
ValidationMode getValidationMode()
SharedCacheMode getSharedCacheMode()
Object getNonJtaDataSource()
Object getJtaDataSource()
Properties getProperties()
ClassLoader getClassLoader()
ClassLoader getTempClassLoader()
void pushClassTransformer(EnhancementContext enhancementContext)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.