tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan E. Maya" <maya.j...@gmail.com>
Subject Tapestry-Hibernate + Tapestry-Spring
Date Thu, 04 Dec 2008 20:02:16 GMT
i am having some issues trying to use both modules together. Is this
I am getting an "Illegal attempt to associate a collection with two open
sessions"; when i try to save my objects. Is there a way to inject the same
used by Tapestry-Hibernate session to my daos?

Right now i am injecting a sessionFactory via spring:
public class BaseHibernateDao<T> extends HibernateDaoSupport{

    public BaseHibernateDao(SessionFactory sessionFactory) {
        this.persistentClass = (Class<T>) ((ParameterizedType)


Thank u for your help!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message