Hi Ricardo,
as i said before, using Inverse didn#t solve the problem.
I changed my mapping to:
public class EmployeeMapping : BaseClassMap<Employee>
{
public EmployeeMapping()
HasMany(x => x.Addresses).Inverse().Cascade.All()
                .Not.LazyLoad();
Now i get a different Errormessage:
NHibernate.Exceptions.GenericADOException : could not initialize a
collection
no such column: addresses0_.Employee_id

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to