Uses of Class
org.hibernate.mapping.Column
Package
Description
Some SPIs related to DDL generation and schema management.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect
-specific aggregate column types,
including user-defined composite types, and JSON or XML types.Support for
Dialect
-specific unique constraint definition.This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.This package defines the Hibernate configuration-time mapping model.
An implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.
-
Uses of Column in org.hibernate.boot.internal
Modifier and TypeMethodDescriptionvoid
InFlightMetadataCollectorImpl.addColumnNameBinding
(Table table, String logicalName, Column column) void
InFlightMetadataCollectorImpl.addColumnNameBinding
(Table table, Identifier logicalName, Column column) -
Uses of Column in org.hibernate.boot.model.internal
Modifier and TypeMethodDescriptionvoid
AnnotatedJoinColumn.linkValueUsingAColumnCopy
(Column column, SimpleValue value) used for mappedBy casesvoid
AnnotatedJoinColumn.linkValueUsingDefaultColumnNaming
(int columnIndex, Column referencedColumn, PersistentClass referencedEntity, SimpleValue value) void
AnnotatedJoinColumn.linkValueUsingDefaultColumnNaming
(Column referencedColumn, PersistentClass referencedEntity, SimpleValue value) void
AnnotatedJoinColumn.overrideFromReferencedColumnIfNecessary
(Column column) Called to apply column definitions from the referenced FK column to this column.protected void
AnnotatedColumn.setMappingColumn
(Column mappingColumn) -
Uses of Column in org.hibernate.boot.model.relational
Modifier 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) 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) Modifier and TypeMethodDescriptionint
Modifier and TypeMethodDescriptionColumnOrderingStrategyStandard.orderColumns
(Collection<Column> columns, Metadata metadata) -
Uses of Column in org.hibernate.boot.spi
Modifier and TypeMethodDescriptionvoid
InFlightMetadataCollector.addColumnNameBinding
(Table table, String logicalColumnName, Column column) void
InFlightMetadataCollector.addColumnNameBinding
(Table table, Identifier logicalColumnName, Column column) -
Uses of Column in org.hibernate.dialect
Modifier and TypeMethodDescriptionDB2Dialect.getCreateIndexTail
(boolean unique, List<Column> columns) DB2iDialect.getCreateIndexTail
(boolean unique, List<Column> columns) DB2zDialect.getCreateIndexTail
(boolean unique, List<Column> columns) Dialect.getCreateIndexTail
(boolean unique, List<Column> columns) A string to be appended to the end of thecreate index
command, usually to specify thatnull
values are to be considered distinct.DialectDelegateWrapper.getCreateIndexTail
(boolean unique, List<Column> columns) SQLServerDialect.getCreateIndexTail
(boolean unique, List<Column> columns) -
Uses of Column in org.hibernate.dialect.aggregate
Modifier and TypeMethodDescriptionAggregateSupport.aggregateComponentAssignmentExpression
(String aggregateParentAssignmentExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) Returns the assignment expression to use forcolumn
, which is part of the aggregate type ofaggregatePath
.AggregateSupportImpl.aggregateComponentAssignmentExpression
(String aggregateParentAssignmentExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) DB2AggregateSupport.aggregateComponentAssignmentExpression
(String aggregateParentAssignmentExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) OracleAggregateSupport.aggregateComponentAssignmentExpression
(String aggregateParentAssignmentExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) PostgreSQLAggregateSupport.aggregateComponentAssignmentExpression
(String aggregateParentAssignmentExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) AggregateSupport.aggregateComponentCustomReadExpression
(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) Returns the custom read expression to use forcolumn
.AggregateSupportImpl.aggregateComponentCustomReadExpression
(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) DB2AggregateSupport.aggregateComponentCustomReadExpression
(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) OracleAggregateSupport.aggregateComponentCustomReadExpression
(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) PostgreSQLAggregateSupport.aggregateComponentCustomReadExpression
(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, AggregateColumn aggregateColumn, Column column) Modifier and TypeMethodDescriptionAggregateSupport.aggregateAuxiliaryDatabaseObjects
(Namespace namespace, String aggregatePath, AggregateColumn aggregateColumn, List<Column> aggregatedColumns) Allows to generate auxiliary database objects for an aggregate type.AggregateSupportImpl.aggregateAuxiliaryDatabaseObjects
(Namespace namespace, String aggregatePath, AggregateColumn aggregateColumn, List<Column> aggregatedColumns) DB2AggregateSupport.aggregateAuxiliaryDatabaseObjects
(Namespace namespace, String aggregatePath, AggregateColumn aggregateColumn, List<Column> aggregatedColumns) OracleAggregateSupport.aggregateAuxiliaryDatabaseObjects
(Namespace namespace, String aggregatePath, AggregateColumn aggregateColumn, List<Column> aggregatedColumns) AggregateSupport.aggregateCustomWriteExpression
(AggregateColumn aggregateColumn, List<Column> aggregatedColumns) Returns the custom write expression to use for an aggregate column of the given column type, containing the given aggregated columns.AggregateSupportImpl.aggregateCustomWriteExpression
(AggregateColumn aggregateColumn, List<Column> aggregatedColumns) DB2AggregateSupport.aggregateCustomWriteExpression
(AggregateColumn aggregateColumn, List<Column> aggregatedColumns) -
Uses of Column in org.hibernate.dialect.unique
Modifier and TypeMethodDescriptionAlterTableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) CreateTableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) SkipNullableUniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) UniqueDelegate.getColumnDefinitionUniquenessFragment
(Column column, SqlStringGenerationContext context) Get the SQL fragment used to make the given column unique as part of its column definition, usually just" unique"
, or return an empty string if uniqueness does not belong in the column definition. -
Uses of Column in org.hibernate.id
-
Uses of Column in org.hibernate.mapping
Modifier and TypeClassDescriptionclass
An aggregate column is a column of typeSqlTypes.STRUCT
,SqlTypes.JSON
orSqlTypes.SQLXML
that aggregates a component into a single column.Modifier and TypeMethodDescriptionColumn.clone()
Shallow copy, the value is not copiedConstraint.getColumn
(int i) DenormalizedTable.getColumn
(Identifier name) Table.getColumn
(int n) Table.getColumn
(Identifier name) Table.getColumn
(InFlightMetadataCollector collector, String logicalName) Return the column which is identified by column provided as argument.UserDefinedObjectType.getColumn
(int n) UserDefinedObjectType.getColumn
(Identifier name) Return the column which is identified by column provided as argument.Collection.getSoftDeleteColumn()
RootClass.getSoftDeleteColumn()
SoftDeletable.getSoftDeleteColumn()
Modifier and TypeMethodDescriptionComponent.getAggregatedColumns()
Index.getColumnOrderMap()
Deprecated.UniqueKey.getColumnOrderMap()
Collection.getColumns()
Component.getColumns()
Constraint.getColumns()
DenormalizedTable.getColumns()
Index.getColumns()
Deprecated.OneToMany.getColumns()
Property.getColumns()
Delegates toValue.getColumns()
.SimpleValue.getColumns()
Table.getColumns()
UserDefinedObjectType.getColumns()
Value.getColumns()
If the mapping involves only columns, return them.PrimaryKey.getColumnsInOriginalOrder()
OneToOne.getConstraintColumns()
Value.getConstraintColumns()
Same asValue.getColumns()
except it returns the PK for the non-owning side of a one-to-one association.ForeignKey.getReferencedColumns()
Returns the referenced columns if the foreignkey does not refer to the primary keyModifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Table.columnRenamed
(Column column) boolean
Constraint.containsColumn
(Column column) boolean
DenormalizedTable.containsColumn
(Column column) boolean
Index.containsColumn
(Column column) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Table.containsColumn
(Column column) boolean
UserDefinedObjectType.containsColumn
(Column column) void
Table.createUniqueKey
(Column column, MetadataBuildingContext context) Mark the given column unique.void
Collection.enableSoftDelete
(Column indicatorColumn) void
RootClass.enableSoftDelete
(Column indicatorColumn) void
SoftDeletable.enableSoftDelete
(Column indicatorColumn) boolean
static String
Constraint.generateName
(String prefix, Table table, Column... columns) Deprecated, for removal: This API element is subject to removal in a future version.This method does not respect theImplicitNamingStrategy
Return the column which is identified by column provided as argument.Return the column which is identified by column provided as argument.protected String
PrimaryKey.getTableNameForLogging
(Column column) boolean
PersistentClass.isDefinedOnMultipleSubclasses
(Column column) boolean
Table.isPrimaryKey
(Column column) protected void
SimpleValue.justAddColumn
(Column column) protected void
SimpleValue.justAddColumn
(Column column, boolean insertable, boolean updatable) Modifier and TypeMethodDescriptionvoid
Index.addColumns
(List<Column> extraColumns) Deprecated, for removal: This API element is subject to removal in a future version.void
ForeignKey.addReferencedColumns
(List<Column> referencedColumns) static String
Index.buildSqlCreateIndexString
(SqlStringGenerationContext context, String name, Table table, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique, Metadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next releasestatic String
Index.buildSqlCreateIndexString
(SqlStringGenerationContext context, String name, Table table, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique, Metadata metadata) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next releasestatic String
Index.buildSqlCreateIndexString
(Dialect dialect, String name, String tableName, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next releasestatic String
Index.buildSqlCreateIndexString
(Dialect dialect, String name, String tableName, List<Column> columns, Map<Column, String> columnOrderMap, boolean unique) Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in the next releaseTable.createForeignKey
(String keyName, List<Column> keyColumns, String referencedEntityName, String keyDefinition) Table.createForeignKey
(String keyName, List<Column> keyColumns, String referencedEntityName, String keyDefinition, List<Column> referencedColumns) void
Table.createUniqueKey
(List<Column> keyColumns) Deprecated, for removal: This API element is subject to removal in a future version.void
Table.createUniqueKey
(List<Column> keyColumns, MetadataBuildingContext context) If there is one given column, mark it unique, otherwise create aUniqueKey
comprising the given columns.static String
Constraint.generateName
(String prefix, Table table, List<Column> columns) Deprecated, for removal: This API element is subject to removal in a future version.This method does not respect theImplicitNamingStrategy
void
DenormalizedTable.reorderColumns
(List<Column> columns) void
PrimaryKey.reorderColumns
(List<Column> reorderedColumns) void
Table.reorderColumns
(List<Column> columns) void
UserDefinedObjectType.reorderColumns
(List<Column> columns) -
Uses of Column in org.hibernate.metamodel.mapping.internal
Modifier and TypeMethodDescriptionAbstractEmbeddableMapping.ConcreteTableResolver.resolve
(Column column, JdbcEnvironment jdbcEnvironment) static BasicType<?>
MappingModelCreationHelper.resolveAggregateColumnBasicType
(MappingModelCreationProcess creationProcess, NavigableRole navigableRole, Column column) -
Uses of Column in org.hibernate.tool.schema.internal
Modifier and TypeMethodDescriptionprotected void
AbstractSchemaValidator.validateColumnType
(Table table, Column column, ColumnInformation columnInformation, Metadata metadata, ExecutionOptions options, Dialect dialect)
Index.getSelectableOrderMap()