fixed shut down bug; the connection must be rolled back before closing

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@424542 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-07-22 10:24:31 +00:00
parent 90d0c4b38b
commit 7dac801417
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ public class DefaultDatabaseLocker implements DatabaseLocker {
public void stop() throws Exception {
if (connection != null) {
connection.rollback();
connection.close();
}
}