You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
Hi,
I have gone through #140
but it is still unclear.
If I don't pass any value in input there should be a way so that the .save() method will not update it to null in DB.
For instance createdDate this filed I don't want to get updated in DB as well as I don't have this field available as input.
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.
The text was updated successfully, but these errors were encountered: