List of usage examples for org.apache.ibatis.executor BatchExecutor getTransaction
@Override
public Transaction getTransaction()
From source file:com.luxoft.mybatis.splitter.UpdateSplitterPlugin.java
License:Apache License
private Object replaceBatchExecutor(BatchExecutor target) { try {//from w w w. j a va 2s. co m return new ReusingBatchExecutor((Configuration) executorConfiguration.get(target), target.getTransaction(), retainExecuteOrder, reuseBetweenFlushes); } catch (IllegalAccessException e) { throw new ExecutorException(MSG_ERROR_ACCESSING_CONFIGURATION, e); } }