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

service ODBCConnectionProperties
Description
represents the properties for a ODBC 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
See also
XDriverManager
See also
ConnectionProperties

Included Services
ConnectionProperties
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
ParameterNameSubstitution [ OPTIONAL ]
should the parameter '?' in prepared statement be substituated with an distinct name
Timeout [ OPTIONAL ]
the Timeout after which time a timeout should happen
Silent [ OPTIONAL ]
Silent - should the connection be silent. No user interaction while creating the connection.
UseCatalog [ OPTIONAL ]
should the driver should support a catalog.
Charset [ OPTIONAL ]
which charset should be used to fetch data.
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.
AutoRetrievingStatement [ OPTIONAL ]
specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface.
Properties' Details
ParameterNameSubstitution
boolean ParameterNameSubstitution;
[ OPTIONAL ]
Description
should the parameter '?' in prepared statement be substituated with an distinct name
Timeout
long Timeout;
[ OPTIONAL ]
Description
the Timeout after which time a timeout should happen
Silent
boolean Silent;
[ OPTIONAL ]
Description
Silent - should the connection be silent. No user interaction while creating the connection.
UseCatalog
boolean UseCatalog;
[ OPTIONAL ]
Description
should the driver should support a catalog.
Charset
long Charset;
[ OPTIONAL ]
Description
which charset should be used to fetch data.
IsAutoRetrievingEnabled
boolean IsAutoRetrievingEnabled;
[ 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;
[ OPTIONAL ]
Description
specifies the statement which should be executed when asking an "INSERT" statement for the XGeneratedResultSet (future concept) interface.

 
Top of Page