public interface TableReader
| Modifier and Type | Method and Description |
|---|---|
Reader |
getReader(Statement statement,
String tableName)
Get reader for a database table.
|
List<String> |
getTableNames(Connection connection)
Returns a list of the names of all tables in the database.
|
Reader getReader(Statement statement, String tableName) throws SQLException
statement - JDBC statement being executed.tableName - name of database table to read.SQLException - if table does not exist or cannot be read.List<String> getTableNames(Connection connection) throws SQLException
connection - JDBC connection.SQLException - if there is a problem creating table name list.Copyright © 2016. All rights reserved.