HSQL 1.7.1/Netbeans JDBC not starting
From: David Nettles (tetsuoni3000_at_yahoo.co.jp)
Date: 01/28/04
- Next message: Leigh: "Re: Slow-loading drop down boxes"
- Previous message: Scorpio: "Re: Using updateRow() in select ... order by"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jan 2004 12:40:48 -0800
I am trying to use HSQL 1.7.1 within Netbeans 3.5.1, but I am getting
mixed sad results.
If I connecting with the url "jdbc:hsqldb:." basically works OK
(SQL-92 support only). But this is just an "in memory" database... it
is never persisted.
If I connect with the url "jdbc:hsqldb:testdb" or
"jdbc:hsqldb:any-local-path" it fails with the following error (I did
specify the "sa" user with "" as password):
--[begin-error]
Unable to ontain schema.
There is insufficient information to establish a connection to obtain
list of schemas. Check database URL, user and password.
Driver message: cannot establish a conneciton to
jdbc:hsqldb:/home/david/tmp/mydbtest.properties
java.security.AccessControlExecption: access denied
(java.io.FileSystem /home/david/tmp/mydbtest.properties write))
--[end-error]
If I use demo/runManager.sh I can open a database using both the
"jdbc:hsqldb:." url as well as the "hdbc:hsqldb:any-local-path" url
without any problems and create tables query and everything else.
It does appear that there is some kind of SecurityManager kind of
issue going on here... if this is the case, how might one get past
this? If one cannot get past this one cannot manipulate the HSQL
connections for local databases within the Netbeans IDE. :(
What do you think folks?
-- David Nettles email: tetsuoni3000@yahoo.co.jp web: http://www.miteyo.org
- Next message: Leigh: "Re: Slow-loading drop down boxes"
- Previous message: Scorpio: "Re: Using updateRow() in select ... order by"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|