you need 2 flags? who sets autoCommit? Document may be?