-->
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: NonUniqueObjectException
PostPosted: Tue Apr 20, 2004 3:59 am 
Newbie

Joined: Tue Apr 20, 2004 3:52 am
Posts: 2
I'm using Hibernate 2.1.2

Is it possible to have twice the same object in a parent object and use the saveOrUpdate function on it ?

I have the following object:
Participant
PreferedCurrency
Address
Country
ContryCurrency

PreferedCurrency and CountryCurrency have both the same id because I get the data from a currency table.

When I try to save the participant object, I get a NonUniqueObjectException on the currency.

Thanks.


Top
 Profile  
 
 Post subject: NonUniqueObjectException
PostPosted: Thu Dec 02, 2004 10:58 am 
Newbie

Joined: Thu Dec 02, 2004 10:56 am
Posts: 3
Location: Belgium
Hi.

Same problem for me!

Can someone help?

Thanks

_________________
Oli


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.