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; I added "!". Since in the .hbm file you set not-null="true", if columnSchema.notnull is true then column.IsNullable is false :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
