public class SecondaryTable extends EntityTable
| Constructor and Description |
|---|
SecondaryTable(EntityTypeImpl<?> entity,
SecondaryTableMetadata metadata)
Default secondary table constructor.
|
SecondaryTable(EntityTypeImpl<?> entity,
TableMetadata metadata)
Constructor primary table as join table in inheritance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
joinPrimary(String primaryTableAlias,
String alias) |
void |
link()
Links the secondary table to the primary table
|
addColumn, addIndex, getEntity, getIndexes, getJdbcAdaptor, getPkColumnNames, getPkColumns, performInsert, performRemove, performSelectVersion, performUpdate, performUpdateWithUpdatability, performVersionUpdate, toStringaddForeignKey, getCatalog, getColumnNames, getColumns, getForeignKeys, getInsertColumns, getInsertSql, getLocator, getName, getQName, getSchema, getSelectVersionColumns, getSelectVersionSql, getUniqueConstraints, getUpdateColumns, getUpdateSql, getVersionUpdateColumns, getVersionUpdateSql, setNamepublic SecondaryTable(EntityTypeImpl<?> entity, SecondaryTableMetadata metadata)
entity - the entitymetadata - the table metadatapublic SecondaryTable(EntityTypeImpl<?> entity, TableMetadata metadata)
entity - the root entitymetadata - the metadatapublic String joinPrimary(String primaryTableAlias, String alias)
primaryTableAlias - the primary table aliasalias - the table aliaspublic void link()
Copyright © 2012 Batoo Software & Consultancy. All Rights Reserved.