title: Spring - how to gather informations during rollbacks in declarative transaction management
body: <p>Could please anybody tell me If it is safe and recommended to catch SQL and other exceptions within @Transactional methods ? When programmatic transaction management is used, I can simply catch the exception and do whatever I want, but I don't know if I don't break the transactional AOP system by catching these exceptions that would otherwise trigger the rollback ... if I do it declarative way.</p>
  
  <p>I suppose there are proxies, that create a logical transaction with separate connection for @Transactional methods in the AOP advices. And they need to catch the exception that "I want to catch" and roll the transaction back.</p>