Can anyone tell me what to fill in the three sets of "???" with in
order to access my entity bean tables? This is for use with the
Hypersonic database 'as is' following a install of jboss final2.0.
public static void main(String[] args) {
Connection dbConnection = null;
try {
Class.forName("org.hsql.jdbcDriver");
} catch (ClassNotFoundException e) {
System.err.println("Ensure that the driver class is available");
System.exit(-1);
}
try {
String driver = null;
String url = "jdbc:???";
String user = "???";
String password = "???";
dbConnection = DriverManager.getConnection(url,user,password);
if (dbConnection != null) System.out.println("Connected to database");
Thanks,
Ian
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorised copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]