:: com :: sun :: star :: sdb :: tools ::

unpublished interface XConnectionTools
Description
encapsulates various useful functionality around a ::com::sun::star::sdb::Connection

Most of the functionality provided here is meaningful only relative to a given database connection. For instance, for quoting table names, you need the meta data instance of the connection. Thus, the entry point for obtaining a XConnectionTools instance is the ::com::sun::star::sdb::Connection service.

Note that nearly all functionality provided by this interface is also available by other means, it's only provided here for convenience purposes.

Since
OpenOffice 2.0.4

Methods' Summary
createTableName creates an instance supporting the XTableName interface, which can be used to manipulate table names for various purposes.  
getObjectNames returns an instance supporting the XObjectNames interface, which provides access to functionality around table and query names.  
getDataSourceMetaData provides access to the application-level data source meta data  
Methods' Details
createTableName
XTableName
createTableName();

Description
creates an instance supporting the XTableName interface, which can be used to manipulate table names for various purposes.

The returned object is guanrateed to not be NULL .

getObjectNames
XObjectNames
getObjectNames();

Description
returns an instance supporting the XObjectNames interface, which provides access to functionality around table and query names.

The returned object is guanrateed to not be NULL .

getDataSourceMetaData
XDataSourceMetaData
getDataSourceMetaData();

Description
provides access to the application-level data source meta data
Top of Page