December 2002
Intermediate to advanced
928 pages
85h 29m
English
DefaultContextconn_contextOracle.getConnectiondatabaseURL,username,password[,autocommit];
Creates and returns a connection context. If you are going to use more than one connection, use this function to create multiple contexts and a host variable instance of DefaultContext to hold it.
You can also use this function to return the underlying connection to a JDBC connection object, which can then be used for JDBC statements. You can also pass a JDBC connection to a SQLJ connection by creating a SQLJ connection object, which receives the value from the JDBC call getConnection( ).
See the variables described for the context( ) call earlier.