I`m going to check it out tnx.
What if I tried to encapsulate my Object`s hibernateSession inside my
Object (considering my Object a VO ).
Implementing LifeCycle and using it`s listeners to be able to have a
reference to his hibernateSession and taking care of it encapsulating,
connecting, disconnecting, refreshing the cache... (transparently to all the
other developers that are going to manipulate that VO).
This way I could maintain an Object with reference to all my other
classes in the httpSession and using LazyLoad to make things go faster.
Can u give me a way, clue, piece of code hint or whatever to make it
work?
Thank you very Much !
:Luiz.
|