This is trying to insert null into Comment.BlogArticleID.
The following GenericADOException appeared: \"could not insert: [NHibernate__OneToMany.BO.Comment][SQL: INS
The key column of the associated class (Comment.BlogArticleID) must be nullable in the database. NHibernate will insert rows leaving this column NULL and then perform an update to set the key.
Adding not-null="true" to the key element would not work, as this attribute is only used by the schema export tool.
Note that the failing insert includes a select for the generated identity for the new child row.