2
I’m using Spring and wanted to know how I can return the errors (Exception) from @Repository and/or @Service to my webservice?
I have the following structure:
[ Webservice ] ------ [ @service/@Transactional ] ------- [ @Repository ]
When launching some Exception on my DAO which elegant way to treat and return to my webservice?