117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpepackage SQLite.JDBC2z;
2417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
3417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughesimport java.sql.*;
4417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughesimport java.math.BigDecimal;
5417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughesimport java.util.*;
6417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
7417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughesclass BatchArg {
8417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    String arg;
9417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    boolean blob;
10417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
11417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    BatchArg(String arg, boolean blob) {
127a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (arg == null) {
137a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    this.arg = null;
147a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
157a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    this.arg = new String(arg);
167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
177a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	this.blob = blob;
18417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
19417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes}
20417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
21417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughespublic class JDBCPreparedStatement extends JDBCStatement
22417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    implements java.sql.PreparedStatement {
23417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
24417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private String sql;
25417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private String args[];
26417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private boolean blobs[];
27417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private ArrayList<BatchArg> batch;
28417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private static final boolean nullrepl =
297a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	SQLite.Database.version().compareTo("2.5.0") < 0;
30417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
31417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public JDBCPreparedStatement(JDBCConnection conn, String sql) {
327a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	super(conn);
337a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	this.args = null;
347a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	this.blobs = null;
357a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	this.batch = null;
367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	this.sql = fixup(sql);
37417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
38417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
39417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private String fixup(String sql) {
407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	StringBuffer sb = new StringBuffer();
417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	boolean inq = false;
427a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	int nparm = 0;
437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < sql.length(); i++) {
447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    char c = sql.charAt(i);
457a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (c == '\'') {
467a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (inq) {
47417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    char nextChar = 0;
48417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    if(i + 1 < sql.length()) {
49417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                        nextChar = sql.charAt(i + 1);
50417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    }
517a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    if (nextChar == '\'') {
52417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                        sb.append(c);
53417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                        sb.append(nextChar);
54417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                        i++;
55417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    } else {
567a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			inq = false;
57417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                        sb.append(c);
58417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    }
597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		} else {
607a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    inq = true;
61417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes                    sb.append(c);
627a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
637a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else if (c == '?') {
647a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (inq) {
657a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    sb.append(c);
667a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		} else {
677a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    ++nparm;
687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    sb.append(nullrepl ? "'%q'" : "%Q");
697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
707a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else if (c == ';') {
717a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (!inq) {
727a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    break;
737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		sb.append(c);
757a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else if (c == '%') {
767a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		sb.append("%%");
777a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		sb.append(c);
797a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
807a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
817a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args = new String[nparm];
827a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs = new boolean[nparm];
837a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	try {
847a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    clearParameters();
857a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} catch (SQLException e) {
867a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
877a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return sb.toString();
88417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
89417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
90417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    private String fixup2(String sql) {
917a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (!conn.db.is3()) {
927a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    return sql;
937a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
947a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	StringBuffer sb = new StringBuffer();
957a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	int parm = -1;
967a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < sql.length(); i++) {
977a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    char c = sql.charAt(i);
987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (c == '%') {
997a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		sb.append(c);
1007a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		++i;
1017a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		c = sql.charAt(i);
1027a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (c == 'Q') {
1037a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    parm++;
1047a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    if (blobs[parm]) {
1057a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			c = 's';
1067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    }
1077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
1087a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
1097a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    sb.append(c);
1107a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1117a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return sb.toString();
112417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
113417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
114417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public ResultSet executeQuery() throws SQLException {
1157a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return executeQuery(fixup2(sql), args, false);
116417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
117417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
118417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public int executeUpdate() throws SQLException {
1197a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	executeQuery(fixup2(sql), args, true);
1207a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return updcnt;
121417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
122417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
123417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setNull(int parameterIndex, int sqlType) throws SQLException {
1247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1257a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1267a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1277a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = nullrepl ? "" : null;
1287a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
129417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
130417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
131417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBoolean(int parameterIndex, boolean x)
1327a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
1337a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1347a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1357a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = x ? "1" : "0";
1377a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
138417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
139417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
140417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setByte(int parameterIndex, byte x) throws SQLException {
1417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1427a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1457a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
146417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
147417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
148417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setShort(int parameterIndex, short x) throws SQLException {
1497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1507a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1517a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1527a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
154417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
155417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
156417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setInt(int parameterIndex, int x) throws SQLException {
1577a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1587a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1607a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1617a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
162417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
163417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
164417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setLong(int parameterIndex, long x) throws SQLException {
1657a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1667a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1677a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
170417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
171417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
172417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setFloat(int parameterIndex, float x) throws SQLException {
1737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1757a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1767a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1777a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
178417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
179417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
180417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDouble(int parameterIndex, double x) throws SQLException {
1817a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1827a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1837a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1847a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	args[parameterIndex - 1] = "" + x;
1857a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
186417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
187417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
188417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBigDecimal(int parameterIndex, BigDecimal x)
1897a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
1907a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
1917a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
1927a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1937a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
1947a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
1957a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
1967a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = "" + x;
1977a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
1987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
199417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
200417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
201417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setString(int parameterIndex, String x) throws SQLException {
2027a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
2037a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
2047a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2057a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
2067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
2077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
2087a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = x;
2097a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2107a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
211417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
212417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
213417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBytes(int parameterIndex, byte x[]) throws SQLException {
2147a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
2157a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
2167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2177a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
2187a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
2197a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
2207a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
2217a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (conn.db.is3()) {
2227a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = SQLite.StringEncoder.encodeX(x);
2237a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		blobs[parameterIndex - 1] = true;
2247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
2257a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = SQLite.StringEncoder.encode(x);
2267a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
2277a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
228417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
229417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
230417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDate(int parameterIndex, java.sql.Date x)
2317a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
2327a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
2337a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
2347a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2357a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
2367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
2377a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
2387a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (conn.useJulian) {
2397a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = java.lang.Double.toString(SQLite.Database.julian_from_long(x.getTime()));
2407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
2417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
2427a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
2437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
245417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
246417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
247417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTime(int parameterIndex, java.sql.Time x)
2487a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
2497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
2507a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
2517a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2527a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
2537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
2547a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
2557a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (conn.useJulian) {
2567a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = java.lang.Double.toString(SQLite.Database.julian_from_long(x.getTime()));
2577a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
2587a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
2597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
2607a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2617a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
262417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
263417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
264417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTimestamp(int parameterIndex, java.sql.Timestamp x)
2657a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
2667a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
2677a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
2687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
2707a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
2717a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
2727a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (conn.useJulian) {
2737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = java.lang.Double.toString(SQLite.Database.julian_from_long(x.getTime()));
2747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
2757a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
2767a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
2777a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
2787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
279417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
280417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
281417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setAsciiStream(int parameterIndex, java.io.InputStream x,
2827a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			       int length) throws SQLException {
2837a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
284417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
285417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
286417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    @Deprecated
287417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setUnicodeStream(int parameterIndex, java.io.InputStream x,
2887a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				 int length) throws SQLException {
28917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
290417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
291417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
292417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBinaryStream(int parameterIndex, java.io.InputStream x,
2937a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				int length) throws SQLException {
2947a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	try {
2957a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    byte[] data = new byte[length];
2967a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    x.read(data, 0, length);
2977a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    setBytes(parameterIndex, data);
2987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} catch (java.io.IOException e) {
2997a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("I/O failed");
3007a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
301417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
302417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
303417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void clearParameters() throws SQLException {
3047a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < args.length; i++) {
3057a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[i] = nullrepl ? "" : null;
3067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    blobs[i] = false;
3077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
308417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
309417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
310417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(int parameterIndex, Object x, int targetSqlType,
3117a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			  int scale) throws SQLException {
3127a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
3137a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
3147a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3157a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
3167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
3177a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
3187a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (x instanceof byte[]) {
3197a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		byte[] bx = (byte[]) x;
3207a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (conn.db.is3()) {
3217a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    args[parameterIndex - 1] =
3227a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			  SQLite.StringEncoder.encodeX(bx);
3237a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    blobs[parameterIndex - 1] = true;
3247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    return;
3257a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
3267a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = SQLite.StringEncoder.encode(bx);
3277a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
3287a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
3297a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
3307a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3317a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
332417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
333417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
334417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(int parameterIndex, Object x, int targetSqlType)
3357a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
3367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
3377a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
3387a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3397a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
3407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
3417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
3427a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (x instanceof byte[]) {
3437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		byte[] bx = (byte[]) x;
3447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (conn.db.is3()) {
3457a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    args[parameterIndex - 1] =
3467a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			SQLite.StringEncoder.encodeX(bx);
3477a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    blobs[parameterIndex - 1] = true;
3487a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    return;
3497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
3507a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = SQLite.StringEncoder.encode(bx);
3517a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
3527a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
3537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
3547a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3557a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
356417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
357417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
358417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(int parameterIndex, Object x) throws SQLException {
3597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (parameterIndex < 1 || parameterIndex > args.length) {
3607a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("bad parameter index");
3617a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3627a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (x == null) {
3637a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    args[parameterIndex - 1] = nullrepl ? "" : null;
3647a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} else {
3657a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    if (x instanceof byte[]) {
3667a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		byte[] bx = (byte[]) x;
3677a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		if (conn.db.is3()) {
3687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    args[parameterIndex - 1] =
3697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			SQLite.StringEncoder.encodeX(bx);
3707a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    blobs[parameterIndex - 1] = true;
3717a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		    return;
3727a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		}
3737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = SQLite.StringEncoder.encode(bx);
3747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } else {
3757a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[parameterIndex - 1] = x.toString();
3767a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
3777a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	blobs[parameterIndex - 1] = false;
379417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
380417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
381417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public boolean execute() throws SQLException {
3827a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return executeQuery(fixup2(sql), args, false) != null;
383417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
384417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
385417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void addBatch() throws SQLException {
3867a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (batch == null) {
3877a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    batch = new ArrayList<BatchArg>(args.length);
3887a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3897a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < args.length; i++) {
3907a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    batch.add(new BatchArg(args[i], blobs[i]));
3917a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
392417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
393417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
394417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public int[] executeBatch() throws SQLException {
3957a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (batch == null) {
3967a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    return new int[0];
3977a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
3987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	int[] ret = new int[batch.size() / args.length];
3997a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < ret.length; i++) {
4007a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    ret[i] = EXECUTE_FAILED;
4017a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
4027a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	int errs = 0;
4037a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	int index = 0;
4047a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	for (int i = 0; i < ret.length; i++) {
4057a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    for (int k = 0; k < args.length; k++) {
4067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		BatchArg b = (BatchArg) batch.get(index++);
4077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes
4087a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		args[k] = b.arg;
4097a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		blobs[k] = b.blob;
4107a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
4117a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    try {
4127a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		ret[i] = executeUpdate();
4137a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    } catch (SQLException e) {
4147a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes		++errs;
4157a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    }
4167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
4177a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (errs > 0) {
4187a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new BatchUpdateException("batch failed", ret);
4197a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
4207a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return ret;
421417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
422417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
423417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void clearBatch() throws SQLException {
4247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	if (batch != null) {
4257a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    batch.clear();
4267a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    batch = null;
4277a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
428417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
4297a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes
4307a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes    public void close() throws SQLException {
4317a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes    	clearBatch();
4327a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	super.close();
433417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
434417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
435417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setCharacterStream(int parameterIndex,
4367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				   java.io.Reader reader,
4377a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				   int length) throws SQLException {
4387a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	try {
4397a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    char[] data = new char[length];
4407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    reader.read(data);
4417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    setString(parameterIndex, new String(data));
4427a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	} catch (java.io.IOException e) {
4437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	    throw new SQLException("I/O failed");
4447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	}
445417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
446417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
447417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setRef(int i, Ref x) throws SQLException {
44817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
449417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
450417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
451417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBlob(int i, Blob x) throws SQLException {
45217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
453417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
454417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
455417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setClob(int i, Clob x) throws SQLException {
45617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
457417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
458417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
459417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setArray(int i, Array x) throws SQLException {
46017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
461417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
462417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
463417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public ResultSetMetaData getMetaData() throws SQLException {
4647a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	return rs.getMetaData();
465417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
466417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
467417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDate(int parameterIndex, java.sql.Date x, Calendar cal)
4687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
4697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	setDate(parameterIndex, x);
470417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
471417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
472417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTime(int parameterIndex, java.sql.Time x, Calendar cal)
4737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
4747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	setTime(parameterIndex, x);
475417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
476417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
477417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTimestamp(int parameterIndex, java.sql.Timestamp x,
4787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			     Calendar cal) throws SQLException {
4797a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	setTimestamp(parameterIndex, x);
480417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
481417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
482417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setNull(int parameterIndex, int sqlType, String typeName)
4837a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
4847a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	setNull(parameterIndex, sqlType);
485417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
486417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
487417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public ParameterMetaData getParameterMetaData() throws SQLException {
4887a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
489417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
490417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
491417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void registerOutputParameter(String parameterName, int sqlType)
4927a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
4937a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
494417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
495417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
496417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void registerOutputParameter(String parameterName, int sqlType,
4977a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes					int scale)
4987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
4997a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
500417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
501417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
502417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void registerOutputParameter(String parameterName, int sqlType,
5037a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes					String typeName)
5047a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5057a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
506417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
507417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
508417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.net.URL getURL(int parameterIndex) throws SQLException {
5097a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
510417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
511417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
512417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setURL(int parameterIndex, java.net.URL url)
5137a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5147a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
515417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
516417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
517417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setNull(String parameterName, int sqlType)
5187a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5197a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
520417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
521417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
522417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBoolean(String parameterName, boolean val)
5237a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
525417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
526417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
527417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setByte(String parameterName, byte val)
5287a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5297a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
530417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
531417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
532417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setShort(String parameterName, short val)
5337a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5347a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
535417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
536417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
537417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setInt(String parameterName, int val)
5387a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5397a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
540417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
541417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
542417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setLong(String parameterName, long val)
5437a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
545417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
546417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
547417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setFloat(String parameterName, float val)
5487a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
550417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
551417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
552417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDouble(String parameterName, double val)
5537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5547a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
555417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
556417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
557417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBigDecimal(String parameterName, BigDecimal val)
5587a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
560417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
561417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
562417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setString(String parameterName, String val)
5637a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5647a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
565417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
566417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
567417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBytes(String parameterName, byte val[])
5687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
570417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
571417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
572417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDate(String parameterName, java.sql.Date val)
5737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
575417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
576417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
577417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTime(String parameterName, java.sql.Time val)
5787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5797a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
580417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
581417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
582417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTimestamp(String parameterName, java.sql.Timestamp val)
5837a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5847a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
585417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
586417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
587417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setAsciiStream(String parameterName,
5887a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			       java.io.InputStream s, int length)
5897a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5907a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
591417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
592417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
593417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setBinaryStream(String parameterName,
5947a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				java.io.InputStream s, int length)
5957a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
5967a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
597417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
598417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
599417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(String parameterName, Object val, int targetSqlType,
6007a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			  int scale)
6017a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6027a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
603417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
604417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
605417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(String parameterName, Object val, int targetSqlType)
6067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
608417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
609417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
610417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setObject(String parameterName, Object val)
6117a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6127a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
613417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
614417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
615417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setCharacterStream(String parameterName,
6167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes				   java.io.Reader r, int length)
6177a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6187a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
619417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
620417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
621417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setDate(String parameterName, java.sql.Date val,
6227a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			Calendar cal)
6237a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
625417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
626417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
627417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTime(String parameterName, java.sql.Time val,
6287a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			Calendar cal)
6297a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6307a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
631417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
632417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
633417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setTimestamp(String parameterName, java.sql.Timestamp val,
6347a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes			     Calendar cal)
6357a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
637417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
638417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
639417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public void setNull(String parameterName, int sqlType, String typeName)
6407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6417a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
642417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
643417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
644417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public String getString(String parameterName) throws SQLException {
6457a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
646417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
647417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
648417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public boolean getBoolean(String parameterName) throws SQLException {
6497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
650417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
651417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
652417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public byte getByte(String parameterName) throws SQLException {
6537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
654417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
655417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
656417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public short getShort(String parameterName) throws SQLException {
6577a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
658417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
659417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
660417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public int getInt(String parameterName) throws SQLException {
6617a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
662417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
663417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
664417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public long getLong(String parameterName) throws SQLException {
6657a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
666417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
667417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
668417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public float getFloat(String parameterName) throws SQLException {
6697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
670417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
671417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
672417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public double getDouble(String parameterName) throws SQLException {
6737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
674417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
675417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
676417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public byte[] getBytes(String parameterName) throws SQLException {
6777a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
678417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
679417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
680417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Date getDate(String parameterName) throws SQLException {
6817a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
682417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
683417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
684417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Time getTime(String parameterName) throws SQLException {
6857a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
686417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
687417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
688417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Timestamp getTimestamp(String parameterName)
6897a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
6907a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
691417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
692417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
693417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Object getObject(String parameterName) throws SQLException {
6947a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
695417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
696417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
697417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Object getObject(int parameterIndex) throws SQLException {
6987a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
699417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
700417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
701417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public BigDecimal getBigDecimal(String parameterName) throws SQLException {
7027a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
703417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
704417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
705417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Object getObject(String parameterName, Map map)
7067a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7077a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
708417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
709417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
710417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Object getObject(int parameterIndex, Map map)
7117a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7127a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
713417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
714417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
715417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Ref getRef(int parameterIndex) throws SQLException {
7167a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
717417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
718417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
719417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Ref getRef(String parameterName) throws SQLException {
7207a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
721417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
722417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
723417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Blob getBlob(String parameterName) throws SQLException {
7247a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
725417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
726417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
727417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Blob getBlob(int parameterIndex) throws SQLException {
7287a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
729417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
730417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
731417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Clob getClob(String parameterName) throws SQLException {
7327a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
733417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
734417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
735417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Clob getClob(int parameterIndex) throws SQLException {
7367a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
737417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
738417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
739417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Array getArray(String parameterName) throws SQLException {
7407a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
741417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
742417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
743417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public Array getArray(int parameterIndex) throws SQLException {
7447a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
745417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
746417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
747417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Date getDate(String parameterName, Calendar cal)
7487a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7497a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
750417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
751417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
752417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Date getDate(int parameterIndex, Calendar cal)
7537a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7547a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
755417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
756417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
757417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Time getTime(String parameterName, Calendar cal)
7587a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7597a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
760417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
761417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
762417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Time getTime(int parameterIndex, Calendar cal)
7637a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7647a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
765417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
766417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
767417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Timestamp getTimestamp(String parameterName, Calendar cal)
7687a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7697a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
770417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
771417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
772417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal)
7737a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throws SQLException {
7747a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
775417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
776417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
777417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    public java.net.URL getURL(String parameterName) throws SQLException {
7787a647e8547e57ca573541be55b3728ef7ce376feElliott Hughes	throw new SQLException("not supported");
779417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes    }
780417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes
78117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setRowId(int parameterIndex, RowId x) throws SQLException {
78217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
78317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
78417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
78517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setRowId(String parameterName, RowId x) throws SQLException {
78617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
78717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
78817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
78917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNString(int parameterIndex, String value)
79017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
79117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
79217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
79317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
79417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNString(String parameterName, String value)
79517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
79617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
79717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
79817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
79917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNCharacterStream(int parameterIndex, java.io.Reader x,
80017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				    long len)
80117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
80217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
80317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
80417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
80517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNCharacterStream(String parameterName, java.io.Reader x,
80617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				    long len)
80717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
80817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
80917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
81017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
81117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(int parameterIndex, NClob value)
81217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
81317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
81417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
81517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
81617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(String parameterName, NClob value)
81717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
81817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
81917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
82017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
82117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setClob(int parameterIndex, java.io.Reader x, long len)
82217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
82317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
82417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
82517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
82617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setClob(String parameterName, java.io.Reader x, long len)
82717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
82817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
82917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
83017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
83117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBlob(int parameterIndex, java.io.InputStream x, long len)
83217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
83317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
83417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
83517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
83617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBlob(String parameterName, java.io.InputStream x, long len)
83717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
83817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
83917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
84017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
84117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(int parameterIndex, java.io.Reader x, long len)
84217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
84317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
84417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
84517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
84617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(String parameterName, java.io.Reader x, long len)
84717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
84817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
84917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
85017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
85117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setSQLXML(int parameterIndex, SQLXML xml)
85217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
85317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
85417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
85517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
85617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setSQLXML(String parameterName, SQLXML xml)
85717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
85817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
85917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
86017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
86117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setAsciiStream(int parameterIndex, java.io.InputStream x,
86217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe			       long len)
86317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
86417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
86517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
86617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
86717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setAsciiStream(String parameterName, java.io.InputStream x,
86817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe			       long len)
86917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
87017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
87117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
87217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
87317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBinaryStream(int parameterIndex, java.io.InputStream x,
87417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				long len)
87517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
87617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
87717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
87817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
87917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBinaryStream(String parameterName, java.io.InputStream x,
88017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				long len)
88117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
88217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
88317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
88417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
88517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setCharacterStream(int parameterIndex, java.io.Reader x,
88617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				   long len)
88717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
88817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
88917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
89017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
89117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setCharacterStream(String parameterName, java.io.Reader x,
89217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe				   long len)
89317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
89417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
89517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
89617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
89717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setAsciiStream(int parameterIndex, java.io.InputStream x)
89817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
89917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
90017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
90117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
90217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setAsciiStream(String parameterName, java.io.InputStream x)
90317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
90417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
90517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
90617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
90717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBinaryStream(int parameterIndex, java.io.InputStream x)
90817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
90917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
91017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
91117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
91217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBinaryStream(String parameterName, java.io.InputStream x)
91317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
91417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
91517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
91617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
91717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setCharacterStream(int parameterIndex, java.io.Reader x)
91817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
91917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
92017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
92117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
92217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setCharacterStream(String parameterName, java.io.Reader x)
92317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
92417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
92517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
92617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
92717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNCharacterStream(int parameterIndex, java.io.Reader x)
92817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
92917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
93017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
93117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
93217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNCharacterStream(String parameterName, java.io.Reader x)
93317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
93417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
93517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
93617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
93717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setClob(int parameterIndex, java.io.Reader x)
93817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
93917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
94017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
94117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
94217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setClob(String parameterName, java.io.Reader x)
94317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
94417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
94517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
94617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
94717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBlob(int parameterIndex, java.io.InputStream x)
94817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
94917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
95017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
95117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
95217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setBlob(String parameterName, java.io.InputStream x)
95317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
95417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
95517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
95617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
95717c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(int parameterIndex, java.io.Reader x)
95817c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
95917c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
96017c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
96117c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
96217c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    public void setNClob(String parameterName, java.io.Reader x)
96317c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throws SQLException {
96417c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe	throw new SQLFeatureNotSupportedException();
96517c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe    }
96617c83b1a74c906c9a36257a3a99cd1e3730b002eJeremy Sharpe
967417deb1db112103aff04231b6ca79772ff7d3a21Elliott Hughes}
968