|
论坛管理员您好,我在创建第一个流程应用时,创建表单使用通用表单模板可保存,但创建第二个流程应用时,创建使用通用表单模板不可保存,提示出错
![](http://www.o2server.io:20020/x_file_assemble_control/jaxrs/file/8ffef2b0-6ebc-46ee-85d1-b943b95f0ca0/download/stream)
后台错误记录如下:
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Unique index or primary key violation: "PRIMARY_KEY_E8 ON PUBLIC.PP_E_FORM(XID) VALUES ('e0426b19-e5c7-47f4-9cb9-2a5fddca5823', 14)"; SQL statement:
INSERT INTO PP_E_FORM (xid, xcreateTime, xscratchBoolean, xscratchDate, xscratchInteger, xscratchString, xsequence, xupdateTime, xdistributeFactor, xalias, xapplication, xdata, xdescription, xhasMobile, xicon, xlastUpdatePerson, xlastUpdateTime, xmobileData, xname) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-197] {prepstmnt 1137278064
INSERT INTO PP_E_FORM (xid, xcreateTime, xscratchBoolean, xscratchDate,
xscratchInteger, xscratchString, xsequence, xupdateTime,
xdistributeFactor, xalias, xapplication, xdata, xdescription,
xhasMobile, xicon, xlastUpdatePerson, xlastUpdateTime,
xmobileData, xname)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
} [code=23505, state=23505]
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:219)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:195)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$1000(LoggingConnectionDecorator.java:58)
at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingPreparedStatement.executeUpdate(LoggingConnectionDecorator.java:1188)
at org.apache.openjpa.lib.jdbc.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:308)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager$CancelPreparedStatement.executeUpdate(JDBCStoreManager.java:1856)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.executeUpdate(PreparedStatementManagerImpl.java:271)
at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:121)
... 15 more
请求管理员解答疑问,感谢~ |
|