LibreOffice LibreOffice 4.2 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Included Services | Public Attributes | List of all members
ODBCConnectionProperties Service Reference

represents the properties for a ODBC connection (session) with a specific database. More...

`import"ODBCConnectionProperties.idl";`

Inheritance diagram for ODBCConnectionProperties:

## Included Services
service | com::sun::star::sdbc::ConnectionProperties

## Public Attributes
boolean | ParameterNameSubstitution
| should the parameter "?" in prepared statement be substituted with an distinct name More...
long | Timeout
| the Timeout after which time a timeout should happen More...
boolean | Silent
| Silent - should the connection be silent. More...
boolean | UseCatalog
| should the driver should support a catalog. More...
string | CharSet
| specifies the encoding to use to translate the backend data More...
boolean | IsAutoRetrievingEnabled
| specifies if retrieving of auto generated values should be enabled or not. More...
string | AutoRetrievingStatement
| specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface. More...
Public Attributes inherited from ConnectionProperties
string | user
| the username More...
string | password
| the password More...

## Detailed Description

represents the properties for a ODBC connection (session) with a specific database.

These properties can be used when calling the method com::sun::star::sdbc::XDriver::connect() or com::sun::star::sdbc::XDriverManager::getConnectionWithInfo().

The properties for a connection contain additional information about how to connect to a database and how to control the behavior of the resulting connection should be.

See Also
  com::sun::star::sdbc::XDriver
  com::sun::star::sdbc::XDriverManager
  com::sun::star::sdbc::ConnectionProperties

## Exported Interfaces

service com::sun::star::sdbc::ConnectionProperties

## Member Data Documentation

string AutoRetrievingStatement
| optional property

specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface.

string CharSet
| optional property

specifies the encoding to use to translate the backend data

See the IANA character set list for a list of valid values.

boolean IsAutoRetrievingEnabled
| optional property

specifies if retrieving of auto generated values should be enabled or not.

If `TRUE` than the statement will support the XGeneratedResultSet (future concept) interface, otherwise not.

boolean ParameterNameSubstitution
| optional property

should the parameter "?" in prepared statement be substituted with an distinct name

boolean Silent
| optional property

Silent - should the connection be silent.

No user interaction while creating the connection.

long Timeout
| optional property

the Timeout after which time a timeout should happen

boolean UseCatalog
| optional property

should the driver should support a catalog.

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

- com/sun/star/sdbc/ODBCConnectionProperties.idl