LibreOffice
LibreOffice 24.2 SDK API Reference
|
defines a pooled connection which can share an unused connection. More...
import"XPooledConnection.idl";
Public Member Functions | |
XConnection | getConnection () raises (SQLException) |
return the connection which is pooled 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... | |
defines a pooled connection which can share an unused connection.
PoolConnections are handled by the connection pool.
When the method com::sun::star::sdbc::XPooledConnection::getConnection() is called, the PooledConnection returns the connection which is pooled.
XConnection getConnection | ( | ) | ||
raises | ( | SQLException | ||
) |
return the connection which is pooled
SQLException | if a database access error occurs. |