Java Code Examples for org.activiti.engine.impl.cmd.CustomSqlExecution

The following examples show how to use org.activiti.engine.impl.cmd.CustomSqlExecution. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: activiti6-boot2   Source File: ManagementServiceImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public <MapperType, ResultType> ResultType executeCustomSql(CustomSqlExecution<MapperType, ResultType> customSqlExecution) {
  Class<MapperType> mapperClass = customSqlExecution.getMapperClass();
  return commandExecutor.execute(new ExecuteCustomSqlCmd<MapperType, ResultType>(mapperClass, customSqlExecution));
}
 
Example 2
Source Project: flowable-engine   Source File: ManagementServiceImpl.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public <MapperType, ResultType> ResultType executeCustomSql(CustomSqlExecution<MapperType, ResultType> customSqlExecution) {
    Class<MapperType> mapperClass = customSqlExecution.getMapperClass();
    return commandExecutor.execute(new ExecuteCustomSqlCmd<>(mapperClass, customSqlExecution));
}
 
Example 3
Source Project: activiti6-boot2   Source File: ManagementService.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Executes the sql contained in the {@link CustomSqlExecution} parameter.
 */
<MapperType, ResultType> ResultType executeCustomSql(CustomSqlExecution<MapperType, ResultType> customSqlExecution);
 
Example 4
Source Project: flowable-engine   Source File: ManagementService.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * [EXPERIMENTAL]
 * 
 * Executes the sql contained in the {@link CustomSqlExecution} parameter.
 */
<MapperType, ResultType> ResultType executeCustomSql(CustomSqlExecution<MapperType, ResultType> customSqlExecution);