Hi. I am about to implement Hibernate Search +Lucene service in my Tap. Is
there anything I should get in concern before doing it? How to wrap/decorate
that service? And how could I make service to be injected? Thanks in reply.
On Sat, 18 May 2013 17:05:03 -0300, Nomen Nomanum getibi...@outlook.com
wrote:
Hi. I am about to implement Hibernate Search +Lucene service in my Tap.
Hi! First of all, read this:
http://tapestry.apache.org/defining-tapestry-ioc-services.html.
Is there anything I should get in concern
Unfortunately, hibernate's Search.getFullTextSession(...) casts the session
to a concrete type which fails if you pass the session singleton provided
by tapestry-hibernate.
Instead, you must do something like the following in your AppModule
@Scope(ScopeConstants.PERTHREAD)
public static
Thanks Thiago and Lance! I will try this and see what happens.
Date: Sat, 18 May 2013 21:47:22 +0100
Subject: Re: Adding search service in Tapestry app
From: lance.j...@googlemail.com
To: users@tapestry.apache.org
Unfortunately, hibernate's Search.getFullTextSession(...) casts the session