jpa - How do I turn off exception translation in Spring Roo? -


jpa code in roo's entities have exceptions automatically translated spring data exceptions. porting pure jpa code (moving dao code entities seems standard roo's rich domain model), i'd rather not modify catch blocks spring's proprietary exceptions.

can tell me how turn off in entities? spring jira suggests possible, don't see how.

removing following line in appcontext doesn't work?

<bean class="org.springframework.dao.annotation.persistenceexceptiontranslationpostprocessor" /> 

i haven't found traces in roo source such roo functionality.


Comments