Class Hierarchy Previous Next 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 java.lang.String RMI_PROTOCOL
public static final java.lang.String rjrmi_protocol
public RmiJdbcDriver()
public java.lang.String translate(java.lang.String url) throws java.sql.SQLException
public boolean acceptsURL(java.lang.String url)
public java.sql.Connection connect(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
public int getMajorVersion()
public int getMinorVersion()
public boolean jdbcCompliant()
Class Hierarchy Previous Next Index