Please review: Ticket #301 - implement transaction support using thread local storage