| java.lang.Object org.hsqldb.util.RCData
RCData | public class RCData (Code) | | All the info we need to connect up to a database.
author: Blaine Simpson unsaved@users |
Constructor Summary | |
public | RCData(File file, String dbKey) Creates a RCDataObject by looking up the given key in the
given authentication file. | public | RCData(String id, String url, String username, String password, String driver, String charset, String truststore) Convenience constructor for backward compatibility. | public | RCData(String id, String url, String username, String password, String driver, String charset, String truststore, String libpath) Creates a new RCData object. |
DEFAULT_JDBC_DRIVER | final public static String DEFAULT_JDBC_DRIVER(Code) | | |
RCData | public RCData(File file, String dbKey) throws Exception(Code) | | Creates a RCDataObject by looking up the given key in the
given authentication file.
Parameters: dbKey - Key to look up in the file. Parameters: file - File containing the authentication information. |
RCData | public RCData(String id, String url, String username, String password, String driver, String charset, String truststore) throws Exception(Code) | | Convenience constructor for backward compatibility.
See Also: RCData.RCData(String,String,String,String,String,String,String,String) |
RCData | public RCData(String id, String url, String username, String password, String driver, String charset, String truststore, String libpath) throws Exception(Code) | | Creates a new RCData object.
The parameters driver, charset, truststore, and libpath are optional.
Setting these parameters to NULL will set them to their
default values.
Parameters: id - The identifier for these connection settings Parameters: url - The URL of the database to connect to Parameters: username - The username to log in as Parameters: password - The password of the username Parameters: driver - The JDBC driver to use Parameters: charset - The character set to use Parameters: truststore - The trust store to use Parameters: libpath - The JDBC library to add to CLASSPATH throws: Exception - if the a non-optional parameter is set to NULL |
getDefaultJdbcDriverName | public String getDefaultJdbcDriverName()(Code) | | |
report | public void report()(Code) | | Just for testing and debugging.
N.b. this echoes passwords!
|
setDefaultJdbcDriver | public void setDefaultJdbcDriver(String defaultJdbcDriverName)(Code) | | |
|
|