Skip to content

Not able to ignore fields while updating entity. #227

Closed
@shubhtrino

Description

@shubhtrino

Below I have a simple entity code
Where I don't want createdDateTime to get updated to null when I am not passing it in parameters.

as of now .save() method saving null value in createdDateTime.

public class Test{

  private String name;
  private String desc;

  @Transient // not working
  @column(updatable=false) //not working
  private LocalDateTime createdDateTime;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions