JDBC API Usage: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
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

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();

Query

Create

Update

Delete