Interface PersistenceUnitDescriptor

    • Method Detail

      • getPersistenceUnitRootUrl

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

        String getName()
        Get the persistence unit name,
        Returns:
        The persistence unit name,
      • getProviderClassName

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

        boolean isUseQuotedIdentifiers()
        Is the use of quoted identifiers in effect for this whole persistence unit?
        Returns:
        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:
        Returns:
        true if the root url should not be scanned for classes.
      • getTransactionType

        jakarta.persistence.spi.PersistenceUnitTransactionType getTransactionType()
      • getValidationMode

        jakarta.persistence.ValidationMode getValidationMode()
      • getSharedCacheMode

        jakarta.persistence.SharedCacheMode getSharedCacheMode()
      • getManagedClassNames

        List<String> getManagedClassNames()
      • getMappingFileNames

        List<String> getMappingFileNames()
      • getJarFileUrls

        List<URL> getJarFileUrls()
      • getNonJtaDataSource

        Object getNonJtaDataSource()
      • getJtaDataSource

        Object getJtaDataSource()
      • pushClassTransformer

        void pushClassTransformer​(EnhancementContext enhancementContext)