Interface PersistenceUnit
-
public interface PersistenceUnit
JPA scripting API implementation.- Author:
- Guy Pelletier
- Since:
- EclipseLink 2.5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
addMappings
Mappings addMappings()
-
getClassLoader
java.lang.ClassLoader getClassLoader()
-
getPersistenceUnitInfo
PersistenceUnitInfo getPersistenceUnitInfo()
-
getName
java.lang.String getName()
-
setClass
PersistenceUnit setClass(java.lang.String cls)
-
setExcludeUnlistedClasses
PersistenceUnit setExcludeUnlistedClasses(java.lang.Boolean setExcludeUnlistedClasses)
-
setJarFile
PersistenceUnit setJarFile(java.lang.String jarFile)
-
setJtaDataSource
PersistenceUnit setJtaDataSource(java.lang.String jtaDataSource)
-
setMappingFile
PersistenceUnit setMappingFile(java.lang.String mappingFile)
-
setName
PersistenceUnit setName(java.lang.String name)
-
setNonJtaDataSource
PersistenceUnit setNonJtaDataSource(java.lang.String nonJtaDataSource)
-
setProperty
PersistenceUnit setProperty(java.lang.String name, java.lang.Object value)
-
setProvider
PersistenceUnit setProvider(java.lang.String provider)
-
setSharedCacheMode
PersistenceUnit setSharedCacheMode(java.lang.String sharedCacheMode)
-
setTransactionType
PersistenceUnit setTransactionType(PersistenceUnitTransactionType transactionType)
-
setValidationMode
PersistenceUnit setValidationMode(java.lang.String validationMode)
-
-