Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding HibernateException

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is HibernateException a Checked or a RuntimeException ??
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You know, its almost as if someone went to the trouble to document the answer to this question.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:You know, its almost as if someone went to the trouble to document the answer to this question.



Hi paul i expected this as this seems to a interview question , but earlier when i gone through the tutorials regarding handling exceptions in Hibernate it stated that whenever a checked exception occurs you need to log it, close the session , and rollback the transaction and show appropiate page relatedas per the business

and when you encounter a HibernateException just ignore it , so i thought as this HibernateException would be a Runtime one ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic