sqlJDBCDriverClass
The build descriptor option sqlJDBCDriverClass specifies a driver class for connecting to the database that EGL uses to validate SQL statements at generation time. You specify the database by setting sqlValidationConnectionURL. Database access is through JDBC.
In the following cases EGL also assigns the value of sqlJDBCDriverClass to the Java run-time property vgj.jdbc.drivers in the program properties file:
- genProperties is set to GLOBAL or PROGRAM
- J2EE is set to NO
No default is available for the driver class, and the format varies by driver:
- For IBM DB2 APP DRIVER for Windows, the driver class is as follows--
COM.ibm.db2.jdbc.app.DB2Driver- For IBM DB2 NET DRIVER for Windows, the driver class is as follows--
COM.ibm.db2.jdbc.net.DB2Driver- For IBM DB2 UNIVERAL DRIVER for Windows, the driver class is as follows (with com in lower case)--
com.ibm.db2.jcc.DB2Driver- For the Oracle JDBC thin client-side driver, the driver class is as follows--
oracle.jdbc.driver.OracleDriver- For the IBM Informix JDBC driver, the driver class is as follows--
com.informix.jdbc.IfxDriver
For other driver classes, refer to the documentation for the driver.
To specify more than one driver class, separate each class name from the next with a colon (:). You might do this if one Java program makes a local call to another but accesses a different database management system.
Related reference
Build descriptor options
Informix and EGL
sqlDB
sqlID
sqlPassword
sqlValidationConnectionURL
validateSQLStatements