public class DDLOperationsWork extends Object implements DDLOperations
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
DDLOperationsWork() |
DDLOperationsWork(BaseDaoImpl<?,?> baseDao) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeCreateTableSqlpublic DDLOperationsWork()
public DDLOperationsWork(BaseDaoImpl<?,?> baseDao)
public void setBaseDao(BaseDaoImpl<?,?> baseDao)
public DDLOperations getDDLOperations() throws SQLException
SQLExceptionpublic void createSequence(String sequenceName) throws SQLException
createSequence in interface DDLOperationsSQLExceptionpublic String makeCreateViewSql(String selectSql, String viewName)
makeCreateViewSql in interface DDLOperationspublic void createTable(TableInfo tableInfo) throws SQLException
createTable in interface DDLOperationsSQLExceptionpublic void dropTable(String tableCode) throws SQLException
dropTable in interface DDLOperationsSQLExceptionpublic void addColumn(String tableCode, TableField column) throws SQLException
addColumn in interface DDLOperationsSQLExceptionpublic void modifyColumn(String tableCode, TableField oldColumn, TableField column) throws SQLException
modifyColumn in interface DDLOperationsSQLExceptionpublic void dropColumn(String tableCode, String columnCode) throws SQLException
dropColumn in interface DDLOperationsSQLExceptionpublic void renameColumn(String tableCode, String columnCode, TableField column) throws SQLException
renameColumn in interface DDLOperationsSQLExceptionpublic void reconfigurationColumn(String tableCode, String columnCode, TableField column) throws SQLException
reconfigurationColumn in interface DDLOperationsSQLExceptionpublic String makeCreateSequenceSql(String sequenceName)
makeCreateSequenceSql in interface DDLOperationspublic String makeCreateTableSql(TableInfo tableInfo, boolean fieldStartNewLine)
makeCreateTableSql in interface DDLOperationspublic String makeDropTableSql(String tableCode)
makeDropTableSql in interface DDLOperationspublic String makeAddColumnSql(String tableCode, TableField column)
makeAddColumnSql in interface DDLOperationspublic String makeModifyColumnSql(String tableCode, TableField oldColumn, TableField column)
makeModifyColumnSql in interface DDLOperationspublic String makeDropColumnSql(String tableCode, String columnCode)
makeDropColumnSql in interface DDLOperationspublic String makeRenameColumnSql(String tableCode, String columnCode, TableField column)
makeRenameColumnSql in interface DDLOperationspublic List<String> makeReconfigurationColumnSqls(String tableCode, String columnCode, TableField column)
makeReconfigurationColumnSqls in interface DDLOperationsCopyright © 2024 江苏南大先腾信息产业股份有限公司. All rights reserved.