Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sdbc ::
interface XIsolatedConnection
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-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. See also ::com::sun::star::sdb::DataSource Since version OpenOffice.org 1.1.1

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 raises( | handler ) 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 [in] string raises( | user, password ) 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

Copyright © 2003 Sun Microsystems, Inc.