Demian Calcaprina [
https://community.jboss.org/people/calca] created the discussion
"Re: hibernate.cfg.xml not found (JBPM5 / Install.demo)"
To view the discussion, visit:
https://community.jboss.org/message/753440#753440
--------------------------------------------------------------
Well, there it says that Users is not mapped.
If you want to query the users from task database (
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human...)
you can make "From User"
and when creating the EntityManagerFactory, the persistence unit name is
"org.jbpm.task"
Jbpm uses two persistence units (you can check it in file persistence.xml, it should look
like this
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/...
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/...)
One is for human tasks persistence, and the other for jbpm runtime entities.
Hope this helps,
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/753440#753440]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]