If I having a reference to a SqlMapClient how do I know whether a transaction has already been started for the current thread? I want to implement a simple transaction interceptor that gets injected with a SqlMapClient using Guice and start a transaction if not yet started.
thanks in advance!