0 Replies Latest reply on Jul 23, 2008 3:15 AM by agori

    EntityManager is singleton?

    agori

      I know that an injected EntityManager (@PersistenceContext EntityManager em) in not a singleton. But this is what I am experiencing in my application!

      I have a @Stateless bean with @PersistenceContext entity manager. It seems that during the whole application the entitymanager is *always the same object*.

      Why?