Overview | Module | Use | Devguide | Index

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

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

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.