Hi,

in my project, i currently use hibernate 3.2.5 (and hibernate-search 3.0.0) together with tapestry 5.0.6 (and tapestry-hibernate module). The "normal" Hiberate works as excpeted, but the hibernate fulltext-search runs against an exception - i think because of wrong init of the hibernate session inside the tapestry module.

I do:
....
FullTextSession fullTextSession = Search.createFullTextSession( hibernateSession );
....

If i try to get a FullTextSession object, i got:
"java.lang.ClassCastException: Processing of request failed with uncaught exception: $Session_11606936826 cannot be cast to org.hibernate.classic.Session" at org.hibernate.search.impl.FullTextSessionImpl.<init>(FullTextSessionImpl.java:69)
   ....

If i create the hibernate session by myself, everything thems to be working.

Is that a bug of Hibernate-search or a bug of tapestry-hibernate module?

Thanks a lot,
Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to