-
1. jBPM5 - Why do we have hibernate.cfg.xml within jbpm-bam
narayans Apr 5, 2011 12:41 PM (in response to narayans)Ok. I managed to get my jBPM console working :-
1. It displays all deployed processes
2. It displays information about currently active processes including highlighting currently active nodes in process diagram.
Apprarently I didn't had to use any of jbpm-gwt-xxx stuff, as all the information could be retrieved fom knowledgeSession and KnowldegeBase, also I dont think it is efficient to join to BAM tables to find active processinfo, this is what current gwt console does.
Modules I used are jbpm-bpmn2 and jbpm-persistence-jpa, and my application is Spring based application with console written using Spring MVC.
-
2. jBPM5 - Why do we have hibernate.cfg.xml within jbpm-bam
rodri Apr 5, 2011 4:43 PM (in response to narayans)Interesting.. Could you share any code example or Spring configuration files you have used?
-
3. Re: jBPM5 - Why do we have hibernate.cfg.xml within jbpm-bam
marco.rietveld Aug 16, 2011 6:10 AM (in response to narayans)Narayan,
I think that the persistence.xml files were included in the jbpm-bam module because it wasy the ... quickest and easiest (and most obvious) solution.
That's not to say that it was the best solution!!
I've been looking at this as well and wondering about what a better way would be to set this up: if you could, I would be really interested in hearing what would have been a better solution!
Thanks very much,
Marco