Search:

Type: Posts; User: wdh

Search: Search took 0.22 seconds.

  1. Replies
    11
    Views
    1,986

    Re: jdbc and HSQL database

    It is a file, Yes i have also tried jbdc.url=jdbc:hsqldb:file:myHSQLDB
    But this comes up with the same result. I have also tried using a full pathname but again this returns the same result. My...
  2. Replies
    11
    Views
    1,986

    Re: jdbc and HSQL database

    I still have no luck with establishing a connection.
    All files are layed out below, I am following Horstmann's example to establish a connection.
    database.properties

    ...
  3. Replies
    11
    Views
    1,986

    Re: jdbc and HSQL database

    Thank you, I think I may have spotted my mistake after looking through that link. I will update here tomorrow when I have chance to edit and test the new code.
  4. Replies
    11
    Views
    1,986

    Re: jdbc and HSQL database

    I have used what you suggested, when trying to connect to the database however, i get this error.


    Exception in thread "main" java.sql.SQLException: The url cannot be null
    at...
  5. Replies
    11
    Views
    1,986

    Re: jdbc and HSQL database

    jbdc.url=
    jbdc.username=
    jbdc.password=
    jbdc.driver=

    I am creating the .properties file with the details to access the database, i am just not to sure what should be in the url and driver...
  6. Replies
    11
    Views
    1,986

    jdbc and HSQL database

    I am trying to connect to HSQL database using jdbc
    I want to create a properties file with url, username, password and driver.
    I am not sure what to put for the url and driver though, is it just...
Results 1 to 6 of 6