DB2eConnection class

The DB2eConnection class gets and sets certain Connection attributes. To use the DB2eConnection class methods on a Connection object, the Connection object must first be cast to a DB2eConnection object. These methods are implemented by calls to the CLI/ODBC functions SQLGetConnectAttr and SQLSetConnectAttr with the appropriate arguments.

com.ibm.db2e.jdbc package

public class DB2eConnection

implements Connection

Table 109 lists the methods in the DB2eConnection class supported by DB2 Everyplace.

Table 109. DB2eConnection class methods

Method return type Method
void enableFilenameFormat83 (boolean enable) Enables the database engine to create filenames in 8.3 format if enable is true, otherwise, enables filenames in long format. Filename format can only be changed if no catalog files exist in the path for this connection.
boolean isEnabledFilenameFormat83 () Does the database engine create filenames in 8.3 format? Or does it create filenames in long format?

Related tasks

Related reference