Mine compiles just fine, but when I try to connect, I get a "null"
exception, meaning, it couldnt' create the instance of the connection.
Here is my code:
driverName = "org.enhydra.instantdb.jdbc.idbDriver";
connectionURL = "jdbc:idb:C:/Inetpub/wwwroot/HMG/Database/HMG.prp";
try {
Class.forName(driverName);
} catch (Exception e) {
ErrMsg = e.getMessage();
} finally {
try {
con = DriverManager.getConnection(connectionURL);
} catch (Exception e2) {
ErrMsg = e2.getMessage();
}
}
BTW, ScriptTool and CommSQL work fine and there are no compile errors.
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|