Please advice me, my application is an old application it uses hibernate for its persistance just the jpa annotations.
My base dao extends HibernateDaoSupport and I save my entites using getSessionFactory().getCurrentSession().save(entity);
do I have to use JPA for jbpm persistance? is there any way we can provide custom DAO for jbpm ?
All jbpm tables will be in one database along with my application tables ,and I want jbpm to use my exsisting transaction manager, I dont want two phase comit using JTA transactions etc? Is this possible?
I am looking at jbpm for simple worklow stuff, define process definition and persist state in database along with my other tables using one transaction manger.
Also it would be great if I can add more columns to any of the jbpm tables and update the annotated entites? Please advice.
Please I need advice, is it possible to use JBPM without JPA and use my custom persistance mechanisim? Its an old applciation and all persistance is done through hibernate and I dont use Entitymanagerfactory to persists my entities.Please advice can I provide my custom Persistance provider ?
and I would like to add my Entity to the ProcessInstance , please advice .
I think I misundersttod your question when I replied in other thread.
Basically you will have your business tables and you can communicate with it using hibernate and without using JPA. JBPM can use JPA and it should not affect your application.
I believe that this should solve your problem.
Thanks a lot for your reply, I need one more advice, with transaction manager, I am using spring ,hibernate and TransactionManager is provided by hibernate, to use jbpm I will use Spring entitymanagerfactory and for transactionmanager I guess I have to use the jbmp in built transactionmanager and integrate the two with JTA are there any tutorials or articles with examples on doring this? Appreciate your help.