Forums Register Login

With Respect to exceptions in Hibernate Framework

+Pie Number of slices to send: Send

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.

If you want to look young and thin, hang around old, fat people. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 785 times.
Similar Threads
Overriding a method that throws Exception PRoblem
hashcodes
Nostradamus predicted this ???
Sun voucher Rs. 2800/- valid till 10th Nov. 09
How to say no?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:20:48.