GRAILS-11687 hibernate4: fix hibernate.flush.mode setting doesn't work outside OSIV session
GRAILS-11687 hibernate3: fix hibernate.flush.mode setting doesn't work outside OSIV session
shutdown application context properly in GORM Hibernate unit tests
ensure H2 in-memory database gets cleared (shutdown) between hibernate unit tests
Merge remote-tracking branch 'origin/3.x' into 3.x