Hello all, I've been racking my brain on this problem for a few days.
I have the following error messages in my logs and I'm completely
baffled as to why they are occurring:

20:26:26 [6] ERROR NHibernate.AssertionFailure - An AssertionFailure
occurred - this may indicate a bug in NHibernate or in your custom
types.

NHibernate.AssertionFailure: null id in Westshore.Models.SaleProperty
entry (don't flush the Session after an exception occurs)

Basically when I call the Create() function on my models they will not
persist back to the database and throws the following exception on the
Create() function. From what I've read on the internet I believe this
is usually some sort of validation problem with the models; however,
all the data I've inputted is valid when I create it and the model's
properties are all getting set properly. The ID column is a Native ID
which uses an Identity column in SQL 2005.

This is using a trunk build of Activerecord built on June 29th. There
is some code change I must have made to break the model but I can't
pinpoint what it is. Any help will be greatly appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to