Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate updateds a child object, even it's parent object gets exception  RSS feed

jai shreeram
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have FundCode as one object, FundCritieria is a child object.

I have inserted first time one fundCode object with Child object FundCriteria.

Second time, I am trying to insert the same FundCode object with child object's one field modified.

I got constraint violation exception, but the child record got updated.

This operation done in webshpere application server, with CMT.

Please let me know if you have any info.

Thanks in advance.

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