`
webdev2014
  • 浏览: 682823 次
文章分类
社区版块
存档分类
最新评论

identifier of an instance of com.jh.oa.bpm.model.JhBpmFormdata was altered from 266 to 267

 
阅读更多

今天又要给别人擦屁股了,哎。哈哈

以前的人也不知道是怎么写的,修改两次竟然出来了两条记录,哎,改了它。

在修改中遇到一个异常:

identifier of an instance of com.jh.oa.bpm.model.JhBpmFormdata was altered from 266 to 267

google了一下,也没找到原因。

然后又找原因,找来找去原来是它每次提交保存时都用的session.save()方法(添加和修改操作写到了一个方法中)。导致修改一次多出来一条记录,并出现这个异常。然后加上判断,如果是添加操作执行session.save()方法,如果是修改则执行session.update()方法,异常搞写,别人的屁股也擦干净了。哈哈

<script type="text/javascript"><!-- google_ad_client = "pub-0757178726455256"; google_ad_format = "js_sdo"; google_cts_mode ="rs"; google_num_cts = "2"; google_searchbox_width = 215; google_searchbox_height = 26; google_link_target = 2; google_logo_pos = "left"; google_rs_pos = "right"; google_ad_height = 35; google_ad_width = 760; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_sdo.js" type="text/javascript"></script>

<script type="text/javascript"><!-- google_ad_client = "pub-0757178726455256"; /* 728x90, 创建于 09-6-17 */ google_ad_slot = "1633515232"; google_ad_width = 728; google_ad_height = 90; // --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>

分享到:
评论

相关推荐

    PC-IDENTIFIER-09.01.00.00-01.17.00.15

    KB2558 Desigo CC 2.1 SR1, ABT-Pro, XWP: Lease time of S7DOS expired at 31.12.2015 https://support.industry.siemens.com/cs/us/en/view/109482349

    PC-IDENTIFIER-09.03.03.00-01.04.00.03

    PC_IDENTIFIER_09.03.03.00_01.04.00.03.zip (140,6 MB)(SHA-256) Installing future versions of S7--PLCSIM Advanced (e.g. V5.0) will also correct this behavior. 官方链接(需要进口软件许可): ...

    The Digital Object Identifier initiative: metadata implications

    The Digital Object Identifier initiative: metadata implications Context/status information The purpose of this document is to generate a DOI Foundation consensus paper on metadata, as a companion ...

    PC-IDENTIFIER-09.03.03.00-01.04.00.03安装包-链接地址.txt

    PC_IDENTIFIER_09.03.03.00_01.04.00.03安装包_链接地址

    ATM Signalling PROTOCOLS AND PRACTICE

    3.10 The Structure of a UN1 Protocol Instance ................... 94 4 ATM Addresses ................................... 99 4.1 The semantics of Addresses ........................... 99 4.2 ...

    Principles of Distributed Database Systems

    1.7.9 Peer-to-Peer Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 1.7.10 Multidatabase System Architecture . . . . . . . . . . . . . . . . . . . . . 35 xi xii Contents ...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object....

    hibernate3.6 文档(pdf 格式)

    1.2.4. Collection of values ................................................................................ 17 1.2.5. Bi-directional associations ........................................................

    park an autonomous vehicle

    1. A practical approach to motion generation and control for an omnidirectional mobile robot Paromtchik, I.E.; Rembold, U. Robotics and Automation, 1994. Proceedings., 1994 IEEE International ...

    LTE from A to Z

    1.2.3.4.3 SFN for point to point services..............................................25 1.2.3.5 The Frequency Bands Intended for LTE.......................................26 1.2.3.5.1 Exclusive ...

    LTE from A to Z (part1 of 3)

    1.2.3.4.3 SFN for point to point services..............................................25 1.2.3.5 The Frequency Bands Intended for LTE.......................................26 1.2.3.5.1 Exclusive ...

    [Go语言入门(含源码)] The Way to Go (with source code)

    The Way to Go,: A Thorough Introduction to the Go Programming Language 英文书籍,已Cross the wall,从Google获得书中源代码,分享一下。喜欢请购买正版。 目录如下: Contents Preface......................

    CPU-Identifier, 检查你的A9芯片制造商.zip

    CPU-Identifier, 检查你的A9芯片制造商 CPU标识符这个小应用程序可以检测你的iPhone的CPU芯片组。 对于 iPhone/6s,它还可以检测到A9芯片的制造商。编译的( 签名) 二进制文件将把芯片模型。设备模型和一个惟一 id ( ...

    The way to go

    2.4 Installing Go on an OS X system.............................................................................21 2.5 Installing Go on a Windows system..................................................

    Introduction to ISO 9660

    Introduction to ISO 9660 &lt;br&gt;Introduction to ISO 9660.........................................................................1 Background...........................................................

    高性能消息传输机制Aeron.zip

    identifying a flow of data and the addressing model of the media. For Aeron, this is called a Channel. For different transmission media, the channel is defined differently. In general, a URI is ...

    LTE from A-Z 培训教材 (part2 of 3)

    1.2.3.4.3 SFN for point to point services..............................................25 1.2.3.5 The Frequency Bands Intended for LTE.......................................26 1.2.3.5.1 Exclusive ...

    VclZip pro v3.10.1

    If you currently work with VCLZip 2.X with TBlobStreams or some other type of streams, you can either define your own TkpBlobStream for instance which inherits from TkpHugeStream, or use the ...

    80486 System Architecture [3rd Edition] [1995]

    Organization of This Book.......................................................................................................2 Who Should Read This Book ...............................................

Global site tag (gtag.js) - Google Analytics