LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XPooledConnection Interface Referencepublished

defines a pooled connection which can share an unused connection. More...

import "XPooledConnection.idl";

Inheritance diagram for XPooledConnection:
XInterface

Public Member Functions

XConnection getConnection () raises (SQLException)
 return the connection which is pooled
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.

Detailed Description

defines a pooled connection which can share an unused connection.

<p>
PoolConnections are handled by the connection pool.
</p>
<p>
When the method
com::sun::star::sdbc::XPooledConnection::getConnection()
is called, the PooledConnection returns the connection which is pooled.
</p>

@see com::sun::star::sdbc::XConnection
Developers Guide
Database Access - Connection Pooling

Member Function Documentation

◆ getConnection()

XConnection getConnection ( )
raises (SQLException )

return the connection which is pooled

Returns
the pooled Connection object
Exceptions
SQLExceptionif a database access error occurs.

The documentation for this interface was generated from the following file: