Thread:
 error on transaction.Commit() 
 mathmax   26 Jun 2007, 13:02 
 Re: error on transaction.Commit() 
 SiliconDream   28 Sep 2007, 05:58 
 Re: error on transaction.Commit() 
 d-ral   11 Oct 2007, 10:23 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: mathmax (26 Jun 2007, 13:02) Replies: 2, Views: 4864
Subject: error on transaction.Commit()
Hello,

I try to make this sample work, but I got some problems :
As steinisweb (last comment on this article) advised, I change the xmlns
attribute and make virtual all the properties of User class.
However I still got an error on : transaction.Commit();

the error message is :

could not insert: [MappingORTests.User#joe_cool][SQL: INSERT INTO
[NHibernate].[dbo].[users] (Name, Password, EmailAddress, LastLogon,
LogonId) VALUES (?, ?, ?, ?, ?)]

Have an idea of the problem ?

thank you in advance for your help.
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]