0 Replies Latest reply on Oct 7, 2009 10:02 AM by Atul Kotwale

    problem in getting db session.

    Atul Kotwale Newbie

      Hi All,

      I am using jbpm 4.1 version. In my code i am using following command to get an instance of DbSession class.

      DbSession dbSession = (DbSession)EnvironmentImpl.getFromCurrent(DbSession.class, false);

      but i am getting null in dbSession variable. Could please any one tell me what is happning. do i need set something in cfg file.

      Thanks in advance