zoukankan      html  css  js  c++  java
  • 表没有主键

    Store delete error
    org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [UPDATE kx_kq_channelinventorydetail
    SET platstatus = ?, platupdateop = ?, platupdatetime  = ?
    WHERE (id = ? AND platstatus = 1)]; SQL state [55000]; error code [0]; ERROR: cannot update table "kx_kq_channelinventorydetail" because it does not have a replica identity and publishes updates
      Hint: To enable updating the table, set REPLICA IDENTITY using ALTER TABLE.; nested exception is org.postgresql.util.PSQLException: ERROR: cannot update table "kx_kq_channelinventorydetail" because it does not have a replica identity and publishes updates
      Hint: To enable updating the table, set REPLICA IDENTITY using ALTER TABLE.
            at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(
    用一个例子来演示会更加清晰
  • 相关阅读:
    自定义指令
    freemarker 数据类型
    hibernate简单的增删改查
    hibernate增删改查
    Hibernate HQL查询语句总结
    Hibernate配置详细解释
    Filter过滤器
    日志统计
    分页-模糊查询
    分页
  • 原文地址:https://www.cnblogs.com/hixiaowei/p/15406908.html
Copyright © 2011-2022 走看看