Module org.eclipse.persistence.jpa
Class PersistenceUnitImpl
java.lang.Object
org.eclipse.persistence.internal.jpa.config.persistenceunit.PersistenceUnitImpl
- All Implemented Interfaces:
PersistenceUnit
JPA scripting API implementation.
- Since:
- EclipseLink 2.5.1
-
Constructor Summary
ConstructorDescriptionPersistenceUnitImpl
(String name) PersistenceUnitImpl
(String name, ClassLoader cl) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
setExcludeUnlistedClasses
(Boolean excludeUnlistedClasses) 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)
-
Constructor Details
-
PersistenceUnitImpl
-
PersistenceUnitImpl
-
-
Method Details
-
addMappings
- Specified by:
addMappings
in interfacePersistenceUnit
-
getClassLoader
- Specified by:
getClassLoader
in interfacePersistenceUnit
-
getPersistenceUnitInfo
- Specified by:
getPersistenceUnitInfo
in interfacePersistenceUnit
-
getMappings
-
getName
- Specified by:
getName
in interfacePersistenceUnit
-
setClass
- Specified by:
setClass
in interfacePersistenceUnit
-
setExcludeUnlistedClasses
- Specified by:
setExcludeUnlistedClasses
in interfacePersistenceUnit
-
setJarFile
- Specified by:
setJarFile
in interfacePersistenceUnit
-
setJtaDataSource
- Specified by:
setJtaDataSource
in interfacePersistenceUnit
-
setMappingFile
- Specified by:
setMappingFile
in interfacePersistenceUnit
-
setName
- Specified by:
setName
in interfacePersistenceUnit
-
setNonJtaDataSource
- Specified by:
setNonJtaDataSource
in interfacePersistenceUnit
-
setProperty
- Specified by:
setProperty
in interfacePersistenceUnit
-
setProvider
- Specified by:
setProvider
in interfacePersistenceUnit
-
setTransactionType
- Specified by:
setTransactionType
in interfacePersistenceUnit
-
setValidationMode
- Specified by:
setValidationMode
in interfacePersistenceUnit
-