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.
Supported Dialect strategies for unique-key representation and DDL.
An SPI for extensions which integrate with Hibernate via the Java
ServiceLoader facility.This package defines the Hibernate configuration-time mapping model.
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 TypeMethodDescriptionstatic voidBeanValidationIntegrator.applyRelationalConstraints(Metadata metadata, ServiceRegistry serviceRegistry, Object validatorFactory) Apply validation-derived schema metadata without constructing a SessionFactory.voidBeanValidationIntegrator.integrate(Metadata metadata, Integrator.Context context, 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) <C extends TemporaryTableColumnDescriptor>
voidColumnOrderingStrategy.orderTemporaryTableColumns(List<C> temporaryTableColumns, Metadata metadata) Orders the columns of the temporary table.<C extends TemporaryTableColumnDescriptor>
voidColumnOrderingStrategyLegacy.orderTemporaryTableColumns(List<C> temporaryTableColumns, Metadata metadata) <C extends TemporaryTableColumnDescriptor>
voidColumnOrderingStrategyStandard.orderTemporaryTableColumns(List<C> 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 intColumnOrderingStrategyStandard.physicalSizeInBytes(int sqlTypeCode, Size columnSize, Metadata metadata) Constructors in org.hibernate.boot.model.relational with parameters of type MetadataModifierConstructorDescriptionprotectedColumnComparator(Metadata metadata) protectedTemporaryTableColumnComparator(Metadata metadata) -
Uses of Metadata in org.hibernate.boot.spi
Subinterfaces of Metadata in org.hibernate.boot.spiModifier and TypeInterfaceDescriptioninterfaceAn in-flight representation ofMetadatawhile it is being built.interfaceThe SPI-levelMetadatacontract.Classes in org.hibernate.boot.spi that implement MetadataModifier and TypeClassDescriptionclassConvenience base class for custom implementors ofMetadataImplementorusing 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 LazyAttributesMetadataLazyAttributesMetadata.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.schema.spi
Methods in org.hibernate.dialect.schema.spi with parameters of type MetadataModifier and TypeMethodDescriptionString[]TableMigrator.getSqlAlterStrings(Table table, Metadata metadata, TableInformation tableInfo, SqlStringGenerationContext context) TableCleaner.getSqlDisableConstraintStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) TableCleaner.getSqlEnableConstraintStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) TableCleaner.getSqlTruncateStrings(Collection<Table> tables, Metadata metadata, SqlStringGenerationContext context) -
Uses of Metadata in org.hibernate.dialect.unique.spi
Methods in org.hibernate.dialect.unique.spi with parameters of type MetadataModifier and TypeMethodDescriptionDelegatingUniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Render the complete command which adds the unique key.DelegatingUniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) UniqueDelegate.getAlterTableToDropUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata, SqlStringGenerationContext context) Render the complete command which drops the unique key previously emitted byUniqueDelegate.getAlterTableToAddUniqueKeyCommand(UniqueKey, Metadata, SqlStringGenerationContext). -
Uses of Metadata in org.hibernate.integrator.spi
Methods in org.hibernate.integrator.spi with parameters of type MetadataModifier and TypeMethodDescriptiondefault voidIntegrator.integrate(Metadata metadata, BootstrapContext bootstrapContext, SessionFactoryImplementor sessionFactory) Deprecated, for removal: This API element is subject to removal in a future version.default voidIntegrator.integrate(Metadata metadata, Integrator.Context context, 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) booleanColumn.isSqlTypeLob(Metadata mapping) ForeignKey.resolveReferencedClass(Metadata metadata) voidvoidvoidvoid -
Uses of Metadata in org.hibernate.query.named.spi
Methods in org.hibernate.query.named.spi with parameters of type MetadataModifier and TypeMethodDescriptionvoidNamedObjectRepository.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.voidSchemaCreator.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).voidSchemaDropper.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).voidSchemaMigrator.doMigration(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform a schema migration (alteration) from the indicated source(s) to the indicated target(s).voidGeneratorSynchronizer.doSynchronize(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform sequence resynchronization from the indicated source(s) to the indicated target(s).voidSchemaTruncator.doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, TargetDescriptor targetDescriptor) Perform schema truncation from the indicated source(s) to the indicated target(s).voidSchemaValidator.doValidation(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter) Perform the validation of the schema described by Metadataprotected StringStandardSequenceExporter.getFormattedSequenceName(QualifiedSequenceName name, Metadata metadata, SqlStringGenerationContext context) Format the sequence name used by create and drop commands.String[]Exporter.getSqlCreateStrings(T exportable, Metadata metadata, SqlStringGenerationContext context) Return the commands needed to createexportable, in execution order.String[]StandardForeignKeyExporter.getSqlCreateStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) String[]StandardIndexExporter.getSqlCreateStrings(Index index, Metadata metadata, SqlStringGenerationContext context) String[]StandardSequenceExporter.getSqlCreateStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context) String[]StandardTableExporter.getSqlCreateStrings(Table table, Metadata metadata, SqlStringGenerationContext context) String[]StandardUserDefinedTypeExporter.getSqlCreateStrings(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) String[]Exporter.getSqlDropStrings(T exportable, Metadata metadata, SqlStringGenerationContext context) Return the commands needed to dropexportable, in execution order.String[]StandardForeignKeyExporter.getSqlDropStrings(ForeignKey foreignKey, Metadata metadata, SqlStringGenerationContext context) String[]StandardIndexExporter.getSqlDropStrings(Index index, Metadata metadata, SqlStringGenerationContext context) String[]StandardSequenceExporter.getSqlDropStrings(Sequence sequence, Metadata metadata, SqlStringGenerationContext context) String[]StandardTableExporter.getSqlDropStrings(Table table, Metadata metadata, SqlStringGenerationContext context) String[]StandardUserDefinedTypeExporter.getSqlDropStrings(UserDefinedType userDefinedType, Metadata metadata, SqlStringGenerationContext context) static voidSchemaManagementToolCoordinator.performDatabaseAction(Action action, Metadata metadata, SchemaManagementTool tool, ServiceRegistry serviceRegistry, ExecutionOptions executionOptions, ContributableMatcher contributableInclusionFilter) static voidSchemaManagementToolCoordinator.process(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> configuration, DelayedDropRegistry delayedDropRegistry)
Integrator.integrate(Metadata, Context, SessionFactoryImplementor).