• 表没有主键


    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(
    用一个例子来演示会更加清晰
  • 相关阅读:
    JavaScript中的面向对象
    操作文件
    PDO 数据访问抽象层
    Jquery事件
    Jquery
    面向对象的五大基本原则是
    ioc依赖注入的原则
    java3
    java基础2
    java基础
  • 原文地址:https://www.cnblogs.com/hixiaowei/p/15406908.html
Copyright © 2020-2023  润新知