title: Insert default entity from enum
body: <p>I want to insert a default value to the <code>status</code> column in my table when a new record gets created. Here is my Entity class column definition.</p>
  <p>Cost.java</p>
  <pre><code>@Column(nullable=false)
  private FinanceStatusEnum status = FinanceStatusEnum.Inputter;
  </code></pre>
  <p>And this is my DTO definition.</p>
  <p>CostDTO.java</p>
  <pre><code>@JsonProperty(&quot;status&quot;)
  private FinanceStatusEnum status;
  </code></pre>
  <p>I'm still getting <code>Column 'status' cannot be null</code> error while performing the insert. What's going wrong?</p>