1 Reply Latest reply on Oct 1, 2003 9:18 AM by jleaf

    Accessing Database

    jleaf Newbie

      Hi,

      I'm learning how to use the hsqldb driver.

      If my database files, testDB.properties and testDB.script, are placed in
      jboss/server/default/lib

      and the servlet accessing it is in
      jboss/servlet/default/deploy/LoginDB.war/WEB-INF/classes

      what should I put as the database path?

      I need to connect to it using the statement:
      Connection con = DriverManager.getConnection("jdbc:hsqldb:<database path>");

      Any advice would be appreciated :)