-->
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: Entity onAccess
PostPosted: Thu Jan 04, 2007 9:52 am 
Newbie

Joined: Wed Dec 07, 2005 6:31 am
Posts: 9
Hello!

I'm using a DefaultLoadEventListener, method onLoad, to keep track of which entities are loaded in my session. Whenever I do a HQL-query, a get, a load - I want to know that I'm accessing the entity.

Problem is, when my entity is first loaded, no other onload-events are triggered, since the entity then resides in the session cache.

So... Is there a way to track Entity access, no matter what?

OJ

_________________
OJ


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.