Module org.eclipse.persistence.jpa
Interface PersistenceUnit
- All Known Implementing Classes:
PersistenceUnitImpl
public interface PersistenceUnit
JPA scripting API implementation.
- Since:
- EclipseLink 2.5.1
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
setExcludeUnlistedClasses
(Boolean setExcludeUnlistedClasses) setJarFile
(String jarFile) setJtaDataSource
(String jtaDataSource) setMappingFile
(String mappingFile) setNonJtaDataSource
(String nonJtaDataSource) setProperty
(String name, Object value) setProvider
(String provider) setSharedCacheMode
(String sharedCacheMode) setTransactionType
(PersistenceUnitTransactionType transactionType) setValidationMode
(String validationMode)
-
Method Details
-
addMappings
Mappings addMappings() -
getClassLoader
ClassLoader getClassLoader() -
getPersistenceUnitInfo
PersistenceUnitInfo getPersistenceUnitInfo() -
getName
String getName() -
setClass
-
setExcludeUnlistedClasses
-
setJarFile
-
setJtaDataSource
-
setMappingFile
-
setName
-
setNonJtaDataSource
-
setProperty
-
setProvider
-
setTransactionType
-
setValidationMode
-