I want to share, in case that someone is googling for a solution here:
I managed to create this configuration:
DataSource bound by Spring, HibernateSessionFactory bound by Spring, Seam-managed Session
by creating a Seam delegate component "sessionFactoryDelegate" that wraps
Spring-bound SessionFactory and serve it via EL, like this:
<persistence:managed-hibernate-session name="pecpSeamManagedHibernateSession"
auto-create="true"
session-factory="#{sessionFactoryDelegate.sessionFactory}"/>
I would prefer another solution but current Spring integration apparently does not allow
me to to this (is broken?) - see comments on
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112972)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062119#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...