LibreOffice: XPooledConnection Interface Reference

LibreOffice LibreOffice 5.1 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
XPooledConnection Interface Referencepublished

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

`import"XPooledConnection.idl";`

Inheritance diagram for XPooledConnection:

## 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...

## Detailed Description

defines a pooled connection which can share a 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.

See also
  com::sun::star::sdbc::XConnection

Developers Guide
  Database - Connection Pooling

## Member Function Documentation

XConnection getConnection | ( |  | ) |
raises | ( | SQLException
| ) |  |

return the connection which is pooled

Returns
  the pooled Connection object

Exceptions

  SQLException | if a database access error occurs.

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

- com/sun/star/sdbc/XPooledConnection.idl