Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Problem with ManyToMany mapping

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.


Back to the top