0 Replies Latest reply on May 2, 2008 1:34 PM by Yevgeny Shakhnovich

    PostConstruct method

    Yevgeny Shakhnovich Newbie

      Hi,
      I have a very simple question. Can a PostConstruct method use EntityManager to access DB?
      Currently, on a Stateless bean my PostConstruct method gets a NullPointerException when tries to do it.
      I wonder if it is a bug in JBoss or I am not supposed to do it.

      Thank you,
      Yevgeny