public class DBInspector extends Object
| Constructor and Description |
|---|
DBInspector(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasColumn(String tableName,
String columnName) |
boolean |
hasColumnType(Class<?> tableClass,
String columnName,
String columnType) |
boolean |
hasRows(String tableName) |
boolean |
hasTable(String tableName) |
boolean |
hasTable(String tableName,
boolean caseSensitive) |
public DBInspector(Connection connection)
public boolean hasColumn(String tableName, String columnName) throws Exception
Exceptionpublic boolean hasColumnType(Class<?> tableClass, String columnName, String columnType) throws Exception
Exceptionpublic boolean hasRows(String tableName)