Re: tapestry-hibernate conflicts hibernate-search

2008-02-18 Thread Josh Canfield
I ran into this problem over the weekend. FullTextSessionImplcasts the passed session to SessionImplementor

Re: tapestry-hibernate conflicts hibernate-search

2007-11-05 Thread Ted Steen
2007/11/4, T. Papke <[EMAIL PROTECTED]>: > Thank you for your answer. > > What is the difference between tapestry-hibernate module and an per > Thread session instanced by tapestry-ioc? Is there any disadvantage when > switching? A per thread session instance is just what you get with tapestry-hib

Re: tapestry-hibernate conflicts hibernate-search

2007-11-04 Thread T. Papke
Thank you for your answer. What is the difference between tapestry-hibernate module and an per Thread session instanced by tapestry-ioc? Is there any disadvantage when switching? Could you send some code snipplets of your tapestry-ioc hibernate-session service? Is this something like the g

Re: tapestry-hibernate conflicts hibernate-search

2007-11-03 Thread Ted Steen
This happens because the session becomes a proxy when you make a service of it. I guess you have a thread scope on the hibernate session? well, then tapestry-ioc will wrap the session in a proxy that will give you a new session per request. Actually its neither a tapestry-hibernate nor hibernate-s

tapestry-hibernate conflicts hibernate-search

2007-11-03 Thread T. Papke
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 s