Hi All,
I am facing problem in session.save() method which is throwing BatchUpdateException but when I am trying to catch this exception in the method its showing me unreachable code. My method already catching HibernateException and DBAccessException but the throwing exception is not going on both the exception. I wanted to catch BatchUpdateException but unable to do so. Please let me know is it a bug in hibernate. I am using Hibernate 3 jar. Please provide me any idea how to do it.
Regards, Amit Telang
|