title: Assigning NULL value to the persistent column
body: <p>I am new to JPA so pardon if my question seems to be trivial.</p>
  
  <p>I have an entity named customer </p>
  
  <pre><code>@Entity("CUSTOMER_DETAILS")
  public class Customer {
  
      @Id
      @Column(name = "customer_id")
      private String customerId = null;    
  
      @Column(name = "name")
      private String name = null;
  
      @Column(name = "Id")
      private String Id = null;
  
      @Transient
      private List&lt;Coupons&gt; coupons;
  }
  </code></pre>
  
  <p>One of my seniors was stating that setting the persistence columns to null is a bad practice. Kindly clarify </p>