|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.iiit.jdbc.JdbcDatabaseMetaData
Encapsulates an java.sql.DatabaseMetaData
Constructor Summary | |
protected |
JdbcDatabaseMetaData(JdbcConnection connection,
DatabaseMetaData metaData)
Creates a new instance of JdbcDatabaseMetaData |
Method Summary | |
void |
close()
Releases this Statement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed. |
protected void |
finalize()
Release the JdbcConnection hold by this object explicitly. |
JdbcResultSet |
getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Retrieves a description of the tables available in the given catalog. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected JdbcDatabaseMetaData(JdbcConnection connection, DatabaseMetaData metaData)
connection
- the connection that was used to create the meta data object.metaData
- the encapsulated DataBaseMetaDataMethod Detail |
public JdbcResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types) throws JdbcException
catalog
- a catalog name; must match the catalog name as it is stored in the database; ""
retrieves those without a catalog; null means that the catalog name should not
be used to narrow the searchschemaPattern
- a schema name pattern; must match the schema name as it is stored in the
database; "" retrieves those without a schema; null means that the schema name
should not be used to narrow the searchtableNamePattern
- a table name pattern; must match the table name as it is stored in the databasetypes
- a list of table types to include; null returns all types
JdbcException
- if a database access error occurspublic void close()
protected void finalize() throws Throwable
finalize
in class Object
Throwable
- Any throwable thrown during the excution.
|
iiitToolkit 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |