You may specify the connection parameters in one of the following ways: $dbAlias $dbURL, $dbUser, $dbPass, $dbDriver $dbURL, $dbDriver, $dbProperties | ||
$dbAlias | String Optional. Database alias. | |
$dbURL | String Optional. JDBC URL that identifies the database resource. | |
$dbUser | String Optional. User name to use to log into the database. | |
$dbPass | String Optional. Password for the user. | |
$dbDriver | String Optional. Name of the JDBC driver to use. | |
$dbProperties | Document Optional. Set of connection parameters that are to be used to make the database connection. Within $dbProperties, key names represent the names of the connection parameters that are to be used to establish the connection, and the value of a key specifies the value of that particular parameter. In most cases, you will include the keys user and password in $dbProperties to specify the user name and password parameters that are to be used to connect to the database. You may include additional parameters as needed. The following example shows how $dbProperties would look if you wanted to set the weblogic.codeset parameter to GBK in order to extract Unicode data out of the database: | |
Key | Value | |
user | dbu | |
password | dbu | |
weblogic.codeset | GBK |
$dbConnection | com.wm.app.b2b.server.DBConnection Connection object. |
$dbMessage | String Message indicating the success or failure of the operation. |