• Post Reply Bookmark Topic Watch Topic
  • New Topic

With Respect to exceptions in Hibernate Framework  RSS feed

 
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.

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!