-->
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: hibernate inserting instead of update
PostPosted: Thu Jul 14, 2005 6:51 pm 
Newbie

Joined: Fri Jun 10, 2005 1:52 pm
Posts: 9
Hibernate version:

hibernate3

Name and version of the database you are using:

oracle9i

I have a User bean and a Group bean with many-to-many relationship b/w em. I have cascading="none". I give a session.update(user) and in the logs i see that hibernate is doing insert into statements! why?

theres another "learning/test" prj i m working on (tapestry/hibernate). i ve noticed that calling the methods that do the insert update from the tapestry web code throws some unique constraint error...while the same methods performs the updates/inserts flawlessly from a console test class. this is beyond me.

someone please guide. :-?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 14, 2005 6:56 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
http://www.hibernate.org/ForumMailingli ... AskForHelp


Top
 Profile  
 
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.