On Fri, 10 Jun 2011 11:47:58 -0300, Tony Nelson <tnel...@starpoint.com>
wrote:
Hi all,
Hi!
I fired up Jetty, and opened the page. I really expected to get an
exception saying that I don't have a database session because I
purposely did not include the OpenSessionInView filter that I'm familiar
with. In addition I didn't include the tapestry-hibernate jars because
I'm not sure if it's better to have Tap of Spring handle opening and
closing the sessions.
You can't use Tapestry-Hibernate and Spring-Hibernate at the same time, as
both manage Hibernate sessions and instantiates SessionFactory's (through
the Configuration class, of course). And adding Tapestry-Hibernate to the
classpath means it's being used.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org