01: package org.apache.lucene.store.jdbc.dialect;
02:
03: /**
04: * An Oracle diaclet. Works with Oracle version 8.
05: *
06: * @author kimchy
07: * @author jbloggs
08: */
09: public class Oracle8Dialect extends Oracle9Dialect {
10:
11: public String getCurrentTimestampSelectString() {
12: return "select sysdate from dual";
13: }
14:
15: public String getCurrentTimestampFunction() {
16: return "sysdate";
17: }
18:
19: public String getVarcharType(int length) {
20: return "varchar2(" + length + ")";
21: }
22:
23: public String getTimestampType() {
24: return "date";
25: }
26:
27: }
|