-->
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.  [ 2 posts ] 
Author Message
 Post subject: afterOperation call in SessionImpl.list() method
PostPosted: Tue May 20, 2008 5:31 pm 
Newbie

Joined: Tue May 20, 2008 5:22 pm
Posts: 2
Can some one explain the purpose of afterOpration() call in the finally block of SessionImpl.list() method. This inturn calls StatefulPersistenceContext and sets the lockMode to NONE for all the entities from that Query. I am using ehcache, is this check still required even for the resultset returned from ehcache. Looks like this is something that got introduced in 3.x as this was not available in 2.x (we were using 2.0 so far and migrated to 3.2 recently). The reason for this question is, some considerable amount of time is spent in this call. Is this something that can be avoided?

Thanks


Top
 Profile  
 
 Post subject: Any thought?
PostPosted: Wed May 21, 2008 3:23 pm 
Newbie

Joined: Tue May 20, 2008 5:22 pm
Posts: 2
Any thought?


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.