0 Replies Latest reply on Nov 3, 2005 4:03 PM by sh_sadrai

    with jta,hibernate3 how can I create a new session in my ejb

    sh_sadrai

      I am using hibernate3,ejb3 in jboss-4.0.3SP1.and I am using jta.

      After inserting sth in , right after it I want to retrieve it again in ejb. Because I am in old session I can not retrieve sets of that object. It seems it isnt persisted yet.
      I need a way to close old session and open a new one to be able to retrieve everything about my object.
      I dont want to go to my view and call the second method of ejb.
      How ?