-->
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: ISession caching
PostPosted: Sun Jul 31, 2005 1:25 pm 
Newbie

Joined: Sat Jul 09, 2005 1:17 pm
Posts: 17
Hi everyone,

I am experiencing a problem with session caching. I will explain my setup first:

1) I have a class called Facility which has an ISet (one-to-many) of Schedule classes.

2) All my classes are virtual because I ned to pre-load only the many-to-one properties of my choice (not the entire object graph).

3) the ISession in my asp.net application persists (is cached) for the entire asp.net session


Now, here is my problem:

Whenever I save a new Schedule object the Facility object in NHibernate's session does not get updated to show this new schedule object in its ISet of schedules. I have to stop the asp.net session and log in again before I can see this new schedule.

Any ideas?


Thanks


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.