I don't know. This is the part of DbSession code adapted for MongoDB.