public interface ICreateTable
| Modifier and Type | Method and Description |
|---|---|
int |
createTable(java.sql.Connection connection,
java.lang.String dbName,
Table table) |
int |
dropTable(java.sql.Connection connection,
java.lang.String dbName,
java.lang.String tbName) |
boolean |
exists(java.sql.Connection connection,
java.lang.String dbName,
java.lang.String tbName) |
int createTable(java.sql.Connection connection,
java.lang.String dbName,
Table table)
throws DBSQLException,
java.sql.SQLException
connection - to the databasedbName - the name of the database we want to create the table intable - the table we want to createDBSQLExceptionjava.sql.SQLExceptionint dropTable(java.sql.Connection connection,
java.lang.String dbName,
java.lang.String tbName)
throws DBSQLException,
java.sql.SQLException
connection - to the databasedbName - the name of the database we want to create the table intbName - the name of the table we want to check existsDBSQLExceptionjava.sql.SQLExceptionboolean exists(java.sql.Connection connection,
java.lang.String dbName,
java.lang.String tbName)
throws java.sql.SQLException
connection - to the databasedbName - the name of the database we want to create the table intbName - the name of the table we want to check existsjava.sql.SQLException