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

service JDBCConnectionProperties

Included Services - Summary
ConnectionProperties
(referenced entity's summary:)
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 com::sun::star::sdbc::JDBCConnectionProperties::JavaDriverClass  
sequence< ::com::sun::star::beans::NamedValue >
SystemProperties
[ OPTIONAL ]
specifies a set of properties to pass to java.lang.System.setProperty before loading the system's JDBC driver.  
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.  
sequence< any >
TypeInfoSettings
[ OPTIONAL ]
specifies how the type info returned by com::sun::star::sdbc::XDatabaseMetaData::getTypeInfo() will be modified.  
Included Services - Details
ConnectionProperties
(referenced entity's summary:)
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 com::sun::star::sdbc::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 OOo 2.3
SystemProperties
sequence< ::com::sun::star::beans::NamedValue > SystemProperties;
Usage Restrictions
optional
Description
specifies a set of properties to pass to java.lang.System.setProperty before loading the system's JDBC driver.
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.
TypeInfoSettings
sequence< any > TypeInfoSettings;
Usage Restrictions
optional
Description
specifies how the type info returned by com::sun::star::sdbc::XDatabaseMetaData::getTypeInfo() will be modified.

The sequence contains an even amount of string values. Each pair describes what should be searched for and what should be replaced if found.
The syntax is:

  • COLUMN(2) = -5
  • COLUMN(6) = PRECISION

COLUMN(X) defines the column which will be compared and the column which will be replaced. In the example above column 2 will be compared with the value -5. If this is true than column 6 will now return the value PRECISION.


 
Top of Page