-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: When doing SaveorUpdate(), it does not insert in Database
PostPosted: Wed Jun 08, 2005 5:52 am 
Newbie

Joined: Wed Jun 08, 2005 5:33 am
Posts: 2
Hi,

I have a parent child relationship in which i want to save a new child in
a parent.

I have set unsaved-value attribute also in my set.
Also have given cascade="save-update".

My problem is , it fires an insert query on the console but does not
save in the database. I have commited at the end of the transaction also.

Is there ne thing that i need to explicitly do?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 8:41 am 
Please post the log and a snippet of what you are doing


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.