JDBC API Usage: Difference between revisions
Jump to navigation
Jump to search
(→Query) |
|||
Line 6: | Line 6: | ||
{{Internal|DataSource#Connection_Life_Cycle|JDBC Connection Life Cycle}} | {{Internal|DataSource#Connection_Life_Cycle|JDBC Connection Life Cycle}} | ||
=Database Metadata= | |||
The database metadata is an object that contains metadata about the database the current connection belongs to. | |||
<syntaxhighlight lang='java'> | |||
Connection c = ...; | |||
DatabaseMetaData dmd = c.getMetaData(); | |||
</syntaxhighlight> | |||
=Query= | =Query= |
Revision as of 18:23, 25 September 2017
Internal
JDBC Connection Life Cycle
Database Metadata
The database metadata is an object that contains metadata about the database the current connection belongs to.
Connection c = ...;
DatabaseMetaData dmd = c.getMetaData();