public class FSDAOManager
extends java.lang.Object
构造器和说明 |
---|
FSDAOManager() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addTableColumn(java.sql.Connection cn,
Dialect dialect,
Column column,
java.lang.String tableName)
为表添加列
|
static void |
addTableColumn4NewConnection(java.lang.String tableName,
Column column) |
static DataAccessObjectSession |
createSession()
创建session
|
static void |
refreshManager()
重新建立数据库连接
|
static void |
resetManager()
重置数据库操作者
|
static boolean |
shouldAddTableColumn(java.sql.Connection cn,
java.lang.String tableName,
java.lang.String columnName) |
public static DataAccessObjectSession createSession()
public static void resetManager()
public static void refreshManager()
public static void addTableColumn4NewConnection(java.lang.String tableName, Column column)
public static void addTableColumn(java.sql.Connection cn, Dialect dialect, Column column, java.lang.String tableName) throws java.sql.SQLException
cn
- 数据库连接dialect
- 方言column
- 要添加的列tableName
- 表名java.sql.SQLException
public static boolean shouldAddTableColumn(java.sql.Connection cn, java.lang.String tableName, java.lang.String columnName)