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 runtime property vgj.jdbc.default.database, but only if option genProperties is set to GLOBAL or PROGRAM.
To specify the database used for validation , set sqlValidationConnectionURL.