Caused by: javax.persistence.PersistenceException: Illegal argument
at org.datanucleus.jpa.NucleusJPAHelper.getJPAExceptionForNucleusException(NucleusJPAHelper.java:260)
at org.datanucleus.jpa.EntityTransactionImpl.commit(EntityTransactionImpl.java:122)
at org.datanucleus.store.appengine.jpa.DatastoreEntityTransactionImpl.commit(DatastoreEntityTransactionImpl.java:55)
at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:456)
... 86 more
Caused by: java.lang.IllegalArgumentException: can't operate on multiple entity groups in a single transaction. found both Element {
type: "Options"
id: 36
}
and Element {
type: "Options"
id: 37
}
因为GAE只支持一个事务操作一个实体.
这里讲到了很多GAE开发中的注意点,值得参考:http://www.cnblogs.com/senzjx/archive/2009/09/20/1570669.html
分享到:
相关推荐
(c) the number of relationships of that relationship type in which an entity can participate (d) the minimum number of entities that can participate in that relationship type Correct answer is (c...
Abstract—Based on demands in proxy pattern, this article proposes informatization solution of proxy pattern which includes enterprise management, proxy management, franchisee management and supply ...
You can use a combination of a script and tool to create a single file from multiple files. Sum Column/Selection in Column Mode This power tip demonstrates how to calculate the sum from a column of ...
To meet the modern operation microcontroller and digital signal processor we ... And one more advantage in this 4 UART can operate parallel i.e. more devices can able to communicate with the pc randomly
A program that operate on graph
In gen- eral, an MG can operate in two modes, i.e., the grid-connected and islanded mode. Recently, in order to standardize its operation and functionality, hierarchical con- trol for islanded MG ...
However, just because you can’t see it doesn’t make it any less important. In the modern day, we face threats from cybercrime, terrorists, and our own government snooping on its citizens. Because ...
More complex inline functions may also be put in a .h file for the convenience of the implementer and callers, though if this makes the .h file too unwieldy you can instead put that code in a ...
Multiple sources can transmit over a single channel. Original data streams must be reconstructed at the destination. TDM methods vary depending on the Layer 2 protocol that is used. It allows...
Use Editor Refactoring’s to refactor an entity at cursor position or operate on selected code. For example press Ctrl+Shift+X to invoke Extract Method for the selected code. Configurable keyboard ...
Today, for almost all the sectors in the world, cloud computing is synonym to on-demand provisioning and delivery of IT services in a pay-as-you-go model. The success story of cloud computing as a ...
Each test requires a Test Environment to be defined in which the UE has to operate to defined standards, constraints and performance. The overall task can be simplified if there are a number of well ...
more than one operator can operate on an operand (because the operators are positioned next to the operand, one on either side), this operand is first processed by the operator of the higher ...
want a more in-depth fundamental look at how wireless networks operate and all of the fun, new toys (I mean wireless devices) that you can use to implement them, then watch for the new CCNA wireless...
EFQRCode 是一个用 Swift 编写的用来生成和识别二维码的库,它基于系统二维码生成与识别进行开发。 - 生成:利用输入的水印图/图标等资源生成各种艺术二维码; - 识别:识别率比 iOS 原生二维码识别率更高。
while the BS‟ processing power can‟t be shared with other BSs. Isolated BSs prove costly and difficult to improve spectrum capacity. Lastly, a proprietary platform means mobile operators must ...
Hyper-V is essentially a hypervisor technology, enabling a single physical machine to operate multiple operating systems simultaneously. Mastering Hyper-V is a practical, hands-on guide that will ...
The remote computer can be anywhere on the Internet or in your local network. You don't need a fast network connection. Even with a MODEM the screen update speed is an acceptable 5-10 screen updates...
It can be used as a self-study reference and covered from start to finish by someone interested in all the details on the TCP/IP protocol suite. Readers with some TCP/IP background might want to skip...
Use Editor Refactoring抯 to refactor an entity at cursor position or operate on selected code. For example press Ctrl Shift X to invoke Extract Method for the selected code. Configurable keyboard ...