Thanks for the prompt reply but in this case it doesnt seem to be the answer, I
already have those lines in the faces-config.xml
I think jbpm handles its own connections to the datasource and I cant see how
to get it to use an extended context.
My temporary workaround is to load the process again in the current hibernate
session using the name of the process.
public void select()
{
GraphSession graph = jbpmContext.getGraphSession();
processList=graph.findLatestProcessDefinitions();
process=graph.findLatestProcessDefinition(process.getName());
logger.info("ProcessDefinition "+process);
//em.merge(process); this was my first try but the em is using a
different configuration from jbpm and says that the class is not a persistent
class
if (process!=null)
{
nodeList=process.getNodes();
...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970379#3970379
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970379
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user