Is there any Spring Annotation to Set Default value for a Field (Mongo)?
No need for spring annotations, this should do the trick:
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
@Document
public class Doc {
@Field
private String field = "CustomDefaultValue";
}