The build descriptor option sqlJNDIName specifies the default database used by a generated Java program that runs in J2EE. The value is the name to which the default datasource is bound in the JNDI registry; for example, jdbc/MyDB.
The option sqlJNDIName is case-sensitive, has no default value, and is used only when you are generating a Java program for J2EE. The option assigns a value to the Java run-time property vgj.jdbc.default.database, but only if option genProperties is set to GLOBAL or PROGRAM.
To specify the database used for validation (in relation to Java or COBOL generation), set sqlValidationConnectionURL.
Related concepts
Java run-time properties
SQL support
Related reference
Build descriptor options
genProperties
Java run-time properties (details)
sqlPassword
sqlValidationConnectionURL
sqlJDBCDriverClass
validateSQLStatements
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.