stateless « EJB « JPA Q&A





1. Multi Stateless EJB calls w/ same Hibernate Session failing    forum.hibernate.org

An example of my problem. I am calling 2 Stateless Sesion EJBs having them share a Hibernate Session. The Hibernate Session is set/disconnected thru a Servlet filter. On the return of the first call, the Hibernate Session is committed. I need to disconnect/reconnect the session before I make the second call. This should not be the responsibility of the calling class ...