Revision 1747
Added by Jing Tao over 21 years ago
src/edu/ucsb/nceas/dbadapter/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 |
} |
|
102 |
|
|
109 | 103 |
|
110 | 104 |
} |
111 | 105 |
|
Also available in: Unified diff
Get rid of toDate method. It inherentise from AbstractAdaptor.