Top Description Fields Constructors Methods
org.hibernate.cfg

public Class IndexColumn

extends Ejb3Column
Class Inheritance
Imports
java.util.Map, javax.persistence.OrderColumn, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Join

index column
Author
inger

Field Summary

Modifier and TypeField and Description
private int
Inherited from org.hibernate.cfg.Ejb3Column:
DEFAULT_COLUMN_LENGTHjoinspropertyHoldersqlType

Constructor Summary

AccessConstructor and Description
public
IndexColumn(boolean isImplicit, String sqlType, int length, int precision, int scale, String name, boolean nullable, boolean unique, boolean insertable, boolean updatable, String secondaryTableName, Map<String, Join> joins, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext)

Method Summary

Modifier and TypeMethod and Description
public static IndexColumn

Returns:

The index column
buildColumnFromAnnotation
(OrderColumn
The OrderColumn annotation instance
ann
,
PropertyHolder
Information about the property
propertyHolder
,
PropertyData
Yeah, right. Uh...
inferredData
,
Map<String, Join>
Any secondary tables available.
secondaryTables
,
MetadataBuildingContext buildingContext)

JPA 2 @OrderColumn processing.

public static IndexColumn

Returns:

The index column
buildColumnFromAnnotation
(IndexColumn
The IndexColumn annotation instance
ann
,
PropertyHolder
Information about the property
propertyHolder
,
PropertyData
Yeah, right. Uh...
inferredData
,
MetadataBuildingContext buildingContext)

Deprecated as a consequence of IndexColumn being deprecated.
Legacy @IndexColumn processing.
public int
public void
setBase(int base)

Inherited from org.hibernate.cfg.Ejb3Column:
addColumnBindingaddIndexaddIndexaddUniqueKeybindbuildColumnFromAnnotationbuildColumnFromAnnotationcheckPropertyConsistencyforceNotNullgetBuildingContextgetCommentgetDefaultValuegetExplicitTableNamegetFormulaStringgetJoingetLengthgetLogicalColumnNamegetMappingColumngetNamegetPrecisiongetPropertyHoldergetPropertyNamegetScalegetSqlTypegetTableinitMappingColumnisFormulaisImplicitisInsertableisNameDeferredisNullableisSecondaryisUniqueisUpdatablelinkWithValueredefineColumnNamesetBuildingContextsetCommentsetDefaultValuesetExplicitTableNamesetFormulasetImplicitsetInsertablesetJoinssetLengthsetLogicalColumnNamesetMappingColumnsetNullablesetPrecisionsetPropertyHoldersetPropertyNamesetScalesetSqlTypesetTablesetUniquesetUpdatabletoString

Field Detail

baseback to summary
private int base

Constructor Detail

IndexColumnback to summary
public IndexColumn(boolean isImplicit, String sqlType, int length, int precision, int scale, String name, boolean nullable, boolean unique, boolean insertable, boolean updatable, String secondaryTableName, Map<String, Join> joins, PropertyHolder propertyHolder, MetadataBuildingContext buildingContext)

Method Detail

buildColumnFromAnnotationback to summary
public static IndexColumn buildColumnFromAnnotation(OrderColumn ann, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext buildingContext)

JPA 2 @OrderColumn processing.

Parameters
ann:OrderColumn

The OrderColumn annotation instance

propertyHolder:PropertyHolder

Information about the property

inferredData:PropertyData

Yeah, right. Uh...

secondaryTables:Map<String, Join>

Any secondary tables available.

Returns:IndexColumn

The index column

buildColumnFromAnnotationback to summary
public static IndexColumn buildColumnFromAnnotation(IndexColumn ann, PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext buildingContext)

Deprecated

as a consequence of IndexColumn being deprecated. See corresponding docs for further information.

Legacy @IndexColumn processing.

Parameters
ann:IndexColumn

The IndexColumn annotation instance

propertyHolder:PropertyHolder

Information about the property

inferredData:PropertyData

Yeah, right. Uh...

Returns:IndexColumn

The index column

getBaseback to summary
public int getBase()
setBaseback to summary
public void setBase(int base)