0 Replies Latest reply on Mar 2, 2006 7:42 AM by ralfoeldi

    session.get(Token.class, tokenId) return null

    ralfoeldi

      Hi all,

      I know this is more of a Hibernate question, but maybe someone knows an answer.

      Under what circumstances does Hibernate return null even though the Token definately exists.

      Session session = jbpmSession.getSession();
      
      Token token = (Token) session.get(Token.class, tokenId);


      The token itself exists, was commited / accessed before in two different transactions. This has occurred in 5 out of ca. 100 000 processInstances.

      Any ideas? Hints? Inspiration? :-)