A standard JDBC connection is created for you at run time if you are debugging a generated Java™ program and if the program properties file includes the necessary values.
If your code tries to access a database in response to an invocation of the sysLib.connect or vgLib.connectionService system function, the connection URL is the value of the vgj.jdbc.databaseSN property.
For details on the format of a connection URL, see sqlValidationConnectionURL.
If your code tries to access a database in response to an invocation of one of those system functions, the user ID is a value specified in the invocation.
If your code tries to access a database in response to an invocation of one of those system functions, the password is a value specified in the invocation. You can use a system function to avoid exposing the password in the program properties file.