Driver database parameter
Description
The JDBC driver your application uses to connect to the database.
When to specify Driver
You must specify the Driver database parameter before connecting
to the database.
Controls
-
JDB JDBC
Syntax
|
1 |
Driver='<span>driver_name</span>' |
Default
None
Usage
The driver name identifies the Java class name for the particular
driver you are using to connect to the database.
Examples
Example 1
To set the driver name of a Sybase jConnect driver:
-
Database profile
Type the following in the Driver Name box on the Connection
page in the Database Profile Setup dialog box:1com.sybase.jdbc.SybDriver -
Application
Type the following in code:
1SQLCA.DbParameter="Driver='com.sybase.jdbc.SybDriver'"
Example 2
To set the driver name of an Oracle JDBC Driver:
-
Database
profileType the following in the Driver Name box on the Connection
page in the Database Profile Setup dialog box.1oracle.jdbc.driver.OracleDriver -
Application
Type the following in code:
1SQLCA.DbParameter="Driver='oracle.jdbc.driver.OracleDriver'"
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest