Select Categories Below
Status: Closed Points: 25 Time: 14:50 - Oct 20, 2006
theDude
I got this NHibernate exception: NHibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs) To be honest I don't know what it means. I don't think I'm flushing the session anywhere, but I have the feeling that the problem is something else. Anyone knows what it might be? theDude
Categories:
Add Categories
When adding more than one category, separate them with commas.
Advertisement
Sergio Costa
Date:: Jan 05, 2007
Time:: 10:59
What were you doing when you got this?
Date:: Jan 06, 2007
Time:: 09:28
it happened a while back and I'm not sure what made it happen :-/ I think it was a problem of an id column in the database not being auto-numeric.
Time:: 09:57
Always try the auto hbm2dll.auto feature of nhibernate to check how the generated tables look like. You can acomplish that in nhibernate configuration: <add key="hibernate.hbm2ddl.auto" value="create" /> (don't forget to change the db location, or you'll fubar your current db)
Time:: 12:34
oh, great, didn't know about that. You get the points for that...
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for the Summary Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
How do I vary the height of a frame depending on t...
Dynamically I created ASP.NET user control using A...
I want to delete a cookie of a different domain fr...
hover gallery.
How long does Google and MSN store emails that can...
Does the United States Government have a CIO posit...
You have 100 characters to use
Rank
Expert
Points
1.
55
2.
25
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software Real Estate Postcards Marketing Fulfillment