There's been many bug fixes since the 1.0 release. You can download a more
recent version here:
http://fluentnhibernate.org/downloads

<http://fluentnhibernate.org/downloads>I recommend you grab the latest daily
build, from the links at the bottom.

On Wed, Sep 22, 2010 at 3:11 PM, Matt Grande <[email protected]> wrote:

> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<fluent-nhibernate%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/fluent-nhibernate?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" 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/fluent-nhibernate?hl=en.

Reply via email to