Hi

I am working on a web app where I am using Spring JDBC(I am a newbie to it)... Now, is there any set of recommended practices for the types of exceptions I should catch in my web app, esp. in those functions where basically data is updated/added/deleted in database via Spring JDBC?

And how do I design test cases in TestNG for such functions (where db operations are performed)?

Thanks,
Arvind.