[jboss-user] [jBPM] - Re: query an external database from a process

suprit chaudhary do-not-reply at jboss.com
Fri Sep 28 12:04:04 EDT 2012


suprit chaudhary [https://community.jboss.org/people/supritchaudhary] created the discussion

"Re: query an external database from a process"

To view the discussion, visit: https://community.jboss.org/message/762246#762246

--------------------------------------------------------------
Yes it is possible to query external database from process task handlers.
Study the Taskorm.xml. For custom database you need to defined the entry in Standalone.xml for database binding.
Then you can define you custom entity class in persistence.xml and you can define your query in orm.xml file that you need to include in persistence.xml
In Taskorm.xml you will see query for processes and tasks that jbpm use internally.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/762246#762246]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120928/5f43e82e/attachment.html 


More information about the jboss-user mailing list