I got this object under control. On object.getClass() it says com.mypack.class_james_007, I consider this object is uninitialized till now and belongs to class's proxy.
I test org.hibernate.Hibernate.isInitialized(object), it says true.
I do org.hibernate.Hibernate.initialize(object). After this on object.getClass() it still says com.mypack.class_james_007.
Shouldn't it get initialized the object on initialize(o) by returning normal class name on calling getClass(). This behaviour confuses me, please help me guys. What's the catch there?
Aucun commentaire:
Enregistrer un commentaire