-->
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: CGLibbing a HibernateProxy
PostPosted: Thu Sep 21, 2006 1:43 pm 
Newbie

Joined: Thu Sep 21, 2006 1:35 pm
Posts: 1
Hello,
(I've already posted a question similar to this on the CGLib mailing list, but figured to ask here as well).

I have a situation where I need to dynamically add methods to an object (at runtime) which most likely will be a HibernateProxy. Some details:

- Constrained to keep Hibernate configuration the same (as in, must have the lazy initialization present and working for all persisted objects)
- Must add the new methods to the proxied object (or, need to determine a way of creating a new proxy that still has all of the fields lazyily initialized)

Any help would be greatly appreciated.

Thanks,
Chris Pellett


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.