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: Adding new Callbacks to proxied objects
PostPosted: Thu Nov 30, 2006 5:05 am 
Newbie

Joined: Fri Feb 17, 2006 4:46 am
Posts: 10
Ok, this is not a easy topic as it requires knowledge about the intrinsics of Hibernate but I hope somebody can answer this.

I am wondering if anybody knows how to get Hibernate to add custom cglib callbacks for POs to the ones it adds anyway. I want to enhance its behavior so I need to intercept a couple of method calls to change their semantic.

Sure enough, I could individually enhance the inidividual POs I get out of Hibernate through any means on the application layer but that's a bit impracticable, so I would like to hook inside Hibernate to add my own Callbacks before the persistent objects get out to the application.

Anybody knows the best way to do this?


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.