Skip to content

Java 16's records support - field access methods and constructors #1100

@hajdamak

Description

@hajdamak

When saving Java 16's record in repository field access methods do not seem to be accessed. Is this caused by lack of support for default record's field access methods (and Spring Data JDBC accesses fields directly) or intentional behavior?
What is more strange is that record's default constructor is not called once during save but twice. Is there a reason for that.

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