Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.config.persistenceunit

public Class PersistenceUnitImpl

extends Object
implements PersistenceUnit
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.jpa.config.PersistenceUnit
Imports
java.io.IOException, java.net.URISyntaxException, .URL, java.util.ArrayList, .List, .Properties, jakarta.persistence.spi.PersistenceUnitInfo, .PersistenceUnitTransactionType, org.eclipse.persistence.config.PersistenceUnitProperties, org.eclipse.persistence.exceptions.ValidationException, org.eclipse.persistence.internal.jpa.config.xml.MappingsImpl, org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor, .SEPersistenceUnitInfo, org.eclipse.persistence.internal.jpa.metadata.xml.XMLEntityMappings, org.eclipse.persistence.jpa.config.Mappings, .PersistenceUnit

JPA scripting API implementation.
Author
Guy Pelletier
Since
EclipseLink 2.5.1

Field Summary

Modifier and TypeField and Description
private List<Mappings>
private SEPersistenceUnitInfo

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public Mappings
public ClassLoader
public XMLEntityMappings
public String
public PersistenceUnitInfo
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
public PersistenceUnit
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mappingsback to summary
private List<Mappings> mappings
puInfoback to summary
private SEPersistenceUnitInfo puInfo

Constructor Detail

PersistenceUnitImplback to summary
public PersistenceUnitImpl(String name, ClassLoader cl)
PersistenceUnitImplback to summary
public PersistenceUnitImpl(String name)

Method Detail

addMappingsback to summary
public Mappings addMappings()

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.addMappings.

Annotations
@Override
getClassLoaderback to summary
public ClassLoader getClassLoader()

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.getClassLoader.

Annotations
@Override
getMappingsback to summary
public XMLEntityMappings getMappings()
getNameback to summary
public String getName()

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.getName.

Annotations
@Override
getPersistenceUnitInfoback to summary
public PersistenceUnitInfo getPersistenceUnitInfo()

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.getPersistenceUnitInfo.

Annotations
@Override
setClassback to summary
public PersistenceUnit setClass(String cls)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setClass.

Annotations
@Override
setExcludeUnlistedClassesback to summary
public PersistenceUnit setExcludeUnlistedClasses(Boolean excludeUnlistedClasses)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setExcludeUnlistedClasses.

Annotations
@Override
setJarFileback to summary
public PersistenceUnit setJarFile(String jarFile)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setJarFile.

Annotations
@Override
setJtaDataSourceback to summary
public PersistenceUnit setJtaDataSource(String jtaDataSource)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setJtaDataSource.

Annotations
@Override
setMappingFileback to summary
public PersistenceUnit setMappingFile(String mappingFile)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setMappingFile.

Annotations
@Override
setNameback to summary
public PersistenceUnit setName(String name)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setName.

Annotations
@Override
setNonJtaDataSourceback to summary
public PersistenceUnit setNonJtaDataSource(String nonJtaDataSource)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setNonJtaDataSource.

Annotations
@Override
setPropertyback to summary
public PersistenceUnit setProperty(String name, Object value)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setProperty.

Annotations
@Override
setProviderback to summary
public PersistenceUnit setProvider(String provider)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setProvider.

Annotations
@Override
setSharedCacheModeback to summary
public PersistenceUnit setSharedCacheMode(String sharedCacheMode)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setSharedCacheMode.

Annotations
@Override
setTransactionTypeback to summary
public PersistenceUnit setTransactionType(PersistenceUnitTransactionType transactionType)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setTransactionType.

Annotations
@Override
setValidationModeback to summary
public PersistenceUnit setValidationMode(String validationMode)

Implements org.eclipse.persistence.jpa.config.PersistenceUnit.setValidationMode.

Annotations
@Override