As the subject says, I'm unable to add a discriminator column to my
base class.  I keep getting the following error:

NHibernate.Exceptions.GenericADOException : could not insert:
[Onyx.Model.Tests.DiscriminatorTests.MyFirstChildClass#101][SQL:
INSERT INTO "MyBaseClass" (Id) VALUES (?)]
  ----> System.Data.SQLite.SQLiteException : Abort due to constraint
violation
MyBaseClass.discriminator may not be NULL

This unit test (http://pastie.org/1175300) fails for me.

- C# / .Net 4.0
- VS2010
- Fluent v1.0.0.0
- NHibernate v2.1.2.4000

If you need any more information, please let me know.

(Also, I've noticed it's trying to insert into
MyBaseClass.discriminator.  Shouldn't it be
MyBaseClass.ChildClassType?)

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibern...@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