| I see. So you're using the transactional interceptor to mark the transaction for rollback. A more convenient approach might be to inject UserTransaction and call UserTransaction.setRollbackOnly() if anything goes wrong. In any case, this usage seems to me more confusing than the fact, that stereotypes are bean-specific functionality. |