:: 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