Uses of Interface
org.hibernate.boot.Metadata
Packages that use Metadata
Package
Description
This package contains the interfaces that make up the bootstrap API
for Hibernate.
Support for integrating Jakarta Bean Validation.
Some SPIs related to DDL generation and schema management.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
Support for bytecode interceptor implementations.
Internal package containing dialect-specific implementations of
JdbcType
.Support for
Dialect
-specific unique constraint definition.An SPI for extensions which integrate with Hibernate via the Java
ServiceLoader
facility.This package defines the Hibernate configuration-time mapping model.
This package abstracts persistence mechanisms for entities.
Support for named queries
An SPI for tooling related to DDL generation, export, migration, and validation.
-
Uses of Metadata in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataModifier and TypeMethodDescriptionMetadataBuilder.build()
Actually build the metamodelMetadataSources.buildMetadata()
Shorthand form of callingMetadataSources.getMetadataBuilder()
and using itsMetadataBuilder.build()
method in cases where the application wants to accept the defaults.MetadataSources.buildMetadata
(StandardServiceRegistry serviceRegistry) -
Uses of Metadata in org.hibernate.boot.beanvalidation
Methods in org.hibernate.boot.beanvalidation that return MetadataMethods in org.hibernate.boot.beanvalidation with parameters of type MetadataModifier and TypeMethodDescriptionvoid
BeanValidationIntegrator.integrate
(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory) -
Uses of Metadata in org.hibernate.boot.model.relational
Methods in org.hibernate.boot.model.relational with parameters of type MetadataModifier and TypeMethodDescriptionColumnOrderingStrategyStandard.orderColumns
(Collection<Column> columns, Metadata metadata) ColumnOrderingStrategy.orderConstraintColumns
(Constraint constraint, Metadata metadata) Orders the columns of the constraint.ColumnOrderingStrategyLegacy.orderConstraintColumns
(Constraint constraint, Metadata metadata) ColumnOrderingStrategyStandard.orderConstraintColumns
(Constraint constraint, Metadata metadata) ColumnOrderingStrategy.orderTableColumns
(Table table, Metadata metadata) Orders the columns of the table.ColumnOrderingStrategyLegacy.orderTableColumns
(Table table, Metadata metadata) ColumnOrderingStrategyStandard.orderTableColumns
(Table table, Metadata metadata) void
ColumnOrderingStrategy.orderTemporaryTableColumns
(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata) Orders the columns of the temporary table.void
ColumnOrderingStrategyLegacy.orderTemporaryTableColumns
(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata) void
ColumnOrderingStrategyStandard.orderTemporaryTableColumns
(List<TemporaryTableColumn> temporaryTableColumns, Metadata metadata) ColumnOrderingStrategy.orderUserDefinedTypeColumns
(UserDefinedObjectType userDefinedType, Metadata metadata) Orders the columns of the user defined type.ColumnOrderingStrategyLegacy.orderUserDefinedTypeColumns
(UserDefinedObjectType userDefinedType, Metadata metadata) ColumnOrderingStrategyStandard.orderUserDefinedTypeColumns
(UserDefinedObjectType userDefinedType, Metadata metadata) protected static int
ColumnOrderingStrategyStandard.physicalSizeInBytes
(int sqlTypeCode, Size columnSize, Metadata metadata) Constructors in org.hibernate.boot.model.relational with parameters of type MetadataModifierConstructorDescriptionprotected
ColumnComparator
(Metadata metadata) protected
TemporaryTableColumnComparator
(Metadata metadata) -
Uses of Metadata in org.hibernate.boot.spi
Subinterfaces of Metadata in org.hibernate.boot.spiModifier and TypeInterfaceDescriptioninterface
An in-flight representation ofMetadata
while it is being built.interface
The SPI-levelMetadata
contract.Classes in org.hibernate.boot.spi that implement MetadataModifier and TypeClassDescriptionclass
Convenience base class for custom implementors ofMetadataImplementor
using delegation.Methods in org.hibernate.boot.spi that return Metadata -
Uses of Metadata in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type MetadataModifier and TypeMethodDescriptionstatic LazyAttributesMetadata
LazyAttributesMetadata.from
(PersistentClass mappedEntity, boolean isEnhanced, boolean collectionsInDefaultFetchGroupEnabled, Metadata metadata) Build a LazyFetchGroupMetadata based on the attributes defined for the PersistentClass -
Uses of Metadata in org.hibernate.dialect.type
Methods in org.hibernate.dialect.type with parameters of type MetadataModifier and TypeMethodDescriptionString[]
OracleUserDefinedTypeExporter.getSqlCreateStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]
OracleUserDefinedTypeExporter.getSqlDropStrings
(UserDefinedArrayType userDefinedType, Metadata metadata, SqlStringGenerationContext context) -
Uses of Metadata in org.hibernate.dialect.unique
Methods in org.hibernate.dialect.unique with parameters of type MetadataModifier and TypeMethodDescriptionAlterTableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) AlterTableUniqueIndexDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) CreateTableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToAddUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Get thealter table
command used to create the given unique key constraint, or return the empty string if the constraint was already included in thecreate table
statement byUniqueDelegate.getTableCreationUniqueConstraintsFragment(org.hibernate.mapping.Table, org.hibernate.boot.model.relational.SqlStringGenerationContext)
.AlterTableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) AlterTableUniqueIndexDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) CreateTableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToDropUniqueKeyCommand
(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Get thealter table
command used to drop the given unique key which was previously created byUniqueDelegate.getAlterTableToAddUniqueKeyCommand(org.hibernate.mapping.UniqueKey, org.hibernate.boot.Metadata, org.hibernate.boot.model.relational.SqlStringGenerationContext)
. -
Uses of Metadata in org.hibernate.integrator.spi
Methods in org.hibernate.integrator.spi with parameters of type MetadataModifier and TypeMethodDescriptiondefault void
Integrator.integrate
(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory) Perform integration. -
Uses of Metadata in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type MetadataModifier and TypeMethodDescriptionColumn.getSqlType
(Metadata mapping) boolean
Column.isSqlTypeLob
(Metadata mapping) ForeignKey.resolveReferencedClass
(Metadata metadata) void
void
void
void
-
Uses of Metadata in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type MetadataModifier and TypeMethodDescriptionprotected void
AbstractEntityPersister.initPropertyPaths
(Metadata mapping) protected void
AbstractEntityPersister.postConstruct
(Metadata mapping) Post-construct is a callback forAbstractEntityPersister
subclasses to call after they are all done with their constructor processing. -
Uses of Metadata in org.hibernate.query.named
Methods in org.hibernate.query.named with parameters of type MetadataModifier and TypeMethodDescriptionvoid
NamedObjectRepository.prepare
(SessionFactoryImplementor sessionFactory, Metadata bootMetamodel) Prepare for runtime use -
Uses of Metadata in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi with parameters of type MetadataModifier and TypeMethodDescriptionSchemaDropper.buildDelayedAction
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor) Build a delayed Runnable for performing schema dropping.void
SchemaCreator.doCreation
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema creation from the indicated source(s) to the indicated target(s).void
SchemaDropper.doDrop
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, TargetDescriptor targetDescriptor) Perform a schema drop from the indicated source(s) to the indicated target(s).void
SchemaMigrator.doMigration
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform a schema migration (alteration) from the indicated source(s) to the indicated target(s).void
GeneratorSynchronizer.doSynchronize
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform sequence resynchronization from the indicated source(s) to the indicated target(s).void
SchemaTruncator.doTruncate
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform schema truncation from the indicated source(s) to the indicated target(s).void
SchemaValidator.doValidation
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter) Perform the validation of the schema described by MetadataString[]
TableMigrator.getSqlAlterStrings
(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context) String[]
Exporter.getSqlCreateStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for creation.Cleaner.getSqlDisableConstraintString
(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) A statement that disables the given foreign key constraint.String[]
Exporter.getSqlDropStrings
(T exportable, Metadata metadata, SqlStringGenerationContext context) Get the commands needed for dropping.Cleaner.getSqlEnableConstraintString
(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) A statement that re-enables the given foreign key constraint.String[]
Cleaner.getSqlTruncateStrings
(Collection<Table> tables, Metadata metadata, SqlStringGenerationContext context) A statement or statements that truncate the given tables.static void
SchemaManagementToolCoordinator.process
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> configuration, DelayedDropRegistry delayedDropRegistry)