@Wid(widfile="ExecuteSQLDefinitions.wid",name="ExecuteSQL",displayName="ExecuteSQL",defaultHandler="mvel: new org.jbpm.process.workitem.executesql.ExecuteSqlWorkItemHandler()",documentation="execute-sql-workitem/index.html",parameters={@WidParameter(name="SQLStatement",required=true),@WidParameter(name="MaxResults"),@WidParameter(name="ColumnSeparator")},results=@WidResult(name="Result"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="execute-sql-workitem",version="7.13.0.Final"),serviceInfo=@WidService(category="Execute SQL",description="Execute SQL statements",keywords="database,fetch,sql,execute",action=@WidAction(title="Execute SQL statements")))
public class ExecuteSqlWorkItemHandler
extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
implements org.kie.internal.runtime.Cacheable
| Constructor and Description |
|---|
ExecuteSqlWorkItemHandler(String dataSourceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager manager) |
void |
close() |
void |
executeWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager workItemManager) |
protected Object |
processResults(ResultSet resultSet) |
public ExecuteSqlWorkItemHandler(String dataSourceName)
public void executeWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager workItemManager)
executeWorkItem in interface org.kie.api.runtime.process.WorkItemHandlerprotected Object processResults(ResultSet resultSet) throws Exception
Exceptionpublic void abortWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager manager)
abortWorkItem in interface org.kie.api.runtime.process.WorkItemHandlerpublic void close()
close in interface org.kie.internal.runtime.CacheableCopyright © 2001–2018 jBPM dev team. All rights reserved.