- Description
- represents a connection (session) with a specific
database. Within the context of a Connection, SQL statements are
executed and results are returned.
A Connection's database is able to provide information
describing its tables, its supported SQL grammar, its stored
procedures, and the capabilities of this connection. This
information is obtained with the
::com::sun::star::sdbc::XConnection::getMetaData()
method.
Note:
By default the Connection automatically commits
changes after executing each statement. If auto commit has been
disabled, an explicit commit must be done or database changes will
not be saved.
- See also
- ::com::sun::star::sdbc::XStatement, ::com::sun::star::sdbc::XResultSet, ::com::sun::star::sdbc::XDatabaseMetaData
- Developers Guide
Exported Interfaces |
::com::sun::star::lang::XComponent |
- Description
- controls the closing of a connection.
|
::com::sun::star::sdbc::XConnection |
- Description
- the main interface for interaction with a connection to a database.
|
::com::sun::star::sdbc::XWarningsSupplier |
- Description
- controls the chaining of warnings, which may occur on every call
to the connected database. Chained warnings from previous calls will be
cleared before processing a new call.
|
Top of Page
Copyright © 2003 Sun Microsystems, Inc.
|