Top Fields Constructors Methods
org.hibernate.jpa.boot.internal

public Class PersistenceUnitInfoDescriptor

extends Object
implements PersistenceUnitDescriptor
Class Inheritance
All Implemented Interfaces
org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
Imports
java.net.URL, java.util.ArrayList, .Collection, .List, .Properties, jakarta.persistence.PersistenceException, .SharedCacheMode, .ValidationMode, jakarta.persistence.spi.PersistenceUnitInfo, .PersistenceUnitTransactionType, org.hibernate.bytecode.enhance.spi.EnhancementContext, org.hibernate.bytecode.spi.ClassTransformer, org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor, org.hibernate.jpa.internal.enhance.EnhancingClassTransformerImpl

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private ClassTransformer
private final PersistenceUnitInfo

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ClassLoader
public ClassTransformer
public List<URL>
public Object
public List<String>
public List<String>
public String
getName()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getName.

Get the persistence unit name,
public Object
public URL
public Properties
public String
getProviderClassName()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getProviderClassName.

Get the explicitly specified provider class name, or null if not specified.
public SharedCacheMode
public ClassLoader
public PersistenceUnitTransactionType
public ValidationMode
public boolean
isExcludeUnlistedClasses()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isExcludeUnlistedClasses.

Essentially should scanning for classes be performed?
public boolean
isUseQuotedIdentifiers()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isUseQuotedIdentifiers.

Is the use of quoted identifiers in effect for this whole persistence unit?
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

classTransformerback to summary
private ClassTransformer classTransformer
persistenceUnitInfoback to summary
private final PersistenceUnitInfo persistenceUnitInfo

Constructor Detail

PersistenceUnitInfoDescriptorback to summary
public PersistenceUnitInfoDescriptor(PersistenceUnitInfo persistenceUnitInfo)

Method Detail

getClassLoaderback to summary
public ClassLoader getClassLoader()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getClassLoader.

Annotations
@Override
getClassTransformerback to summary
public ClassTransformer getClassTransformer()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getClassTransformer.

Annotations
@Override
getJarFileUrlsback to summary
public List<URL> getJarFileUrls()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getJarFileUrls.

Annotations
@Override
getJtaDataSourceback to summary
public Object getJtaDataSource()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getJtaDataSource.

Annotations
@Override
getManagedClassNamesback to summary
public List<String> getManagedClassNames()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getManagedClassNames.

Annotations
@Override
getMappingFileNamesback to summary
public List<String> getMappingFileNames()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getMappingFileNames.

Annotations
@Override
getNameback to summary
public String getName()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getName.

Doc from org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getName.

Get the persistence unit name,

Returns:String

The persistence unit name,

Annotations
@Override
getNonJtaDataSourceback to summary
public Object getNonJtaDataSource()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getNonJtaDataSource.

Annotations
@Override
getPersistenceUnitRootUrlback to summary
public URL getPersistenceUnitRootUrl()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getPersistenceUnitRootUrl.

Doc from org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getPersistenceUnitRootUrl.

Get the root url for the persistence unit. Intended to describe the base for scanning.

Returns:URL

The root url

Annotations
@Override
getPropertiesback to summary
public Properties getProperties()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getProperties.

Annotations
@Override
getProviderClassNameback to summary
public String getProviderClassName()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getProviderClassName.

Doc from org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getProviderClassName.

Get the explicitly specified provider class name, or null if not specified.

Returns:String

The specified provider class name

Annotations
@Override
getSharedCacheModeback to summary
public SharedCacheMode getSharedCacheMode()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getSharedCacheMode.

Annotations
@Override
getTempClassLoaderback to summary
public ClassLoader getTempClassLoader()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getTempClassLoader.

Annotations
@Override
getTransactionTypeback to summary
public PersistenceUnitTransactionType getTransactionType()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getTransactionType.

Annotations
@Override
getValidationModeback to summary
public ValidationMode getValidationMode()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.getValidationMode.

Annotations
@Override
isExcludeUnlistedClassesback to summary
public boolean isExcludeUnlistedClasses()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isExcludeUnlistedClasses.

Doc from org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isExcludeUnlistedClasses.

Essentially should scanning for classes be performed? If not, the list of classes available is limited to:

Returns:boolean

true if the root url should not be scanned for classes.

Annotations
@Override
isUseQuotedIdentifiersback to summary
public boolean isUseQuotedIdentifiers()

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isUseQuotedIdentifiers.

Doc from org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.isUseQuotedIdentifiers.

Is the use of quoted identifiers in effect for this whole persistence unit?

Returns:boolean

true is quoted identifiers should be used throughout the unit.

Annotations
@Override
pushClassTransformerback to summary
public void pushClassTransformer(EnhancementContext enhancementContext)

Implements org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor.pushClassTransformer.

Annotations
@Override