本文整理了Java中org.apache.openjpa.kernel.Broker.attachAll()
方法的一些代码示例,展示了Broker.attachAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Broker.attachAll()
方法的具体详情如下:
包路径:org.apache.openjpa.kernel.Broker
类名称:Broker
方法名:attachAll
[英]Import the specified objects into the broker. Instances that were previously detached from this or another broker will have their changed merged into the persistent instances. Instances that are new will be persisted as new instances.
[中]将指定的对象导入代理。以前从该代理或其他代理分离的实例将其更改合并到持久实例中。新实例将作为新实例持久化。
代码示例来源:origin: org.apache.openejb.patch/openjpa-kernel
public Object[] attachAll(Collection objs, boolean copyNew,
OpCallbacks call) {
try {
return _broker.attachAll(objs, copyNew, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
public Object[] attachAll(Collection objs, boolean copyNew,
OpCallbacks call) {
try {
return _broker.attachAll(objs, copyNew, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
public Object[] attachAll(Collection objs, boolean copyNew,
OpCallbacks call) {
try {
return _broker.attachAll(objs, copyNew, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/openjpa-kernel
public Object[] attachAll(Collection objs, boolean copyNew,
OpCallbacks call) {
try {
return _broker.attachAll(objs, copyNew, call);
} catch (RuntimeException re) {
throw translate(re, objs);
}
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
public Object[] attachAll(Collection objs, boolean copyNew,
OpCallbacks call) {
try {
return _broker.attachAll(objs, copyNew, call);
} catch (RuntimeException re) {
throw translate(re);
}
}
内容来源于网络,如有侵权,请联系作者删除!