![]() |
SQL-J Language Reference
|
Reference Manual |
GETCURRENTCONNECTION()This built-in function returns the current connection (java.sql.Connection). It is used to pass the current connection to a method invoked within Cloudscape that makes JDBC calls back to the database. This simplifies the coding for user methods and allows you to invoke methods with the same signatures and code in both the client application and Cloudscape. For more information, see Requirements for Database-Side JDBC Methods Using Nested Connections in the Cloudscape Developer's Guide. SyntaxGETCURRENTCONNECTION() Example
SELECT city.getDistanceFrom(getCurrentConnection(), 35) |
|
![]() Cloudscape Version 3.6 For information about Cloudscape technical support, go to: www.cloudscape.com/support/.Copyright © 1998, 1999, 2000 Informix Software, Inc. All rights reserved. |