Name
DatabaseMetaData
Synopsis
Interface Name:
java.sql.DatabaseMetaData
Superclass: None
Immediate Subclasses: None
Interfaces Implemented: None
Availability: JDK 1.1
Description
This class provides a lot of information about the database to which
a Connection object is connected. In many cases,
it returns this information in the form of JDBC
ResultSet objects.
DatabaseMetaData will throw a SQLException for
databases that do not support a particular kind of meta-data.
DatabaseMetaData methods take string patterns as
arguments in which specific tokens within the
String are interpreted to have a certain meaning.
% matches any substring of
or more characters, and _ matches any one
character. You can pass null to methods in place
of string pattern arguments; this means that the argument’s
criteria should be dropped from the search.
Class Summary
public interface DatabaseMetaData { static public final int bestRowTemporary; static public final int bestRowTransaction; static public final int bestRowSession; static public final int bestRowUnknown; static public final int bestRowNotPseudo; static public final int bestRowPseudo; static public final int columnNoNulls; static public final int columnNullable; static public final int columnNullableUnknown; static public final int importedKeyCascade; static public final int importedKeyRestrict; static public final int importedKeySetNull; static public final int importedKeyNoAction; static public final int importedKeySetDefault; static public final int ...Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access