For optimization purposes I would like to update some entities with an hibernate stateless session.
These entities, however, are loaded from a "classical" session (I need cache feature to load my entities quicker).
All of this could be good but some of my entities are lazily initialized, so their class name is something like : myentity_$$_javassist_22
. Thus, my stateless session does not want to update my entity.
Is there a way to transform a lazily initialized entity to a loaded entity ?
thank you