The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: sdb ::

interface XCompletedConnection
Description
is used for establishing connections via a factory which is identified by it's name. To complete the information needed for establishing a connection an interaction handler is used.

Methods' Summary
connectWithCompletion attempts to establish a database connection. If information is missing, such as a user's password, they are completed by user interaction.  
Methods' Details
connectWithCompletion
::com::sun::star::sdbc::XConnection
connectWithCompletion( [in] ::com::sun::star::task::XInteractionHandler  handler )
raises( ::com::sun::star::sdbc::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
will be asked when more information is needed
Returns
the Connection object
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

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