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. For details on the meaning of the program properties, including details on how the values are derived, see Java runtime properties (details).
If your code tries to access a database in response to an invocation of the system function sysLib.connect or VGLib.connectionService, the connection URL is the value of property vgj.jdbc.databaseSN.
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.
Related concepts
Program properties file