SqlMapClient and knowing when a transaction already started

View: New views
1 Messages — Rating Filter:   Alert me  

SqlMapClient and knowing when a transaction already started

by yuridewit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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!