Yep, this is a known bug. Until we fix it you need to explicitly specify the
table name for both sides of the relationship.

On Wed, Feb 4, 2009 at 10:42 PM, <mblo...@gmail.com> wrote:

>
> I have exactly the same issue ... something seems to be not correct.
>
> I think on one side there should be inverse="true" which fluent-nh
> should use to detect real parent
>
> --
> Cheers, Marek
>
> On 9 Gru 2008, 06:13, karron <karron...@gmail.com> wrote:
> > I configure the ManyToMany table name as the following.
> >
> > persistenceModel.Conventions.GetManyToManyTableName=
> >                                 (x, y) => Inflector.Pluralize(x.Name)
> > + "To" + Inflector.Pluralize(y.Name);
> >
> > but fluent-nh generates two table for me.  for example, I have user
> > and role entity, they have many2many relationship, the fluent-nh gives
> > me two tables: RolesToUsers , UsersToRoles. Any ideas for this case? I
> > know I can set the TableName at the mapping class.
> >
> > Thanks a lot.
> >
> > --
> > Regards,
> > Karron
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to