public < CT > CT callBatchTasks ( ConnectionSource connectionSource , Callable < CT > callable ) throws SQLException { if ( connectionSource . isSingleConnection ( tableInfo . getTableName ( ) ) ) { synchronized ( this ) { return doCallBatchTasks ( connectionSource , callable ) ; } } else { return doCallBatchTasks ( connectionSource , callable ) ; } }
Call batch tasks inside of a connection which may or may not have been saved .