Hi,
When I create LoadableDetachableModel the onDeatch() and deatch() methods
are never called.
The load method is only called once. Becouse of it I get
LazyInitializationException from Hibernate.
Should I call deatch() manually or is there something wrong with my
LoadableDetachableModel?
Here
The detach method should be called by the component that uses the model,
there should be no need for you to call detach manually.
Artur W. wrote:
>
> Hi,
>
> When I create LoadableDetachableModel the onDeatch() and deatch() methods
> are never called.
> The load method is only called once. B
On Tue, 08 Jul 2008, Michael Sparer wrote:
> The detach method should be called by the component that uses the model,
> there should be no need for you to call detach manually.
...unless the model is not the default model of any Component.
For example you can have
public class EmployeePanel ex
Hi!
Timo Rantalaiho wrote:
>
> @Override
> public void onDetach() {
> positionToDisplay.detach();
> super.onDetach();
> }
> ...
> }
>
Thanks for your help! It fixed my problem.
Artur
--
View this message in context:
http://www.nabble.com/Loadabl