AMQ-5318: JDBC store; commit called on connection that uses autocommit during "deleteAllMessages"

issue reported at AMQ-5318