0 Replies Latest reply on Oct 31, 2003 3:41 AM by pkasturi

    Problem Trying to Access a newly Created REcord

    pkasturi

       

      "pkasturi" wrote:
      "pkasturi" wrote:
      Hi,

      My Development Environment uses Eclipse with JBOSS using the Lomboz Plugin (XDoclet).

      I am able to perform all the operations. I get the following problem.

      When I add a new Record in the DB using a call to create and immediately try to access the new record by trgin to get the reference through findByPrimaryKey with the new id created, I get a null pointer exception.

      I am able to access the same record after a short period of time (around 5 minutes).

      Can somebody please give me a solution to my problem.