-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ==> Nhibernate generates NON FONCTIONAL SQL QUERIES<==
PostPosted: Tue Jun 26, 2007 12:01 pm 
Regular
Regular

Joined: Tue Jun 26, 2007 11:50 am
Posts: 105
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.