title: Hibernate, one UserType with different number of columns
body: <p>I have class</p>
  
  <p><code>class DateOptTimeType implements org.hibernate.usertype.UserType</code></p>
  
  <p>that works with two columns </p>
  
  <pre><code>@org.hibernate.annotations.Type(type = "com.mmyPack.DateOptTimeType")
  @org.hibernate.annotations.Columns(columns = {
                   @javax.persistence.Column(name = "DATE1"),
                   @javax.persistence.Column(name = "FLAG")
                                     }) protected DateOptTime dateOfDeath;
  </code></pre>
  
  <p>Can i do, that class will work with 1 column too (with 1 column and with two columns), like </p>
  
  <pre><code>                    @javax.persistence.Column(name = "DATE1"),
                      protected DateOptTime dateOfDeath;
  </code></pre>