I am planning to use jBPM 5.3 in our project and configured jBPM with Spring, JPA+Hibernate with Oracle databae. I have combined both process related and task realated tables into single persistenceUnit and configured JPA transaction manager.
When I run the server, I noticed that all the tables are created except the org.jbpm.persistence.processinstance.ProcessInstanceInfo table.
I have attached persistence.xml for your referece.
I have created PROCESS_INSTANCE_INFO table manually in oracle and tested running a process, but It is still thorwing "Unknow entity ProcessInstanceInfo" while trying to persist the process instance.
Has anyone faced this kind of issue? if so, can you pelase share how to fix this issue?
Thanks in advance.
It could make it work after adding the following mapping file to persistence.xml. But not sure if there is any reason for having hbm file only for ProcessInstanceInfo entity when there are entity java files in the jbpm jar file for all other jbpm tables.