ij Properties Reference,
Page 2 of 9


[top]
[prev]
[next]
Documentation Top
Index for This Book

ij.connection.connectionName

Function

Creates a named connection to the given database connection URL when ij starts up; it is equivalent to the Connect AS Identifier command. The database connection URL can be of the short form if an ij.protocol is specified. This property can be specified more than once per session, creating multiple connections. When ij starts, it displays the names of all the connections created in this way. It also displays the name of the current connection, if there is more than one, in the ij prompt.

Syntax

ij.connection.connectionName=databaseConnectionURL

The databaseConnectionURL is not a string; do not enclose it in quotation marks.

Examples

 D:> java -Dij.connection.tours1=jdbc:cloudscape:toursDB 
 -Dij.connection.anotherConn=jdbc:cloudscape:anotherDB;create=true
     COM.cloudscape.tools.ij
 ij version 2.0 (c) 1997-1999 Cloudscape, Inc.
 ANOTHERCONN* -  jdbc:cloudscape:anotherDB;create=true
 TOURS1 -        jdbc:cloudscape:toursDB
 * = current connection
 ij(ANOTHERCONN)>

See Also

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.