3 Replies Latest reply on Apr 2, 2009 10:08 PM by gonorrhea

    how I operate entityManager when web server context init

    garyyding

      I need init database after web server context init. But when I call
      Component.getInstance(em), but return is empty,a nd error isNo Application Context active. So any body tell me how to operate database