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 DDLcreate
anddrop
statements in the mapping metadata.AuxiliaryDatabaseObject.Expandable Additional, optional interface forAuxiliaryDatabaseObject
s that want to allow expansion of allowable dialects via mapping.ColumnOrderingStrategy 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 produceExportable
relational 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 forAuxiliaryDatabaseObject
s.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, name
ColumnOrderingStrategyStandard.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 ofAbstractAuxiliaryDatabaseObject
in which theCREATE
andDROP
strings are provided up front.