Difference between revisions of "Documentation/DevGuide/Database/SDBC Driver"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Database Access)
Line 21: Line 21:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Database Access]]
+
 
 +
[[Category:Documentation/Developers Guide/Database Access]]

Revision as of 11:47, 4 June 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, creates Statement, PreparedStatement and gives access to the DatabaseMetaData.
  • DatabaseMetaData, returns information about the used database.
  • Statement, creates ResultSets.
  • PreparedStatement, creates ResultSets in conjunction with parameters.
  • ResultSet, fetches the data returned by an SQL statement.
  • ResultSetMetaData, describes the columns of a ResultSet.

The relationship between these services is depicted in the illustration below.

Dependency between driver classes
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools