I would like to write a custom interceptor to perform application specific logging.
I would like this logging to occur outside of the current transaction, as otherwise the logging (to a database) will be potentially rolled back with the transaction.
What is the best way to accomplish this?
Thanks in advance.
Just write your interceptor and put it in the right place (outside the tx demaracation) in the intereptor stack.