title: before calling session.gettransaction, do I have to ensure one exists?
body: <p>before calling session.gettransaction, do I have to ensure one exists?</p>
  
  <p>if so, how do I check if there is a current uncommitted transaction in the session?</p>