本文整理了Java中org.apache.openjpa.kernel.Query.closeResources
方法的一些代码示例,展示了Query.closeResources
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.closeResources
方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Query
类名称:Query
方法名:closeResources
[英]Close query results that are consuming resources. Allow results that are not consuming resources to remain open so that they continue to function normally.
[中]
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
public void closeResources() {
try {
_query.closeResources();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
public void closeResources() {
try {
_query.closeResources();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
public void closeResources() {
try {
_query.closeResources();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
public void closeResources() {
try {
_query.closeResources();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public void closeResources() {
try {
_query.closeResources();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
for (Iterator itr = _queries.iterator(); itr.hasNext();) {
try {
((Query) itr.next()).closeResources();
} catch (RuntimeException re) {
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
for (Iterator<?> itr = _queries.iterator(); itr.hasNext();) {
try {
((Query) itr.next()).closeResources();
} catch (RuntimeException re) {
代码示例来源:origin: org.apache.openjpa/openjpa-all
for (Iterator<?> itr = _queries.iterator(); itr.hasNext();) {
try {
((Query) itr.next()).closeResources();
} catch (RuntimeException re) {
代码示例来源:origin: org.apache.openejb.patch/openjpa
for (Iterator<?> itr = _queries.iterator(); itr.hasNext();) {
try {
((Query) itr.next()).closeResources();
} catch (RuntimeException re) {
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
for (Iterator<?> itr = _queries.iterator(); itr.hasNext();) {
try {
((Query) itr.next()).closeResources();
} catch (RuntimeException re) {
内容来源于网络,如有侵权,请联系作者删除!