It isn't required, you can always propagate exceptions. But, databases are often remote processes and possibly on remote machines, and therefore you always need to be aware of the possibility of failure.
posted 7 years ago
Thanks David.I may have presnented this question not in a clear way.I was asking why we need to enclose our jdbc code in a try- catch block (handle it).I found the answer and it lies in checked exception handling. [ July 09, 2008: Message edited by: Satyajit Parida ]