Skip to content

Default JDBC repository interface should contain findIdForUpdate #3507

@mikehearn

Description

@mikehearn

Feature description

Correct use of concurrency in an RDBMS often requires the use of SELECT ... FOR UPDATE but Micronaut makes doing the right thing less convenient than it should be. The default set of methods in CrudRepository should expose a method that locks the row.

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