Grails

Verify that hsql database has shudown() called on it upon context destruction

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.0.3
  • Component/s: Persistence
  • Labels:
    None
  • Environment:
    all

Description

See hsql bug report at: http://sourceforge.net/tracker/index.php?func=detail&aid=1922315&group_id=23316&atid=378131

Just need to make sure that grails calls shutdown() on the hsql database during context destruction? If this issue is addressed, this will ensure that this Thread is cleaned up properly and a potential leak is avoided in a hot-deploy environment.

Issue Links

Activity

Hide
Graeme Rocher added a comment -

As per HSQLDB docs we now call this code on context shutdown:

if(dbName == 'HSQL Database Engine') {
                    connection.createStatement().executeUpdate('SHUTDOWN')
                }
Show
Graeme Rocher added a comment - As per HSQLDB docs we now call this code on context shutdown:
if(dbName == 'HSQL Database Engine') {
                    connection.createStatement().executeUpdate('SHUTDOWN')
                }
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (3)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: