getClientInfo(String name)

Syntax:

String getClientInfo(String name) throws SQLException

Description:

Returns the value of the client info property specified by name. This method may return null if the specified client info property has not been set and does not have a default value. This method will also return null if the specified client info property name is not supported by the driver.

Applications may use the DatabaseMetaData.getClientInfoProperties method to determine the client info properties supported by the driver.

The parameters supported by the JDBC Driver for RaimaDB are

Property Options
'auto commit' 'on' or 'off'
'transaction isolation' 'read_uncommited', 'read_commited', 'repeatable_read', or 'serializable'
'open mode' 's' (shared mode), 'x' (exclusive mode), 'xn' (exclusive, no-transaction mode), or 'r' (readonly mode)
'read only transactions' 'on' or 'off'
'document root' Path to the document root on the file system.
'date separator' '-' or '/'
'date format' 'yyyymmdd', 'mmddyyyy', or 'ddmmyyyyy'
'lock timeout' Number of seconds to wait on locks that are not yet available.

For further information on these parameters see RDMDriver.connect.

Parameters:

name

Type: String 

The name of the client info property to retrieve

Returns:

Type: String 

The value of the client info property specified or null if name is not a valid property

Throws:

SQLException - if a database access error occurs

Reference:

For more information, reference JDBC documentation for: Connection.getClientInfo(String)