HibernateProxy « Core « JPA Q&A





1. HibernateProxy    forum.hibernate.org

If I pass an object of type HibernateProxy to the Session for saving. Will it be able to save the object to database. Will HibernateProxy be helpful for me. If so please let me know, how I need to use it. Is there a demo project using this? [color=blue]I am using proxy objects, dynamic proxy objects, maps in my project. Does ...

2. CGLibbing a HibernateProxy    forum.hibernate.org

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 ...

3. HibernateProxy getImplementation    forum.hibernate.org

4. CGLIB problem with HibernateProxy and LazyInitializer    forum.hibernate.org

Hibernate version: 3.2 Situation: 1. I create an Object 2. I enhace the Object using CGLIB and make the object implement an "Unpersisted" interface. 3. I do the save(Object) operation but an exception is thrown due to Hibernate mapping fails to find the object called -> Object$EnhancedByCGLIB Temporary Fix: Enhance the object and make it also implement an HibernateProxy interface which ...