Interface PersistenceUnitDescriptor

  • All Known Implementing Classes:

    public interface PersistenceUnitDescriptor
    Abstraction for dealing with either <persistence-unit/> information whether that comes from an EE container in the form of PersistenceUnitInfo or in an SE environment where Hibernate has parsed the persistence.xml file itself.
    • Method Detail

      • getPersistenceUnitRootUrl getPersistenceUnitRootUrl()
        Get the root url for the persistence unit. Intended to describe the base for scanning.
        The root url
      • getName

        java.lang.String getName()
        Get the persistence unit name,
        The persistence unit name,
      • getProviderClassName

        java.lang.String getProviderClassName()
        Get the explicitly specified provider class name, or null if not specified.
        The specified provider class name
      • isUseQuotedIdentifiers

        boolean isUseQuotedIdentifiers()
        Is the use of quoted identifiers in effect for this whole persistence unit?
        true is quoted identifiers should be used throughout the unit.
      • isExcludeUnlistedClasses

        boolean isExcludeUnlistedClasses()
        Essentially should scanning for classes be performed? If not, the list of classes available is limited to:
        true if the root url should not be scanned for classes.
      • getManagedClassNames

        java.util.List<java.lang.String> getManagedClassNames()
      • getMappingFileNames

        java.util.List<java.lang.String> getMappingFileNames()
      • getJarFileUrls

        java.util.List<> getJarFileUrls()
      • getNonJtaDataSource

        java.lang.Object getNonJtaDataSource()
      • getJtaDataSource

        java.lang.Object getJtaDataSource()
      • getProperties

        java.util.Properties getProperties()
      • getClassLoader

        java.lang.ClassLoader getClassLoader()
      • getTempClassLoader

        java.lang.ClassLoader getTempClassLoader()
      • pushClassTransformer

        void pushClassTransformer​(EnhancementContext enhancementContext)