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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Changing Category:Database Access)
m (FINAL VERSION FOR L10N)
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/Database/Driver Service
 
|NextPage=Documentation/DevGuide/Database/Driver Service
 
}}
 
}}
{{DISPLAYTITLE:SDBC Driver}}
+
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Database/{{SUBPAGENAME}}}}
 +
{{DISPLAYTITLE:SDBC Driver}}
 
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:
 
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:
  
Line 22: Line 23:
 
{{PDL1}}
 
{{PDL1}}
  
[[Category:Documentation/Developers Guide/Database Access]]
+
[[Category:Documentation/Developer's Guide/Database Access]]

Latest revision as of 12:53, 15 May 2009



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
In other languages