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 |
|---|---|
java.lang.ClassLoader |
getClassLoader() |
java.util.List<java.net.URL> |
getJarFileUrls() |
java.lang.Object |
getJtaDataSource() |
java.util.List<java.lang.String> |
getManagedClassNames() |
java.util.List<java.lang.String> |
getMappingFileNames() |
java.lang.String |
getName()
Get the persistence unit name,
|
java.lang.Object |
getNonJtaDataSource() |
java.net.URL |
getPersistenceUnitRootUrl()
Get the root url for the persistence unit.
|
java.util.Properties |
getProperties() |
java.lang.String |
getProviderClassName()
Get the explicitly specified provider class name, or
null if not specified. |
javax.persistence.SharedCacheMode |
getSharedCacheMode() |
java.lang.ClassLoader |
getTempClassLoader() |
javax.persistence.spi.PersistenceUnitTransactionType |
getTransactionType() |
javax.persistence.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) |
java.net.URL getPersistenceUnitRootUrl()
java.lang.String getName()
java.lang.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.javax.persistence.spi.PersistenceUnitTransactionType getTransactionType()
javax.persistence.ValidationMode getValidationMode()
javax.persistence.SharedCacheMode getSharedCacheMode()
java.util.List<java.lang.String> getManagedClassNames()
java.util.List<java.lang.String> getMappingFileNames()
java.util.List<java.net.URL> getJarFileUrls()
java.lang.Object getNonJtaDataSource()
java.lang.Object getJtaDataSource()
java.util.Properties getProperties()
java.lang.ClassLoader getClassLoader()
java.lang.ClassLoader getTempClassLoader()
void pushClassTransformer(EnhancementContext enhancementContext)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.