facebook

DE not unlocking HSQLDB on close connection

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #226742 Reply

    Paul Stanton
    Member

    i just used DE on a hsqldb database. i then launched my app which also uses that hsqldb in standalone mode and it was still locked. i had to close eclipse, delete the lock file and restart.

    i think you need to execute “SHUTDOWN COMPACT” command on the database before closing the connection in order to unlock it. can you make this automatic?

    #226778 Reply

    Riyad Kalla
    Member

    I am researching this.

    #226811 Reply

    support-jeff
    Member

    My approach has been that it is up to the JDBC implementation to take care of cleaning up resources. I would suggest that you execute the SHUTDOWN yourself from the SQLEditor. Yes, we could make this automatic, but it requires vendor-specific detection at runtime and special casing what is otherwise a very straightforward connection.close(). We can enter a request for this, but I doubt it will be given high-priority.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: DE not unlocking HSQLDB on close connection

You must be logged in to post in the forum log in