Package org.hibernate.boot.model.relational
Some SPIs related to DDL generation and schema management.
Includes the extremely useful
AuxiliaryDatabaseObject.
-
Interface Summary Interface Description AuxiliaryDatabaseObject An auxiliary database object is a trigger, function, stored procedure, or anything similar which is defined using explicit handwritten DDLcreateanddropstatements in the mapping metadata.AuxiliaryDatabaseObject.Expandable Additional, optional interface forAuxiliaryDatabaseObjects that want to allow expansion of allowable dialects via mapping.ColumnOrderingStrategy A pluggable contract that allows ordering of columns withinTable,ConstraintandUserDefinedObjectType.ContributableDatabaseObject Database objects (table, sequence, etc) which are associated with a contributor (ORM, Envers, etc) and can be selectively exported per contributorExportable Contract for entities (in the ERD sense) which can be exported viaCREATE,ALTER, etcExportableProducer Identifies metamodel objects that can produceExportablerelational stuff.QualifiedName Models the qualified name of a database object.SqlStringGenerationContext A context provided to methods responsible for generating SQL strings on startup. -
Class Summary Class Description AbstractAuxiliaryDatabaseObject Convenience base class forAuxiliaryDatabaseObjects.ColumnOrderingStrategyLegacy A no-op implementation.ColumnOrderingStrategyStandard Standard implementation that orders columns by size and name following roughly this ordering:order by max(physicalSizeBytes, 4), physicalSizeBytes > 2048, nameColumnOrderingStrategyStandard.ColumnComparator ColumnOrderingStrategyStandard.TemporaryTableColumnComparator Database InitCommand A general SQL command to be used while initializing a schema.NamedAuxiliaryDatabaseObject Mainly this is used to support legacy sequence exporting.Namespace Represents a namespace (named schema/catalog pair) with a Database and manages objects defined within.Namespace.ComparableHelper Namespace.Name QualifiedNameImpl QualifiedNameParser Parses a qualified name.QualifiedNameParser.NameParts QualifiedSequenceName QualifiedTableName QualifiedTypeName Sequence Models a databaseSEQUENCE.Sequence.Name SimpleAuxiliaryDatabaseObject A simple implementation ofAbstractAuxiliaryDatabaseObjectin which theCREATEandDROPstrings are provided up front.