Class Hierarchy Index
java.lang.Object | +----COM.cloudscape.core.RmiJdbcDriver
This driver connects to a remote COM.cloudscape.core.JDBCDriver via a RMI jdbc driver that was written by GIE Dyade (Groupe BULL / INRIA Research Center) 1997
To connect to a cloudscape database using the RMI Driver directly,
one could use URL of the form
jdbc:rmi:[//rmiHostName[:port]/][cloudscape jdbc-url]
e.g., jdbc:rmi:jdbc:cloudscape:localdb or
jdbc:rmi://remoteMachine:1099/jdbc:cloudscape:remoteDB
That style of connection is still supported for backwards compatibility.
However, an equivalent way to connect to a cloudscape database using rmi
is to use this RmiJdbcDriver. To use it, one uses URL of the form
jdbc:cloudscape:rmi:[//host[:port]/]dbname[;cloudscapeAttributes]*
e.g., jdbc:cloudscape:rmi:localdb or
jdbc:cloudscape:rmi://remoteMachine:1099/remoteDB
This driver is for the sole purpose of having a more uniform URL protocol for all cloudscape connections. The administration of the RMI server itself (RJJdbcServer) is unchanged.
public static final String RMI_PROTOCOL
public RmiJdbcDriver()
public boolean acceptsURL(String url)
public Connection connect(String url, Properties info) throws SQLException
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
public int getMajorVersion()
public int getMinorVersion()
public boolean jdbcCompliant()
Class Hierarchy Index