posted 9 years ago
Bascically with spring txn management . We can annotate the service layer class with @Transactional.
Also i have annotated my dao layer class with @repository to make checked exception to uncehcked exception
Now when a runtimeexception is encoutered by the service layer class it will rollback.
My question how do we go about the exception handling. I will have to put some error message to UI .So i need to capture the exception .
How do i go about it.