[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] Problem with ManyToMany mapping
|
- From: "Mohsen Saboorian" <mohsens@xxxxxxxxx>
- Date: Fri, 27 Jun 2008 07:38:19 +0330
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=XcgWXyLv7u48EehdtoLy3hxT9AcCwg4qt6sK9S8Jssc=; b=WEHf7nF03DrhHLF5UKiXfpyOkxpaR8Mv/MahjlGCLY4TfJ9/q71CHbvZUQz+kHU+i7 xyylQgP1bh0iFLEtfh7iHPhsNN3lF9S651k8CbQoCEdxtZzk2hfhX9WXEkh/WP3LXgWc zuYuAsAEprguPdHh+44ZnKV1bBxsgE8QxBeGI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=hnTFoBFsY0hHaGcM1udbZEYhYWLL+7eYw0BI1EaXmjz/k0aOi7NBuz7Vlphb68zmlW bBiuekn/i+G8JihEi1XgmOE0eJBg5ffyuFvTtWQmAeWhOiyHPD4JSc9nXhWC+CPEEUDU hjfDJ+4uil1pBkD24kijB1bFv3osRNbK5961Q=
Gordon, thanks for the answer.
On Thu, Jun 26, 2008 at 9:26 PM, Gordon Yorke <gordon.yorke@xxxxxxxxxx> wrote:
> You mention that you have 'both owning sides'. Only one side of the
> relationship should be owning. The other should be using the mapped-by
> attribute in the @ManyToMany annotation.
> Perhaps you could provide some source for a better understanding of what you
> you are doing?
Since the entity has many to many relationship with *itself*, I think
I should just provide a single @ManyToMany property. Am I right?
I can provide the source as soon as I get to office.
Thanks,
Mohsen.