0 Replies Latest reply on Feb 23, 2015 6:39 AM by Ananthi U

    Running custom SQL queries using RemoteRuntimeEngine

    Ananthi U Newbie

      In old JBPM, we were able to run SQL queries using the below code.

      JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();

      JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();

      org.hibernate.Session session = jbpmContext.getSession();

      org.hibernate.Query queryParent = session.createSQLQuery(QUERY.toString());


      In JBPM 6.0.1, using RemoteRuntimeEngine, how can we run custom queries to query JBPM tables?