sqlDB

The sqlDB build descriptor option specifies the default database used by a generated Java™ program that runs outside of J2EE. The value is a connection URL; for example, jdbc:db2:MyDB.

The sqlDB build descriptor option is case-sensitive, has no default value, and is used only when you are generating a non-J2EE Java program. The option assigns a value to the vgj.jdbc.default.database Java runtime property, but only if the genProperties build descriptor option is set to GLOBAL or PROGRAM.

To specify the default database for a J2EE program, set the sqlJNDIName build descriptor option.

If you set the validateSQLStatements build descriptor option to YES, the location of the database used for generation-time validation of the SQL statements is determined in the following manner: