[jboss-user] [JBoss Seam] - jbpmContext.getSession() queries requiring fully-qualified e
cjalmeida
do-not-reply at jboss.com
Mon Sep 3 21:15:40 EDT 2007
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.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080683#4080683
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080683
More information about the jboss-user
mailing list