Database Connection URL Attributes
Page 5 of 17

current=true

Function

Allows a Java method stored in the database to use the connection of the SQL-J statement that called it to make database-side JDBC calls (see Requirements for Database-Side JDBC Methods Using Nested Connections in the Cloudscape Developer's Guide).

The database name need not be specified.

When this attribute is used, the database connection URL is equivalent to jdbc:default:connection.

Combining with Other Attributes

Normally, do not combine with any attributes other than shutdown=true. If any other attributes are specified, they are ignored (except for shutdown). If databaseName is specified, it must be the same as the one in the original connection.

Example

jdbc:cloudscape:;current=true

jdbc:cloudscape:;current=true;shutdown=true