Creating a Connection Context Object

Before it can be used in an SQLJ statement, a declared connection context must be created.

The following statement creates an instance thisCtx for the connection context class MyConnectionContext:

MyConnectionContext thisCtx = new MyConnectionContext 
  (myPath, myUID, myPasswd, autocommit) 

Using Named SQLJ Connection Contexts