ij Properties Reference
Page 7 of 13

ij.protocol

Function

Specifies the protocol and subprotocol portions of the database connection URL for connections. Automatically loads the appropriate driver for recognized subprotocols. The recognized protocols are:

  • jdbc:cloudscape:
  • jdbc:cloudscape:weblogic:[//hostname:portnum/]
  • jdbc:cloudscape:weblogic-ssl:[//hostname:portnum/]
  • jdbc:cloudscape:rmi://hostname:portnumber/
  • jdbc:cloudscape:rmi://hostname:portnumber/

Allows you to use a short form of a database name.

Syntax

ij.protocol=protocolForEnvironment

Examples

D:>java -Dij.protocol=jdbc:cloudscape:weblogic://jeeves:2000
    COM.cloudscape.tools.ij
ij version 3.6 (c) 1997-2000 Informix Software, Inc.
ij> Connect 'newDB;create=true';
ij>

See Also