Thanks, I also noticed that in other places where columnSchema.notnull is used the code is right :
Example : ClassBinder.cs, method BindColumn() : column.IsNullable = columnSchema.notnullSpecified ? ! columnSchema.notnull : isNullable; I will create a JIRA right now. On Oct 30, 10:52 am, "Richard Brown \(gmail\)" <[email protected]> wrote: > Hi DomZ, > > Yes, that looks like a bug. If you could create a JIRA with the appropriate > detail that would be great. (Ideally including the mappings that lead you > to this too.) > > If you could attach a test-case that demonstrates the issue, even better. > > Cheers, > Richard > > -------------------------------------------------- > From: "DomZ" <[email protected]> > Sent: Friday, October 30, 2009 9:41 AM > To: "nhusers" <[email protected]> > Subject: [nhusers] Bug in ClassIdBinder.cs > > > > > > > Hi guys, > > > I know it's not the place to put bugs but I would like to be sure with > > you before create a JIRA item. > > > In source file \NHibernate\Cfg\XmlHbmBinding\ClassIdBinder.cs : > > In the method : > > private static Column CreateColumn(HbmColumn columnSchema, IValue > > type, int index) > > > column.IsNullable = columnSchema.notnullSpecified ? > > columnSchema.notnull : false; > > > It should be : > > column.IsNullable = columnSchema.notnullSpecified ? ! > > columnSchema.notnull : false;- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
