0 Replies Latest reply on Sep 3, 2007 9:15 PM by Cloves Almeida

    jbpmContext.getSession() queries requiring fully-qualified e

    Cloves Almeida Newbie

      In Seam 2.0.0.BETA1 (from CVS) I acquired a jbpm context from:

      @In private JbpmContext jbpmContext;


      the following code does not work:

      Session session = jbpmContext.getSession();
      session.createQuery("select t from TaskInstance").list();
      


      It returns a "TaskInstance not mapped" exception.

      However, if I fully-qualify the entity, it does work:

      Session session = jbpmContext.getSession();
      session.createQuery("select t from org.jbpm.taskmgmt.exe.TaskInstance").list();
      


      Is this the correct behavior? Is there a way to use these 'unqualified'?

      C. J.