public class SQLHelper extends Object
| Constructor and Description |
|---|
SQLHelper(Connection conn) |
SQLHelper(HasSQLConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
SQLTable |
getTable(String tableName) |
List<SQLTable> |
getTables()
Get the tables information
|
boolean |
isTableColumnExists(String tableName,
String columnName)
Indicates if a table column exists
|
boolean |
isTableExists(String tableName)
Indicates if a table exists
|
public SQLHelper(Connection conn)
public SQLHelper(HasSQLConnection conn)
public boolean isTableExists(String tableName) throws SQLFaultException
tableName - The table name to searchSQLFaultException - Error getting the informationpublic boolean isTableColumnExists(String tableName, String columnName) throws SQLFaultException
tableName - The table name containing the columncolumnName - The column name to searchSQLFaultException - Error getting the informationpublic List<SQLTable> getTables() throws SQLFaultException
SQLFaultException - Error getting the informationpublic SQLTable getTable(String tableName) throws SQLFaultException
SQLFaultExceptionCopyright © 2018. All rights reserved.