-->
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: Fetching strategy for WinForms application
PostPosted: Wed May 14, 2008 10:44 pm 
Newbie

Joined: Thu May 08, 2008 1:38 pm
Posts: 1
Hi,

Hibernate version:1.2


I am NHibernate newbie working on a multi-user C# WinForms application. This has multiple parent-child-child being handled using DataGridViews.

All child classes are mapped with inverse=true and lazy = true and I am currently using session-per-form strategy for fetching.

This is resulting in stale data being presented. I encounter LazyInitializationException when I try to switch to session-per-unit of work fetching strategy.

I need urgent help in terms of pointers to articles, sample codes etc to handle this problem. Most of the articles in the forums refer to WebForms which don't help much.

Thanx in advance,

Bala


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.