Automatic exception translation for Roo-style Entity classes?
Hi,
I find the non-anemic entity model (that Roo generates by default via aspectj) very nice and simple. The one feature I miss from a repository-based approach, however, is the automatic translation of exceptions to the Spring dao exception hierarchy (using the appropriate bean post processor).
How do I go about enabling automatic exception translation with Roo-generated entities? Or do I simply have to type it in (via EntityManagerFactoryUtils) myself for each entity persistence method? =)
Cheers,
Jukka