构造器和说明 |
---|
DB2Helper() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
getAllTable()
取得数据库的所有表
|
TableModel |
getByTable(java.lang.String tableName)
根据表名取得表对象
|
static void |
main(java.lang.String[] args) |
void |
setUrl(java.lang.String url,
java.lang.String username,
java.lang.String password)
设置URL,username,password
|
public DB2Helper() throws com.redxun.exception.CodegenException
com.redxun.exception.CodegenException
public void setUrl(java.lang.String url, java.lang.String username, java.lang.String password)
IDbHelper
public TableModel getByTable(java.lang.String tableName) throws com.redxun.exception.CodegenException
getByTable
在接口中 IDbHelper
tableName
- com.redxun.exception.CodegenException
public java.util.List<java.lang.String> getAllTable() throws com.redxun.exception.CodegenException
getAllTable
在接口中 IDbHelper
com.redxun.exception.CodegenException
public static void main(java.lang.String[] args) throws com.redxun.exception.CodegenException
com.redxun.exception.CodegenException