[jboss-user] [jBPM] - Re: Trying to connect to database through jBPM script task.
Jiri Svitak
do-not-reply at jboss.com
Fri Jul 19 09:16:53 EDT 2013
Jiri Svitak [https://community.jboss.org/people/jsvitak] created the discussion
"Re: Trying to connect to database through jBPM script task."
To view the discussion, visit: https://community.jboss.org/message/828862#828862
--------------------------------------------------------------
Hi avatarkim,
what version of jBPM do you use?
You should not use script tasks for interaction with a database. Use rather a service task and implement own handler. Script tasks are very simple, so service tasks can save you from many headaches with db interaction.
Regarding to your issues with MySQL driver - you should not upload the MySQL driver into Guvnor, only POJOs. What are you trying to achieve? If you are using JBoss AS/Wildfly, you should load MySQL driver as a module or a deployment. Do not include it in your application, or even upload into Guvnor. Also remember that Guvnor is only a repository, so I expect that you wanted to use jbpm console or own web application to run the process instances.
HTH
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/828862#828862]
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/20130719/113a8164/attachment-0001.html
More information about the jboss-user
mailing list