[jboss-user] [JBoss Seam] - Re: Dropping clean MC support was a Bad Thing :(
przemjaskier
do-not-reply at jboss.com
Mon Jul 9 15:43:46 EDT 2007
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#4062119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062119
More information about the jboss-user
mailing list