Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.dialect.unique |
Support for Dialect-specific unique constraint definition
|
org.hibernate.envers.configuration.internal.metadata | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
Modifier and Type | Method and Description |
---|---|
Column |
Ejb3Column.getMappingColumn() |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.MappingsImpl.addColumnBinding(String logicalName,
Column physicalColumn,
Table table) |
void |
Mappings.addColumnBinding(String logicalName,
Column physicalColumn,
Table table)
Binds the given 'physicalColumn' to the give 'logicalName' within the given 'table'.
|
static void |
HbmBinder.bindColumn(org.dom4j.Element node,
Column column,
boolean isNullable) |
void |
Ejb3JoinColumn.linkValueUsingAColumnCopy(Column column,
SimpleValue value)
used for mappedBy cases
|
void |
Ejb3JoinColumn.linkValueUsingDefaultColumnNaming(Column referencedColumn,
PersistentClass referencedEntity,
SimpleValue value) |
void |
Ejb3JoinColumn.overrideFromReferencedColumnIfNecessary(Column column)
Called to apply column definitions from the referenced FK column to this column.
|
protected void |
Ejb3Column.setMappingColumn(Column mappingColumn) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultUniqueDelegate.getColumnDefinitionUniquenessFragment(Column column) |
String |
UniqueDelegate.getColumnDefinitionUniquenessFragment(Column column)
Get the fragment that can be used to make a column unique as part of its column definition.
|
Modifier and Type | Method and Description |
---|---|
static void |
MetadataTools.addColumn(org.dom4j.Element anyMapping,
Column column)
Adds
column element with the following attributes (unless empty): name ,
length , scale , precision , sql-type , read
and write . |
Modifier and Type | Method and Description |
---|---|
Column |
Column.clone()
Shallow copy, the value is not copied
|
Column |
DenormalizedTable.getColumn(Column column) |
Column |
Table.getColumn(Column column)
Return the column which is identified by column provided as argument.
|
Column |
Table.getColumn(int n) |
Column |
Constraint.getColumn(int i) |
Modifier and Type | Method and Description |
---|---|
Iterator<Column> |
Constraint.columnIterator() |
Iterator<Column> |
Constraint.getColumnIterator() |
Iterator<Column> |
Index.getColumnIterator() |
Map<Column,String> |
UniqueKey.getColumnOrderMap() |
Modifier and Type | Method and Description |
---|---|
void |
Component.addColumn(Column column) |
void |
SimpleValue.addColumn(Column column) |
void |
Table.addColumn(Column column) |
void |
Constraint.addColumn(Column column) |
void |
Index.addColumn(Column column) |
void |
UniqueKey.addColumn(Column column,
String order) |
void |
Index.addColumn(Column column,
String order) |
boolean |
DenormalizedTable.containsColumn(Column column) |
boolean |
Table.containsColumn(Column column) |
boolean |
Constraint.containsColumn(Column column) |
boolean |
Index.containsColumn(Column column) |
boolean |
Column.equals(Column column) |
static String |
Constraint.generateName(String prefix,
Table table,
Column... columns)
If a constraint is not explicitly named, this is called to generate
a unique hash using the table and column names.
|
Column |
DenormalizedTable.getColumn(Column column) |
Column |
Table.getColumn(Column column)
Return the column which is identified by column provided as argument.
|
Modifier and Type | Method and Description |
---|---|
static String |
Index.buildSqlCreateIndexString(Dialect dialect,
String name,
Table table,
Iterator<Column> columns,
boolean unique,
String defaultCatalog,
String defaultSchema) |
static String |
Index.buildSqlCreateIndexString(Dialect dialect,
String name,
Table table,
Iterator<Column> columns,
Map<Column,String> columnOrderMap,
boolean unique,
String defaultCatalog,
String defaultSchema) |
static String |
Index.buildSqlCreateIndexString(Dialect dialect,
String name,
Table table,
Iterator<Column> columns,
Map<Column,String> columnOrderMap,
boolean unique,
String defaultCatalog,
String defaultSchema) |
static String |
Constraint.generateName(String prefix,
Table table,
List<Column> columns)
Helper method for
Constraint.generateName(String, Table, Column...) . |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.