|
From: Dave B. <dba...@on...> - 2005-11-12 15:47:24
|
Hi Juergen, I'm using Spring 1.2.3. I have a service object defined with tx propagation PROPAGATION_SUPPORTS, -Exception. When it is called from outside a transaction, no tx is created as expected. However, if my method throws an exception, AbstractPlatformTransactionManager logs a warning: WARN (AbstractPlatformTransactionManager.java:473) - Should roll back transaction but cannot - no transaction available Is this expected? If I change to PROPAGATION_NEVER, the same warning is logged. If I change to PROPAGATION_REQUIRED, no warning is logged. Doesn't appear to be causing any problems, but is annoying to see in the log. Is this expected behavior? Looks like the logger.info() was changed to logger.warn() in 1.1-rc1. Thanks, Dave |