public class SecondaryTable extends EntityTable
| Constructor and Description |
|---|
SecondaryTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor entity,
SecondaryTableMetadata metadata)
Default secondary table constructor.
|
SecondaryTable(JdbcAdaptor jdbcAdaptor,
EntityTypeDescriptor 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, getIdFields, getIndexes, getJdbcAdaptor, getPkColumnNames, getPkColumns, performInsert, performRemove, performUpdate, performUpdateWithUpdatability, performVersionUpdate, toStringaddForeignKey, getCatalog, getColumnMap, getColumnNames, getColumns, getForeignKeys, getInsertColumns, getInsertSql, getLocator, getName, getQName, getRestrictionColumns, getRestrictionSql, getSchema, getSelectVersionColumns, getSelectVersionSql, getUniqueConstraints, getUpdateColumns, getUpdateSql, getVersionUpdateSql, setNamepublic SecondaryTable(JdbcAdaptor jdbcAdaptor, EntityTypeDescriptor entity, SecondaryTableMetadata metadata)
jdbcAdaptor - the jdbc adaptorentity - the entitymetadata - the table metadatapublic SecondaryTable(JdbcAdaptor jdbcAdaptor, EntityTypeDescriptor entity, TableMetadata metadata)
jdbcAdaptor - the jdbc adaptorentity - the root entitymetadata - the table metadataCopyright © 2012-2013 Batoo. All Rights Reserved.