2 Replies Latest reply on Jan 30, 2007 9:15 AM by koen.aers

    How to retreive the Connection in a handler ?

    francis1970

      Hi all!
      in the docs it's showed that, in order to retrieve a Connection from an handler you should :

      public void execute(ExecutionContext context) throws Exception {
      Connection conn = context.getJbpmContext().getConnection();

      ......
      }

      this gives me a NullPointerExceptiopn because context.getJbpmContext()
      is null.......
      anybody helps me ?
      Thanks
      Francis