本文整理了Java中org.apache.ibatis.executor.Executor.isClosed()
方法的一些代码示例,展示了Executor.isClosed()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Executor.isClosed()
方法的具体详情如下:
包路径:org.apache.ibatis.executor.Executor
类名称:Executor
方法名:isClosed
暂无
代码示例来源:origin: camunda/camunda-bpm-platform
@Override
public boolean isClosed() {
return delegate.isClosed();
}
代码示例来源:origin: org.mybatis/mybatis
@Override
public boolean isClosed() {
return delegate.isClosed();
}
代码示例来源:origin: org.mybatis/mybatis
private <E> List<E> selectList() throws SQLException {
Executor localExecutor = executor;
if (Thread.currentThread().getId() != this.creatorThreadId || localExecutor.isClosed()) {
localExecutor = newExecutor();
}
try {
return localExecutor.<E> query(mappedStatement, parameterObject, RowBounds.DEFAULT, Executor.NO_RESULT_HANDLER, cacheKey, boundSql);
} finally {
if (localExecutor != executor) {
localExecutor.close(false);
}
}
}
代码示例来源:origin: camunda/camunda-bpm-platform
private <E> List<E> selectList() throws SQLException {
Executor localExecutor = executor;
if (Thread.currentThread().getId() != this.creatorThreadId || localExecutor.isClosed()) {
localExecutor = newExecutor();
}
try {
return localExecutor.<E> query(mappedStatement, parameterObject, RowBounds.DEFAULT, Executor.NO_RESULT_HANDLER, cacheKey, boundSql);
} finally {
if (localExecutor != executor) {
localExecutor.close(false);
}
}
}
代码示例来源:origin: org.apache.ibatis/ibatis-core
public boolean isClosed() {
return delegate.isClosed();
}
代码示例来源:origin: ldlqdsdcn/eidea4
@Override
public boolean isClosed() {
return executor.isClosed();
}
代码示例来源:origin: org.apache.ibatis/ibatis-core
private List selectList() throws SQLException {
Executor localExecutor = executor;
if (localExecutor.isClosed()) {
localExecutor = newExecutor();
}
try {
return localExecutor.query(mappedStatement, parameterObject, RowBounds.DEFAULT, Executor.NO_RESULT_HANDLER);
} finally {
if (localExecutor != executor) {
localExecutor.close(false);
}
}
}
内容来源于网络,如有侵权,请联系作者删除!