:: com :: sun :: star :: sdbc ::

unpublished service JDBCConnectionProperties
Description
represents the properties for a JDBC connection (session) with a specific database. These properties can be used when calling the method XDriver::connect() or XDriverManager::getConnectionWithInfo() .

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

See also
XDriver, XDriverManager, ConnectionProperties

Included Services
ConnectionProperties
(referenced entity's summary:)
represents the properties for a connection (session) with a specific database. These properties can be used when calling the method XDriver::connect() or XDriverManager::getConnectionWithInfo() .
Properties' Summary
string
JavaDriverClass
[ OPTIONAL ]
which jdbc driver class should be loaded to create the connection.  
string
JavaDriverClassPath
[ OPTIONAL ]
an optional class path to locate the JDBCConnectionProperties::JavaDriverClass .  
boolean
IsAutoRetrievingEnabled
[ OPTIONAL ]
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.  
string
AutoRetrievingStatement
[ OPTIONAL ]
specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface.  
Properties' Details
JavaDriverClass
string JavaDriverClass;
Usage Restrictions
optional
Description
which jdbc driver class should be loaded to create the connection.
See also
JDBCConnectionProperties::JavaDriverClassPath
JavaDriverClassPath
string JavaDriverClassPath;
Usage Restrictions
optional
Description
an optional class path to locate the JDBCConnectionProperties::JavaDriverClass .

The class path is a list of zero or more internal (see the ::com::sun::star::uri::ExternalUriReferenceTranslator service) URI references, where any space characters ( U+0020 ) are ignored (and, in particular, separate adjacent URI references). Any “vnd.sun.star.expand” URL references in the list are expanded using the ::com::sun::star::util::theMacroExpander singleton.

Since
OpenOffice 2.2
IsAutoRetrievingEnabled
boolean IsAutoRetrievingEnabled;
Usage Restrictions
optional
Description
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.
AutoRetrievingStatement
string AutoRetrievingStatement;
Usage Restrictions
optional
Description
specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface.

 
Top of Page