public class DB_MySql_Opera extends Object implements I_TableOperation
| 构造器和说明 |
|---|
DB_MySql_Opera(JbaTemplate jbaTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createTable(TableProperties tbl)
创建表
|
void |
dropTable(TableProperties tbl)
删除表结构
|
boolean |
isTableExists(String tblName)
判断表结构是否存在
|
void |
updateTable(TableProperties tbl)
更新表结构
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitDatapublic DB_MySql_Opera(JbaTemplate jbaTemplate)
public boolean isTableExists(String tblName)
I_TableOperationisTableExists 在接口中 I_TableOperationtblName - 表名@Transactional public void createTable(TableProperties tbl)
I_TableOperationcreateTable 在接口中 I_TableOperationtbl - 表属性@Transactional public void updateTable(TableProperties tbl)
I_TableOperationupdateTable 在接口中 I_TableOperationtbl - 表属性public void dropTable(TableProperties tbl)
I_TableOperationdropTable 在接口中 I_TableOperationtbl - 表属性Copyright © 2018. All rights reserved.