LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides the access to data definition beans from a connected database. More...
import"XDataDefinitionSupplier.idl";
Public Member Functions | |
XTablesSupplier | getDataDefinitionByConnection ([in]com::sun::star::sdbc::XConnection connection) raises (com::sun::star::sdbc::SQLException) |
returns at least the container of tables related to the given connection. More... | |
XTablesSupplier | getDataDefinitionByURL ([in]string url, [in]sequence< com::sun::star::beans::PropertyValue > info) raises (com::sun::star::sdbc::SQLException) |
returns at least the container of tables related to the given Database URL. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides the access to data definition beans from a connected database.
XTablesSupplier getDataDefinitionByConnection | ( | [in] com::sun::star::sdbc::XConnection | connection | ) | |
raises | ( | com::sun::star::sdbc::SQLException | |||
) |
returns at least the container of tables related to the given connection.
connection | the related connection |
com::sun::star::sdbc::SQLException | if a database access error occurs. |
XTablesSupplier getDataDefinitionByURL | ( | [in] string | url, |
[in] sequence< com::sun::star::beans::PropertyValue > | info | ||
) | |||
raises | ( | com::sun::star::sdbc::SQLException | |
) |
returns at least the container of tables related to the given Database URL.
url | a database url of the form sdbc:subprotocol:subname |
info | a list of arbitrary string tag/value pairs as connection arguments; normally at least a "user" and "password" property should be included |
com::sun::star::sdbc::SQLException | if a database access error occurs. |