I am already using OpenSessionInViewFilter , I talking about
AjaxLazyLoadThreadPanel which uses
java.util.concurrent.FutureTask
here is the constructor
public AjaxLazyLoadThreadPanel(final String id, final IModel<?>
model) {
super(id);
setOutputMarkupId(true);
future = new FutureTask<IModel<?>>(new Callable<IModel<?>>() {
public IModel<?> call() throws Exception {
Object _object = model.getObject();
AjaxLazyLoadThreadPanel.this.model = model;
return model;
}
});
this lazyload panel uses retireves my model object in a separate thread ,
for which openViewSessionFilter will not apply am I right? ,
so I have to use hibernateInterceptor to bound session to this thread,
Please sugest me how to apply hibernateinterceptor for this thread ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3047890p3051829.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]