-->
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.  [ 9 posts ] 
Author Message
 Post subject: Same bean in two many-to-one relations
PostPosted: Thu Jun 24, 2004 4:22 am 
Newbie

Joined: Thu Jun 24, 2004 3:52 am
Posts: 5
Hi,

i


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 25, 2004 7:24 am 
Newbie

Joined: Thu Jun 24, 2004 3:52 am
Posts: 5
up!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 29, 2004 6:43 am 
Newbie

Joined: Thu Jun 24, 2004 3:52 am
Posts: 5
up again!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 29, 2004 8:30 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
We don't understand you problem

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 01, 2004 3:03 am 
Newbie

Joined: Thu Jun 24, 2004 3:52 am
Posts: 5
First of all sorry for my bad english.

I


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 01, 2004 3:52 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
Quote:
I try to change the value of one of them


show java code, this works perfectly, you might do something wrong

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 02, 2004 2:36 am 
Newbie

Joined: Thu Jun 24, 2004 3:52 am
Posts: 5
Thanks, the real problem wasn


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 8:56 am 
Newbie

Joined: Tue Sep 20, 2005 8:53 am
Posts: 2
Location: Paris, France
Hi NandoAM,

I've got exactly the same problem with JSF - Spring - Hibernate. Could you tell me more how you resolve this.

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 09, 2008 8:37 pm 
Newbie

Joined: Wed Jan 09, 2008 8:29 pm
Posts: 1
Hi, I have the same problem. An example explanation:

A class CAT has a many-to-one relationship to another class BREED. If two cat objects are the same breed, then Hibernate seems to return the same
"breed" bean instance for the two cat objects, so that if you try to just change the breed value of one the cats, then the other cat's breed also gets changed, instead of just the first cat.

Is this behavior by design and has anyone got a workaround for this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 9 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.