本文整理了Java中org.apache.openjpa.kernel.Broker.getIgnoreChanges()
方法的一些代码示例,展示了Broker.getIgnoreChanges()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Broker.getIgnoreChanges()
方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Broker
类名称:Broker
方法名:getIgnoreChanges
[英]Whether to take into account changes in the transaction when executing a query or iterating an extent.
[中]执行查询或迭代数据块时是否考虑事务中的更改。
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public boolean getIgnoreChanges() {
try {
return _broker.getIgnoreChanges();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
public boolean getIgnoreChanges() {
try {
return _broker.getIgnoreChanges();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
public boolean getIgnoreChanges() {
try {
return _broker.getIgnoreChanges();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
public boolean getIgnoreChanges() {
try {
return _broker.getIgnoreChanges();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
public boolean getIgnoreChanges() {
try {
return _broker.getIgnoreChanges();
} catch (RuntimeException re) {
throw translate(re);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
/**
* Constructor.
*
* @param broker the owning broker
* @param type the candidate class
* @param subs whether subclasses are included in the extent
*/
ExtentImpl(Broker broker, Class<T> type, boolean subs,
FetchConfiguration fetch) {
_broker = broker;
_type = type;
_subs = subs;
if (fetch != null)
_fc = fetch;
else
_fc = (FetchConfiguration) broker.getFetchConfiguration().clone();
_ignore = broker.getIgnoreChanges();
if (broker.getMultithreaded())
_lock = new ReentrantLock();
else
_lock = null;
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
/**
* Constructor.
*
* @param broker the owning broker
* @param type the candidate class
* @param subs whether subclasses are included in the extent
*/
ExtentImpl(Broker broker, Class type, boolean subs,
FetchConfiguration fetch) {
_broker = broker;
_type = type;
_subs = subs;
if (fetch != null)
_fc = fetch;
else
_fc = (FetchConfiguration) broker.getFetchConfiguration().clone();
_ignore = broker.getIgnoreChanges();
if (broker.getMultithreaded())
_lock = new ReentrantLock();
else
_lock = null;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
/**
* Constructor.
*
* @param broker the owning broker
* @param type the candidate class
* @param subs whether subclasses are included in the extent
*/
ExtentImpl(Broker broker, Class<T> type, boolean subs,
FetchConfiguration fetch) {
_broker = broker;
_type = type;
_subs = subs;
if (fetch != null)
_fc = fetch;
else
_fc = (FetchConfiguration) broker.getFetchConfiguration().clone();
_ignore = broker.getIgnoreChanges();
if (broker.getMultithreaded())
_lock = new ReentrantLock();
else
_lock = null;
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Constructor.
*
* @param broker the owning broker
* @param type the candidate class
* @param subs whether subclasses are included in the extent
*/
ExtentImpl(Broker broker, Class<T> type, boolean subs,
FetchConfiguration fetch) {
_broker = broker;
_type = type;
_subs = subs;
if (fetch != null)
_fc = fetch;
else
_fc = (FetchConfiguration) broker.getFetchConfiguration().clone();
_ignore = broker.getIgnoreChanges();
if (broker.getMultithreaded())
_lock = new ReentrantLock();
else
_lock = null;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
/**
* Constructor.
*
* @param broker the owning broker
* @param type the candidate class
* @param subs whether subclasses are included in the extent
*/
ExtentImpl(Broker broker, Class<T> type, boolean subs,
FetchConfiguration fetch) {
_broker = broker;
_type = type;
_subs = subs;
if (fetch != null)
_fc = fetch;
else
_fc = (FetchConfiguration) broker.getFetchConfiguration().clone();
_ignore = broker.getIgnoreChanges();
if (broker.getMultithreaded())
_lock = new ReentrantLock();
else
_lock = null;
}
内容来源于网络,如有侵权,请联系作者删除!