I have an attribute
private boolean include;
I would like to set its default value to true, so that in the database it must display True from d
You can always use annotations @PreUpdate or @PrePersist on method where you will setup what should be done before update or before save into DB.
@PreUpdate
@PrePersist
Or just simply setup the value private boolean include = true;
private boolean include = true;