Difference between revisions of "Documentation/DevGuide/Database/SDBC Driver"
From Apache OpenOffice Wiki
< Documentation | DevGuide
(Initial author Sun Microsystems, Inc.) |
m (1 revision(s)) |
(No difference)
| |
Revision as of 12:37, 15 February 2008
The SDBC driver consists of seven services. Each service needs to be defined and are described in the next sections. Below is a list of all the services that define the driver:
Driver, a singleton which creates the connection object.Connection, createsStatement,PreparedStatementand gives access to theDatabaseMetaData.DatabaseMetaData, returns information about the used database.Statement, createsResultSets.PreparedStatement, createsResultSetsin conjunction with parameters.ResultSet, fetches the data returned by an SQL statement.ResultSetMetaData, describes the columns of aResultSet.
The relationship between these services is depicted in the illustration below.
| Content on this page is licensed under the Public Documentation License (PDL). |