Creating a Connection Context Object

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

For example, use this statement to create an instance thisCtx for the connection context class MyConnectionContext:




MyConnectionContext thisCtx = new MyConnectionContext 



  (myPath, myUID, myPasswd, autocommit)     

Using Named SQLJ Connection Contexts

 

Copyright © 1997, 2004, Oracle. All rights reserved.