`

can't operate on multiple entity groups in a single transaction.

阅读更多
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

分享到:
评论

相关推荐

    SSD7 选择题。Multiple-Choice

    (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...

    Proxy Pattern Informatization Research Based On SaaS

    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 ...

    UE(官方下载)

    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 ...

    Design and Simulation of Multi Channel UART for Serial Communication

    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

    A program that operate on graph

    Distributed Control and Optimization Technologies in Smart Grid Systems-CRC2018

    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 ...

    Cryptography in .NET Succinctly(SyncFusion,2015)

    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 ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    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 ...

    CCNA 第四期 4-2答案

    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...

    MMX_Setup_15_0_20_2385.zip

    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 ...

    Research Advances in Cloud Computing-Springer(2017).pdf

    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 ...

    3gpp ts 34.108 v8.6.0

    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 ...

    c#primer plus附录

    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 ...

    cisco_router_performance_field_guide.zip

    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...

    ios-EFQRCode - A better way to operate two-dimensional code in Swift..zip

    EFQRCode 是一个用 Swift 编写的用来生成和识别二维码的库,它基于系统二维码生成与识别进行开发。 - 生成:利用输入的水印图/图标等资源生成各种艺术二维码; - 识别:识别率比 iOS 原生二维码识别率更高。

    中移动c-ran白皮书 C-RAN The Road Towards Green RAN White Paper (v3.0)

    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 ...

    Mastering Hyper-V(PACKT,2015)

    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 ...

    ramin 2.2 for xp

    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...

    TCP IP Illustrated, Vol 1 The Protocols 2nd.pdf

    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...

    ModelMaker.Code.Explorer.v8.0.0.1877.part2

    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 ...

Global site tag (gtag.js) - Google Analytics