Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdbc ::

interface XIsolatedConnection
Description
is used for establishing isolated connections via a factory.

The XIsolatedConnection allows to create connections which are not shared among others as it is the case when creating connections in normal way.

Since
OOo 1.1.2
See also
::com::sun::star::sdb::DataSource

Methods' Summary
getIsolatedConnectionWithCompletion attempts to establish a database connection.  
getIsolatedConnection attempts to establish a database connection.  
Methods' Details
getIsolatedConnectionWithCompletion
XConnection
getIsolatedConnectionWithCompletion( [in] ::com::sun::star::task::XInteractionHandler  handler )
raises( SQLException );

Description
attempts to establish a database connection.

If information is missing, such as a user's password, they are completed by user interaction.

Parameter handler
The handler which ask for the needed information when they are missing.
Returns
A connection which is not shared.
Throws
com::sun::star::sdbc::SQLException when an error occurs.
getIsolatedConnection
XConnection
getIsolatedConnection( [in] string  user,
[in] string  password )
raises( SQLException );

Description
attempts to establish a database connection.
Parameter user
The user name.
Parameter password
The password.
Returns
A connection which is not shared.
Throws
com::sun::star::sdbc::SQLException when an error occurs.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.