Skip to content

4.3.0 updateSetColumnsIgnoreVersion.updateSetColumnsIgnoreVersion()为什么要加id=id? #945

Open

Description

@philjing

这根本不合理

Activity

  1. abel533 commented on Dec 11, 2025

    @abel533
    Owner

    是不合理。最早为了解决update table set (没有设置任何字段) where id = ? 报错问题。

    后来发现如 sqlserver 这种设置 set id = ? 会报错,需要在列注解指定 updateable = false。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions