Project

General

Profile

« Previous | Next » 

Revision 1745

Added by Jing Tao over 20 years ago

Add new method to handle toDate function.

View differences:

PostgresqlAdapter.java
100 100
    return "\"";
101 101
  }
102 102
  
103
 /**
104
  * Postgresql support the to_date function, so we use it
105
  */
106
  public String toDate(String dateString, String format)
107
  {
108
    return "to_date(" + "'"+ dateString + "', '" + format + "')";
109
  }
110
  
103 111
}
104 112
    

Also available in: Unified diff