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...
Type: Posts; User: wdh
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...
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
...
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.
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...
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...
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...