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

With Respect to exceptions in Hibernate Framework

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Good Day to all ,

I am doing a insert operation where i am trying to save the POJO class with values already existing in DataBase .

I am getting "org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update " .

I am confused because as per the docs i should get NonUniqueObjectException .

Please share your ideas.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic