Hibernate Books

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: 1st Level Cache problem
PostPosted: Wed Jan 25, 2012 9:31 am 
Newbie

Joined: Tue Dec 22, 2009 8:38 am
Posts: 18
Hi,

I am using only 1 nhibernate session in the application scope, and I load into its 1st level cache some objects.
The application performs various computations ... one of them lasts for about 10 minutes. When I wanted to retrieve the objects from the 1st level cache, I found out that they are not there anymore, the 1st level cache has expired them.

I need to know whether an object in the cache 1L can expire, and if so, how can this be undo (prohibit the objects in the cache 1L expire).

Thank you,
C.


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.