public class ObjectMappingTable extends AbstractTableObject
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.util.List<ForeignKey> |
foreignKeyList |
protected java.util.List<DataInitJob> |
initJobList |
CHECK_TABLE_EXSIT_ON_TABLECOLUMNNAME, CHECK_TABLE_EXSIT_ON_TABLENAME, checkTableExistLevel, columnsList, newTable, uniqueKeyListCURRENT_LEVEL, MARK_STRING| 限定符和类型 | 方法和说明 |
|---|---|
void |
addDataInitJob(DataInitJob job) |
void |
addForeignKey(ForeignKey key) |
void |
createForeignKey(java.sql.Connection cn) |
static ObjectMappingTable |
createObjectMappingTable(ObjectTableMapper mapper,
java.util.Map mapping) |
void |
createTable(java.sql.Connection cn)
创建表
|
Table |
getTable()
返回该对象封装的数据库表
|
protected void |
initColumns()
columns attribute
TODO carl:不要这个方法
|
void |
initData(DataAccessObjectSession session) |
void |
removeAllForeignKey() |
void |
updateForeignKey(java.sql.Connection cn)
已过时。
此方法用来解决finedb迁移mysql之后错误地关闭了外键级联特性 过段时间可删除
|
addColumn, addColumn, addColumn, addColumn, addColumn, addColumnsToTable, addNewColumnCompatibleOld, addUniqueKey, checkExist, checkSameNameTableExist, checkTable, currentAPILevel, dropTable, findColumnInTable, foreignReference, getColumn, mark4Providerequals, hashCodeprotected java.util.List<ForeignKey> foreignKeyList
protected java.util.List<DataInitJob> initJobList
public Table getTable()
TableObjectpublic static ObjectMappingTable createObjectMappingTable(ObjectTableMapper mapper, java.util.Map mapping)
protected void initColumns()
AbstractTableObjectinitColumns 在类中 AbstractTableObjectpublic void createTable(java.sql.Connection cn)
AbstractTableObjectcreateTable 在接口中 TableObjectcreateTable 在类中 AbstractTableObjectcn - 数据连接public void addForeignKey(ForeignKey key)
public void removeAllForeignKey()
public void addDataInitJob(DataInitJob job)
public void createForeignKey(java.sql.Connection cn)
public void updateForeignKey(java.sql.Connection cn)
public void initData(DataAccessObjectSession session)