查看: 2931|回复: 1

流程应用创建表单出错

升级   10%

1

主题

0

回帖

5

积分

新手上路

Rank: 1

积分
5
发表于 2019-5-28 17:06:11 | 显示全部楼层 |阅读模式
论坛管理员您好,我在创建第一个流程应用时,创建表单使用通用表单模板可保存,但创建第二个流程应用时,创建使用通用表单模板不可保存,提示出错

后台错误记录如下:
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

请求管理员解答疑问,感谢~
回复

使用道具 举报

升级   100%

138

主题

1万

回帖

3万

积分

超级版主

Rank: 8Rank: 8

积分
38059
发表于 2019-6-3 11:12:59 | 显示全部楼层
好恐怖的错误。
你新建一个空白表单,然后随便写点东西,或者拖拽点设计元素上去,然后保存。看看是否还报这个错误。
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系客服 关注微信 下载APP 返回顶部 返回列表
viewthread