LibreOffice
LibreOffice 24.2 SDK API Reference
Exported Interfaces | List of all members
Driver Service Referencepublished

is the service that every driver class must implement. More...

import"Driver.idl";

Inheritance diagram for Driver:
XDriver XInterface Driver

Exported Interfaces

interface XDriver
 is the main interface to access a database driver. More...
 

Additional Inherited Members

- Public Member Functions inherited from XDriver
XConnection connect ([in]string url, [in]sequence< com::sun::star::beans::PropertyValue > info) raises (SQLException)
 attempts to make a database connection to the given URL. More...
 
boolean acceptsURL ([in]string url) raises (SQLException)
 returns TRUE if the driver thinks that it can open a connection to the given URL. More...
 
sequence< DriverPropertyInfogetPropertyInfo ([in]string url, [in] sequence< com::sun::star::beans::PropertyValue > info) raises (SQLException)
 gets information about the possible properties for this driver. More...
 
long getMajorVersion ()
 gets the driver's major version number. More...
 
long getMinorVersion ()
 gets the driver's minor version number. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

is the service that every driver class must implement.

Each driver should supply a service that implements the Driver interface.

The DriverManager will try to load as many drivers as it can find and then for any given connection request, it will ask each driver in turn to try to connect to the target URL.

It is strongly recommended that each Driver object should be small and standalone so that the Driver object can be loaded and queried without bringing in vast quantities of supporting code.

Each driver should be a one instance service.

See also
com::sun::star::sdbc::XDriverManager
com::sun::star::sdbc::XConnection
Developers Guide
Database Access - Driver Service

Exported Interfaces

◆ XDriver

interface XDriver

is the main interface to access a database driver.


The documentation for this service was generated from the following file: