MetadataSources
reference into a org.hibernate.boot.Metadata reference. Allows for 2 different process paradigms:build method; internally leverages the 2-step paradigm
org.hibernate.boot.Metadata . A hugely important distinction in the need for the
steps is that the first phase should strive to not load user entity/component classes so that we can still
perform enhancement on them later. This approach caters to the 2-phase bootstrap we use in regards
to WildFly Hibernate-JPA integration. The first step is defined by prepare which returns
a ManagedResources instance. The second step is defined by calling
complete
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | adaptTimestampTypesToDefaultTimeZoneStorage(TypeConfiguration typeConfiguration, JdbcType timestampWithTimeZoneOverride)
|
| private static void | adaptTimeTypesToDefaultTimeZoneStorage(TypeConfiguration typeConfiguration, JdbcType timestampWithTimeZoneOverride)
|
| private static void | adaptToPreferredSqlTypeCode(JdbcTypeRegistry jdbcTypeRegistry, JdbcType dialectUuidDescriptor, int defaultSqlTypeCode, int preferredSqlTypeCode)
|
| private static void | adaptToPreferredSqlTypeCode(TypeConfiguration typeConfiguration, JdbcTypeRegistry jdbcTypeRegistry, int preferredSqlTypeCode, Class<?> javaType, String name, String... additionalKeys)
|
| private static void | |
| private static void | applyExtraQueryImports(ManagedResources managedResources, InFlightMetadataCollectorImpl metadataCollector)
Deprecated
as a consequence of
InFlightMetadataCollectorImpl being deprecated.
|
| public static MetadataImplementor | Returns: The built MetadataThe MetadataSources sources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions The building options options)
Deprecated
as a consequence of
Unified single phase for MetadataSources to Metadata process
MetadataImplementor being deprecated.
|
| public static MetadataImplementor | Returns: Token/memento representing all known users resources (classes, packages, mapping files, etc).The token/memento from 1st phase managedResources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions The building options options)
Deprecated
as a consequence of
Second step of two-phase for MetadataSources to Metadata process
MetadataImplementor being deprecated.
|
| private static JdbcType | getTimestampWithTimeZoneOverride(MetadataBuildingOptions options, JdbcTypeRegistry jdbcTypeRegistry)
|
| private static JdbcType | |
| private static void | handleTypes(BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)
Deprecated
as a consequence of
InFlightMetadataCollector being deprecated.
|
| public static ManagedResources | Returns: Token/memento representing all known users resources (classes, packages, mapping files, etc).The MetadataSources sources, final BootstrapContext The bootstrapContext bootstrapContext)First step of two-phase for MetadataSources to Metadata process |
| private static void | processAdditionalJaxbMappingProducer(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, IndexView jandexView, ClassLoaderService classLoaderService, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated
as a consequence of
InFlightMetadataCollectorImpl being deprecated.
|
| private static void | processAdditionalMappingContributions(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, ClassLoaderService classLoaderService, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated
as a consequence of
InFlightMetadataCollectorImpl being deprecated.
|
| log | back to summary |
|---|---|
| private static final Logger log | |
| MetadataBuildingProcess | back to summary |
|---|---|
| public MetadataBuildingProcess() | |
| adaptTimestampTypesToDefaultTimeZoneStorage | back to summary |
|---|---|
| private static void adaptTimestampTypesToDefaultTimeZoneStorage(TypeConfiguration typeConfiguration, JdbcType timestampWithTimeZoneOverride) | |
| adaptTimeTypesToDefaultTimeZoneStorage | back to summary |
|---|---|
| private static void adaptTimeTypesToDefaultTimeZoneStorage(TypeConfiguration typeConfiguration, JdbcType timestampWithTimeZoneOverride) | |
| adaptToPreferredSqlTypeCode | back to summary |
|---|---|
| private static void adaptToPreferredSqlTypeCode(JdbcTypeRegistry jdbcTypeRegistry, JdbcType dialectUuidDescriptor, int defaultSqlTypeCode, int preferredSqlTypeCode) | |
| adaptToPreferredSqlTypeCode | back to summary |
|---|---|
| private static void adaptToPreferredSqlTypeCode(TypeConfiguration typeConfiguration, JdbcTypeRegistry jdbcTypeRegistry, int preferredSqlTypeCode, Class<?> javaType, String name, String... additionalKeys) | |
| addFallbackIfNecessary | back to summary |
|---|---|
| private static void addFallbackIfNecessary(JdbcTypeRegistry jdbcTypeRegistry, int typeCode, int fallbackTypeCode) | |
| applyExtraQueryImports | back to summary |
|---|---|
| private static void applyExtraQueryImports(ManagedResources managedResources, InFlightMetadataCollectorImpl metadataCollector)
Deprecated as a consequence of | |
| build | back to summary |
|---|---|
| public static MetadataImplementor build(final MetadataSources sources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions options)
Deprecated as a consequence of Unified single phase for MetadataSources to Metadata process
| |
| complete | back to summary |
|---|---|
| public static MetadataImplementor complete(final ManagedResources managedResources, final BootstrapContext bootstrapContext, final MetadataBuildingOptions options)
Deprecated as a consequence of Second step of two-phase for MetadataSources to Metadata process
| |
| getTimestampWithTimeZoneOverride | back to summary |
|---|---|
| private static JdbcType getTimestampWithTimeZoneOverride(MetadataBuildingOptions options, JdbcTypeRegistry jdbcTypeRegistry) | |
| getTimeWithTimeZoneOverride | back to summary |
|---|---|
| private static JdbcType getTimeWithTimeZoneOverride(MetadataBuildingOptions options, JdbcTypeRegistry jdbcTypeRegistry) | |
| handleTypes | back to summary |
|---|---|
| private static void handleTypes(BootstrapContext bootstrapContext, MetadataBuildingOptions options, InFlightMetadataCollector metadataCollector)
Deprecated as a consequence of | |
| prepare | back to summary |
|---|---|
| public static ManagedResources prepare(final MetadataSources sources, final BootstrapContext bootstrapContext) First step of two-phase for MetadataSources to Metadata process
| |
| processAdditionalJaxbMappingProducer | back to summary |
|---|---|
| private static void processAdditionalJaxbMappingProducer(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, IndexView jandexView, ClassLoaderService classLoaderService, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated as a consequence of | |
| processAdditionalMappingContributions | back to summary |
|---|---|
| private static void processAdditionalMappingContributions(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, ClassLoaderService classLoaderService, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated as a consequence of | |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private String | |
| private boolean | |
| private final EntityHierarchyBuilder | |
| private final MappingBinder | |
| private final InFlightMetadataCollectorImpl | metadataCollector
Deprecated
as a consequence of
InFlightMetadataCollectorImpl being deprecated.
|
| private final MetadataBuildingOptions | |
| private final MetadataBuildingContextRootImpl |
| Access | Constructor and Description |
|---|---|
| public | AdditionalMappingContributionsImpl(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, MappingBinder mappingBinder, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated
as a consequence of
InFlightMetadataCollectorImpl being deprecated.
|
| additionalEntityClasses | back to summary |
|---|---|
| private List<Class<?>> additionalEntityClasses | |
| additionalJaxbMappings | back to summary |
|---|---|
| private List<JaxbEntityMappings> additionalJaxbMappings | |
| currentContributor | back to summary |
|---|---|
| private String currentContributor | |
| extraHbmXml | back to summary |
|---|---|
| private boolean extraHbmXml | |
| hierarchyBuilder | back to summary |
|---|---|
| private final EntityHierarchyBuilder hierarchyBuilder | |
| mappingBinder | back to summary |
|---|---|
| private final MappingBinder mappingBinder | |
| metadataCollector | back to summary |
|---|---|
| private final InFlightMetadataCollectorImpl metadataCollector
Deprecated as a consequence of | |
| options | back to summary |
|---|---|
| private final MetadataBuildingOptions options | |
| rootMetadataBuildingContext | back to summary |
|---|---|
| private final MetadataBuildingContextRootImpl rootMetadataBuildingContext | |
| AdditionalMappingContributionsImpl | back to summary |
|---|---|
| public AdditionalMappingContributionsImpl(InFlightMetadataCollectorImpl metadataCollector, MetadataBuildingOptions options, MappingBinder mappingBinder, MetadataBuildingContextRootImpl rootMetadataBuildingContext)
Deprecated as a consequence of | |
| complete | back to summary |
|---|---|
| public void complete() | |
| contributeAuxiliaryDatabaseObject | back to summary |
|---|---|
| public void contributeAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject) Implements org. Doc from org. Contribute a materialized AuxiliaryDatabaseObject
| |
| contributeBinding | back to summary |
|---|---|
| public void contributeBinding(InputStream xmlStream) Implements org. Doc from org. Contribute mappings from the InputStream containing an XML mapping document.
| |
| contributeBinding | back to summary |
|---|---|
| public void contributeBinding(JaxbEntityMappings mappingJaxbBinding) Implements org. Doc from org. Contribute mappings in the form of (extended)
| |
| contributeBinding | back to summary |
|---|---|
| public void contributeBinding(JaxbHbmHibernateMapping hbmJaxbBinding) Implements org. Doc from org. Contribute mappings in the form of
| |
| contributeEntity | back to summary |
|---|---|
| public void contributeEntity(Class<?> entityType) Implements org. Doc from org. Contribute a presumably annotated entity class.
| |
| contributeSequence | back to summary |
|---|---|
| public void contributeSequence(Sequence sequence) Implements org. Doc from org. Contribute a materialized Sequence
| |
| contributeTable | back to summary |
|---|---|
| public void contributeTable(Table table) Implements org. Doc from org. Contribute a materialized Table
| |
| setCurrentContributor | back to summary |
|---|---|
| public void setCurrentContributor(String contributor) | |