title: How to get notified when auto-commit is performed on a Java connection?
body: <p>I'm trying to figure out if there's a way to register to an auto-commit event.</p>
  
  <p>Is there an observer? Perhaps I decorate an auto-commit connection or statement in order to be notified? What is the method to decorate?</p>
  
  <p>I tried listening to <code>Connection.commit()</code> but it's not being invoked on statement executions.</p>
  
  <p>Thanks. Alik.</p>