service DatabaseAccessConnection in module com::sun::star::sdb:: |
service DatabaseAccessConnection;
specifies a component, which supplies and stores additional information related to a certain database connection, such as, DatabaseQueries, FormDocuments, and ReportDocuments. Objects for data definition are supplied as well, for instance, Tables, Views, etc.
Implements the service Connection . It is possible to open more than one connection at the same time, but the method DatabaseAccessConnection::dispose() will close only one of these connections. You have to close all connections in order to close the connection to the database.
Included Services |
supporting of the base connection service.
Note:
Don't use the "dispose" method of the XComponent interface, as the DataAccess
uses a more sophisticated interface for closing a connection.
access to the DatabaseDefinition beans of the connection.
Exported Interfaces |
access to the owning data access bean.
returns a tool for composing queries.
provides access to the queries.
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.