> You're probably injecting org.hibernate.classic.Session instead of
> org.hibernate.Session (correct one).
When using org.hibernate.search.impl.FullTextSession you cannot use
the injected org.hibernate.Session because there is an expectation
that the org.hibernate.Session past to the constructor
On Sat, 12 Jun 2010 18:20:34 -0300, Borut Bolčina
wrote:
Render queue error in SetupRender[Index:grid]: Failure reading parameter
'source' of component Index:grid: $Session_1292df1e883 cannot be cast to
org.hibernate.classic.Session
java.lang.ClassCastException
$Session_1292df1e883 cannot be
arameter of your grid, or ensure they
are
eagerly loaded in your persistence annotations. There may be some
equivalent of an OSIV filter available for Tapestry, I am not sure.
Regards,
Jim.
-Original Message-
From: Borut Bolcina [mailto:borut.bolc...@gmail.com]
mmit the transaction manually though.
Regards,
Jim.
-Original Message-
From: Borut Bolcina [mailto:borut.bolc...@gmail.com]
Sent: 11 June 2010 19:55
To: Tapestry users
Subject: Re: tapestry-hibernate grid second page Session is closed
Yes I have:
[INFO] [dependency:tree {execution:
tence annotations. There may be some
equivalent of an OSIV filter available for Tapestry, I am not sure.
Regards,
Jim.
-Original Message-
From: Borut Bolcina [mailto:borut.bolc...@gmail.com]
Sent: 11 June 2010 16:39
To: List Tapestry User
Subject: tapestry-hibernate grid second
nt Index:grid: Session is closed!
> [at
> > context:Index.tml, line 7]
> >at
> >
> org.apache.tapestry5.internal.transform.ParameterWorker$2$1.readFromBinding(ParameterWorker.java:286)
> >at
> >
> org.apache.tapestry5.internal.transform.ParameterWorker$2$1.
bstractComponentMethodInvocation.proceed(AbstractComponentMethodInvocation.java:77)
> at
> org.apache.tapestry5.ioc.internal.services.LoggingAdvice.advise(LoggingAdvice.java:45)
> at
> org.apache.tapestry5.internal.transform.LogWorker$1.advise(LogWorker.java:54)
> at
> org.apa
xclude' parameter of your grid, or ensure they are
> eagerly loaded in your persistence annotations. There may be some
> equivalent of an OSIV filter available for Tapestry, I am not sure.
> >
> > Regards,
> > Jim.
> >
> > -Original Message-
> > From: Bo
; Jim.
>
> -Original Message-
> From: Borut Bolcina [mailto:borut.bolc...@gmail.com]
> Sent: 11 June 2010 16:39
> To: List Tapestry User
> Subject: tapestry-hibernate grid second page Session is closed
>
> Hello,
>
> after a while I am again coding with Tapestry. This
load the attributes you need
and still take advantage of the inplace grid nav.
Regards,
Jim.
-Original Message-
From: Jim O'Callaghan [mailto:jc1000...@yahoo.co.uk]
Sent: 11 June 2010 17:42
To: 'Tapestry users'
Subject: RE: tapestry-hibernate grid second page Session is clos
borut.bolc...@gmail.com]
Sent: 11 June 2010 16:39
To: List Tapestry User
Subject: tapestry-hibernate grid second page Session is closed
Hello,
after a while I am again coding with Tapestry. This time I have a chance to
use Hibernate, Lucene and their bridge Hibernate Search.
I created a search component
Hello,
after a while I am again coding with Tapestry. This time I have a chance to
use Hibernate, Lucene and their bridge Hibernate Search.
I created a search component which uses org.hibernate.search.FullTextQuery
to search the index. I am using tapestry grid component to display all the
results
12 matches
Mail list logo