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 SaveOrUpdate/De Question
PostPosted: Thu Sep 02, 2010 9:33 pm 
Newbie

Joined: Mon Aug 23, 2010 10:46 pm
Posts: 3
I am using Fluent NHibernate for my mappings.

I am able to Save and Find an Object. However, I am unable to Delete or Update an Object. When I look at the SQL output using NUnit, no SQL code is generated when calling the SaveOrUpdate or Delete methods and no error is thrown either.

I saw this article while doing a Google search:
http://stackoverflow.com/questions/9418 ... nhibernate

However, the company that I work at has the Session wrapped inside of an NHibernateHelper Class, so I wouldn't be able to call flush, if that is the issue.

Tomorrow, I will continue to try to find out what the problem is, just thought I would come here and ask as well.


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.