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/753433#753433
--------------------------------------------------------------
Well, I still don't understand what you are trying to achieve? What do you want to
query?
To create a Query using JPA, you must create an EntityManager from one of the persistence
units you have in persistence.xml.
EntityManagerFactory emf =
Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");
and then create an entity manager that will let you create a query.
But again, it would be good to know what you are trying to do in order to help you.
Thanks
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/753433#753433]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]