Can this be achieved by the following?

1. Configure DataSource and Hibernate session factory using Spring
2. Bind this session factory to JNDI under java:/sessionFactory
3. Spawn HibernateManagedSession in components.xml and set 
sessionFactoryJndiName to java:/bookingSessionFactory
4. When DAO method is invoked, get HibernateSession using Seam's 
Contexts.lookupInStatefulContexts(HibernateManagedSession_COMPONENT_NAME).

TIA



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986865#3986865

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986865
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to