Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations | |
org.hibernate.dialect.unique |
Support for Dialect-specific unique constraint definition
|
org.hibernate.envers.configuration.internal.metadata | |
org.hibernate.hql.spi | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Table> |
Configuration.tables |
Modifier and Type | Method and Description |
---|---|
Table |
Configuration.MappingsImpl.addDenormalizedTable(String schema,
String catalog,
String name,
boolean isAbstract,
String subselect,
Table includedTable) |
Table |
Mappings.addDenormalizedTable(String schema,
String catalog,
String name,
boolean isAbstract,
String subselect,
Table includedTable)
Adds a 'denormalized table' to this repository.
|
Table |
Configuration.MappingsImpl.addTable(String schema,
String catalog,
String name,
String subselect,
boolean isAbstract) |
Table |
Mappings.addTable(String schema,
String catalog,
String name,
String subselect,
boolean isAbstract)
Adds table metadata to this repository returning the created
metadata instance.
|
Table |
CollectionPropertyHolder.getTable() |
Table |
PropertyHolder.getTable() |
Table |
ClassPropertyHolder.getTable() |
Table |
Ejb3Column.getTable()
Find appropriate table of the column.
|
Table |
ComponentPropertyHolder.getTable() |
Table |
Configuration.MappingsImpl.getTable(String schema,
String catalog,
String name) |
Table |
Mappings.getTable(String schema,
String catalog,
String name)
Returns the named table metadata.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Table> |
Configuration.getTableMappings()
Iterate the table mappings
|
Map<Table,List<String[]>> |
Configuration.MappingsImpl.getTableUniqueConstraints() |
Map<Table,List<String[]>> |
Mappings.getTableUniqueConstraints()
Deprecated.
Use
Mappings.getUniqueConstraintHoldersByTable() instead |
Map<Table,List<UniqueConstraintHolder>> |
Configuration.MappingsImpl.getUniqueConstraintHoldersByTable() |
Map<Table,List<UniqueConstraintHolder>> |
Mappings.getUniqueConstraintHoldersByTable() |
Iterator<Table> |
Configuration.MappingsImpl.iterateTables() |
Iterator<Table> |
Mappings.iterateTables()
Returns an iterator over table metadata.
|
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'.
|
Table |
Configuration.MappingsImpl.addDenormalizedTable(String schema,
String catalog,
String name,
boolean isAbstract,
String subselect,
Table includedTable) |
Table |
Mappings.addDenormalizedTable(String schema,
String catalog,
String name,
boolean isAbstract,
String subselect,
Table includedTable)
Adds a 'denormalized table' to this repository.
|
void |
Configuration.MappingsImpl.addJpaIndexHolders(Table table,
List<JPAIndexHolder> holders) |
void |
Mappings.addJpaIndexHolders(Table table,
List<JPAIndexHolder> jpaIndexHolders) |
void |
Configuration.MappingsImpl.addTableBinding(String schema,
String catalog,
String logicalName,
String physicalName,
Table denormalizedSuperTable) |
void |
Mappings.addTableBinding(String schema,
String catalog,
String logicalName,
String physicalName,
Table denormalizedSuperTable)
Adds a table binding to this repository.
|
void |
Configuration.MappingsImpl.addUniqueConstraintHolders(Table table,
List<UniqueConstraintHolder> uniqueConstraintHolders) |
void |
Mappings.addUniqueConstraintHolders(Table table,
List<UniqueConstraintHolder> uniqueConstraintHolders) |
void |
Configuration.MappingsImpl.addUniqueConstraints(Table table,
List uniqueConstraints) |
void |
Mappings.addUniqueConstraints(Table table,
List uniqueConstraints)
|
String |
Configuration.MappingsImpl.getLogicalColumnName(String physicalName,
Table table) |
String |
Mappings.getLogicalColumnName(String physicalName,
Table table)
Find the logical column name against whcih the given physical column name was bound within the given table.
|
String |
Configuration.MappingsImpl.getLogicalTableName(Table table) |
String |
Mappings.getLogicalTableName(Table table)
Get the logical table name mapped for the given physical table.
|
String |
Configuration.MappingsImpl.getPhysicalColumnName(String logicalName,
Table table) |
String |
Mappings.getPhysicalColumnName(String logicalName,
Table table)
Find the physical column name for the given logical column name within the given table.
|
protected void |
Configuration.secondPassCompileForeignKeys(Table table,
Set<ForeignKey> done) |
void |
Ejb3Column.setTable(Table table) |
Constructor and Description |
---|
IndexOrUniqueKeySecondPass(Table table,
String indexName,
String[] columns,
Mappings mappings)
Build an index
|
Modifier and Type | Method and Description |
---|---|
Table |
TableBinder.bind() |
static Table |
TableBinder.buildAndFillTable(String schema,
String catalog,
ObjectNameSource nameSource,
ObjectNameNormalizer.NamingStrategyHelper namingStrategyHelper,
boolean isAbstract,
List<UniqueConstraintHolder> uniqueConstraints,
List<JPAIndexHolder> jpaIndexHolders,
String constraints,
Table denormalizedSuperTable,
Mappings mappings,
String subselect) |
static Table |
TableBinder.buildAndFillTable(String schema,
String catalog,
ObjectNameSource nameSource,
ObjectNameNormalizer.NamingStrategyHelper namingStrategyHelper,
boolean isAbstract,
List<UniqueConstraintHolder> uniqueConstraints,
String constraints,
Table denormalizedSuperTable,
Mappings mappings,
String subselect) |
static Table |
TableBinder.fillTable(String schema,
String catalog,
String realTableName,
String logicalName,
boolean isAbstract,
List uniqueConstraints,
String constraints,
Table denormalizedSuperTable,
Mappings mappings)
|
Modifier and Type | Method and Description |
---|---|
static void |
TableBinder.addIndexes(Table hibTable,
Index[] indexes,
Mappings mappings) |
static void |
TableBinder.addIndexes(Table hibTable,
Index[] indexes,
Mappings mappings) |
void |
EntityBinder.bindTable(String schema,
String catalog,
String tableName,
List<UniqueConstraintHolder> uniqueConstraints,
String constraints,
Table denormalizedSuperclassTable) |
static Table |
TableBinder.buildAndFillTable(String schema,
String catalog,
ObjectNameSource nameSource,
ObjectNameNormalizer.NamingStrategyHelper namingStrategyHelper,
boolean isAbstract,
List<UniqueConstraintHolder> uniqueConstraints,
List<JPAIndexHolder> jpaIndexHolders,
String constraints,
Table denormalizedSuperTable,
Mappings mappings,
String subselect) |
static Table |
TableBinder.buildAndFillTable(String schema,
String catalog,
ObjectNameSource nameSource,
ObjectNameNormalizer.NamingStrategyHelper namingStrategyHelper,
boolean isAbstract,
List<UniqueConstraintHolder> uniqueConstraints,
String constraints,
Table denormalizedSuperTable,
Mappings mappings,
String subselect) |
static Table |
TableBinder.fillTable(String schema,
String catalog,
String realTableName,
String logicalName,
boolean isAbstract,
List uniqueConstraints,
String constraints,
Table denormalizedSuperTable,
Mappings mappings)
|
void |
TableBinder.setDenormalizedSuperTable(Table denormalizedSuperTable) |
void |
SimpleValueBinder.setTable(Table table) |
Modifier and Type | Method and Description |
---|---|
String |
DefaultUniqueDelegate.getTableCreationUniqueConstraintsFragment(Table table) |
String |
UniqueDelegate.getTableCreationUniqueConstraintsFragment(Table table)
Get the fragment that can be used to apply unique constraints as part of table creation.
|
Modifier and Type | Method and Description |
---|---|
protected String |
AuditMetadataGenerator.getCatalog(String catalogFromAnnotation,
Table table) |
protected String |
AuditMetadataGenerator.getSchema(String schemaFromAnnotation,
Table table) |
Modifier and Type | Method and Description |
---|---|
protected Table |
PersistentTableBulkIdStrategy.generateIdTableDefinition(PersistentClass entityMapping) |
Modifier and Type | Method and Description |
---|---|
protected void |
PersistentTableBulkIdStrategy.exportTableDefinitions(List<Table> idTableDefinitions,
JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping) |
Modifier and Type | Class and Description |
---|---|
class |
DenormalizedTable |
Modifier and Type | Method and Description |
---|---|
Table |
Collection.getCollectionTable() |
Table |
PersistentClass.getIdentityTable() |
Table |
UnionSubclass.getIdentityTable() |
Table |
ForeignKey.getReferencedTable() |
abstract Table |
PersistentClass.getRootTable() |
Table |
RootClass.getRootTable() |
Table |
Subclass.getRootTable() |
Table |
JoinedSubclass.getTable() |
abstract Table |
PersistentClass.getTable() |
Table |
Value.getTable() |
Table |
Collection.getTable() |
Table |
SimpleValue.getTable() |
Table |
RootClass.getTable() |
Table |
Join.getTable() |
Table |
Constraint.getTable() |
Table |
Index.getTable() |
Table |
OneToMany.getTable()
Table of the owner entity (the "one" side)
|
Table |
UnionSubclass.getTable() |
Table |
Subclass.getTable() |
Modifier and Type | Method and Description |
---|---|
protected void |
PersistentClass.addSubclassTable(Table subclassTable) |
protected void |
Subclass.addSubclassTable(Table table) |
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.buildSqlDropIndexString(Dialect dialect,
Table table,
String name,
String defaultCatalog,
String defaultSchema) |
boolean |
Table.equals(Table table) |
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.
|
static String |
Constraint.generateName(String prefix,
Table table,
List<Column> columns)
Helper method for
Constraint.generateName(String, Table, Column...) . |
String |
Column.getAlias(Dialect dialect,
Table table)
Generate a column alias that is unique across multiple tables
|
String |
Formula.getAlias(Dialect dialect,
Table table) |
String |
Selectable.getAlias(Dialect dialect,
Table table) |
boolean |
PersistentClass.isClassOrSuperclassTable(Table closureTable) |
boolean |
Subclass.isClassOrSuperclassTable(Table table) |
void |
Collection.setCollectionTable(Table table) |
void |
ForeignKey.setReferencedTable(Table referencedTable) |
void |
JoinedSubclass.setTable(Table table) |
void |
SimpleValue.setTable(Table table) |
void |
RootClass.setTable(Table table) |
void |
TableOwner.setTable(Table table) |
void |
Join.setTable(Table table) |
void |
Constraint.setTable(Table table) |
void |
Index.setTable(Table table) |
void |
UnionSubclass.setTable(Table table) |
Constructor and Description |
---|
Any(Mappings mappings,
Table table) |
DenormalizedTable(Table includedTable) |
DependantValue(Mappings mappings,
Table table,
KeyValue prototype) |
ManyToOne(Mappings mappings,
Table table) |
OneToOne(Mappings mappings,
Table table,
PersistentClass owner) |
SimpleValue(Mappings mappings,
Table table) |
ToOne(Mappings mappings,
Table table) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.