public interface PersistenceUnit
Modifier and Type | Method and Description |
---|---|
Mappings |
addMappings() |
java.lang.ClassLoader |
getClassLoader() |
java.lang.String |
getName() |
PersistenceUnitInfo |
getPersistenceUnitInfo() |
PersistenceUnit |
setClass(java.lang.String cls) |
PersistenceUnit |
setExcludeUnlistedClasses(java.lang.Boolean setExcludeUnlistedClasses) |
PersistenceUnit |
setJarFile(java.lang.String jarFile) |
PersistenceUnit |
setJtaDataSource(java.lang.String jtaDataSource) |
PersistenceUnit |
setMappingFile(java.lang.String mappingFile) |
PersistenceUnit |
setName(java.lang.String name) |
PersistenceUnit |
setNonJtaDataSource(java.lang.String nonJtaDataSource) |
PersistenceUnit |
setProperty(java.lang.String name,
java.lang.Object value) |
PersistenceUnit |
setProvider(java.lang.String provider) |
PersistenceUnit |
setSharedCacheMode(java.lang.String sharedCacheMode) |
PersistenceUnit |
setTransactionType(PersistenceUnitTransactionType transactionType) |
PersistenceUnit |
setValidationMode(java.lang.String validationMode) |
Mappings addMappings()
java.lang.ClassLoader getClassLoader()
PersistenceUnitInfo getPersistenceUnitInfo()
java.lang.String getName()
PersistenceUnit setClass(java.lang.String cls)
PersistenceUnit setExcludeUnlistedClasses(java.lang.Boolean setExcludeUnlistedClasses)
PersistenceUnit setJarFile(java.lang.String jarFile)
PersistenceUnit setJtaDataSource(java.lang.String jtaDataSource)
PersistenceUnit setMappingFile(java.lang.String mappingFile)
PersistenceUnit setName(java.lang.String name)
PersistenceUnit setNonJtaDataSource(java.lang.String nonJtaDataSource)
PersistenceUnit setProperty(java.lang.String name, java.lang.Object value)
PersistenceUnit setProvider(java.lang.String provider)
PersistenceUnit setSharedCacheMode(java.lang.String sharedCacheMode)
PersistenceUnit setTransactionType(PersistenceUnitTransactionType transactionType)
PersistenceUnit setValidationMode(java.lang.String validationMode)