Hi rimmeraj, I was under the impression that the getSession method of HibernateContext took in as a parameter a sessionfactory name and then passed back a session? In http://www.jboss.org/wiki/Wiki.jsp?page=JBossHibernate
Session management it says: 'The central piece of the Hibernate Session management component in JBoss is the org.jboss.hibernate.HibernateContext class. HibernateContext exposes a static method named getSession() taking a String parameter which represents the jndi name of a SessionFactory?. If there is already a session bound to the "current context" for the given session factory name, then that session is returned; otherwise, a new session is generated, bound to the "current context", and then returned.' Is the information above incorrect, as I specifically want to pass a session back via hibernate and not ejb? many thanks Uzo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852755#3852755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852755 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
