Revision 1745
Added by Jing Tao over 20 years ago
OracleAdapter.java | ||
---|---|---|
99 | 99 |
return "'"; |
100 | 100 |
} |
101 | 101 |
|
102 |
/** |
|
103 |
* Oracle support the to_date function, so we use it |
|
104 |
*/ |
|
105 |
public String toDate(String dateString, String format) |
|
106 |
{ |
|
107 |
return "to_date(" + "'"+ dateString + "', '" + format + "')"; |
|
108 |
} |
|
109 |
|
|
102 | 110 |
} |
103 | 111 |
|
Also available in: Unified diff
Add new method to handle toDate function.