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
|