title: android sql insert represent object to_date('30/03/2012','DD/MM/YYYY')
body: <p>I try to execute 
        INSERT INTO <code>City</code> VALUES (2,'Qandahar','AFG','Qandahar',237500,to_date('30/03/2012','DD/MM/YYYY'));</p>
  
  <p>For that i have class</p>
  
  <pre><code>package com.airliquid.android.backend.donnee.domainobject;
  
  import java.sql.Date;
  
   import com.j256.ormlite.field.DatabaseField;
  import com.j256.ormlite.table.DatabaseTable;
   @DatabaseTable(tableName = "City")
   public class UserDo {
   @DatabaseField(generatedId=true,unique=true)
   private Long id;
   @DatabaseField(columnName="Name")
   private String Name;
   @DatabaseField(columnName="CountryCode")
   private String CountryCode;
   @DatabaseField(columnName="District")
   private String District;
   @DatabaseField(columnName="Population")
   private Long Population;
  
   @DatabaseField(columnName="date")
   private Date date;
  
  }
  </code></pre>
  
  <p>When i execute without to_date('30/03/2012','DD/MM/YYYY') it's work, what object in android is to_date('30/03/2012','DD/MM/YYYY') ?</p>