Uses of Interface
org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor
Packages that use PersistenceUnitDescriptor
Package
Description
The packages in this namespace are responsible for implementing certain
requirements of the JPA specification, especially things which are only
needed when Hibernate is acting as a JPA persistence provider.
-
Uses of PersistenceUnitDescriptor in org.hibernate.jpa
Methods in org.hibernate.jpa that return types with arguments of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionprotected Collection<PersistenceUnitDescriptor>HibernatePersistenceProvider.locatePersistenceUnits(Map<?, ?> integration, ClassLoader providedClassLoader, ClassLoaderService providedClassLoaderService) Methods in org.hibernate.jpa with parameters of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionprotected EntityManagerFactoryBuilderHibernatePersistenceProvider.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoader providedClassLoader) protected EntityManagerFactoryBuilderHibernatePersistenceProvider.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<?, ?> integration, ClassLoaderService providedClassLoaderService) -
Uses of PersistenceUnitDescriptor in org.hibernate.jpa.boot.internal
Classes in org.hibernate.jpa.boot.internal that implement PersistenceUnitDescriptorModifier and TypeClassDescriptionclassDescribes the information gleaned from a<persistence-unit/>element in apersistence.xmlfile whether parsed directly by Hibernate or passed to us by an EE container as an instance ofPersistenceUnitInfo.classMethods in org.hibernate.jpa.boot.internal with parameters of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionstatic PersistenceExceptionHelper.persistenceException(PersistenceUnitDescriptor persistenceUnit, String message) static PersistenceExceptionHelper.persistenceException(PersistenceUnitDescriptor persistenceUnit, String message, Exception cause) Constructors in org.hibernate.jpa.boot.internal with parameters of type PersistenceUnitDescriptorModifierConstructorDescriptionEntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<String, Object> integrationSettings) EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<String, Object> integrationSettings, ClassLoader providedClassLoader) EntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnitDescriptor, Map<String, Object> integration, Consumer<MergedSettings> mergedSettingsBaseline) For tests onlyEntityManagerFactoryBuilderImpl(PersistenceUnitDescriptor persistenceUnit, Map<String, Object> integrationSettings, ClassLoaderService providedClassLoaderService) StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor) -
Uses of PersistenceUnitDescriptor in org.hibernate.jpa.boot.spi
Classes in org.hibernate.jpa.boot.spi that implement PersistenceUnitDescriptorModifier and TypeClassDescriptionclassPersistenceUnitDescriptor wrapper around PersistenceConfigurationMethods in org.hibernate.jpa.boot.spi that return types with arguments of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionGeneric method to parse specifiedpersistence.xmlfiles and return a Map of descriptors for all discovered persistence-units keyed by the PU name.PersistenceXmlParser.parse(List<URL> persistenceXmlUrls, PersistenceUnitTransactionType transactionType) Generic method to parse specifiedpersistence.xmlfiles and return a Map of descriptors for all discovered persistence-units keyed by the PU name.Methods in org.hibernate.jpa.boot.spi with parameters of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionstatic StringProviderChecker.extractRequestedProviderName(PersistenceUnitDescriptor persistenceUnit, Map integration) Extract the requested persistence provider name using the algorithm Hibernate uses.static EntityManagerFactoryBuilderBootstrap.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration) static EntityManagerFactoryBuilderBootstrap.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoader providedClassLoader) static EntityManagerFactoryBuilderBootstrap.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, Consumer<MergedSettings> mergedSettingsBaseline) For tests onlystatic EntityManagerFactoryBuilderBootstrap.getEntityManagerFactoryBuilder(PersistenceUnitDescriptor persistenceUnitDescriptor, Map integration, ClassLoaderService providedClassLoaderService) static booleanProviderChecker.isProvider(PersistenceUnitDescriptor persistenceUnit, Map integration) Does the descriptor and/or integration request Hibernate as thePersistenceProvider? Note that in the case of no requested provider being named we assume we are the provider (the calls got to us somehow...) -
Uses of PersistenceUnitDescriptor in org.hibernate.jpa.internal.util
Methods in org.hibernate.jpa.internal.util with parameters of type PersistenceUnitDescriptorModifier and TypeMethodDescriptionstatic voidLogHelper.logPersistenceUnitInformation(PersistenceUnitDescriptor descriptor)