fix for Derby (doesn't support COMMIT statement)