001: //
002: // Copyright 1999 Craig Spannring
003: //
004: // All rights reserved.
005: //
006: // Redistribution and use in source and binary forms, with or without
007: // modification, are permitted provided that the following conditions are met:
008: // 1. Redistributions of source code must retain the above copyright
009: // notice, this list of conditions and the following disclaimer.
010: // 2. Redistributions in binary form must reproduce the above copyright
011: // notice, this list of conditions and the following disclaimer in the
012: // documentation and/or other materials provided with the distribution.
013: // 3. All advertising materials mentioning features or use of this software
014: // must display the following acknowledgement:
015: // This product includes software developed by Craig Spannring
016: // 4. The name of Craig Spannring may not be used to endorse or promote
017: // products derived from this software without specific prior
018: // written permission.
019: //
020: // THIS SOFTWARE IS PROVIDED BY CRAIG SPANNRING ``AS IS'' AND
021: // ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
022: // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
023: // ARE DISCLAIMED. IN NO EVENT SHALL CRAIG SPANNRING BE LIABLE
024: // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
025: // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
026: // OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
027: // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
028: // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
029: // OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
030: // SUCH DAMAGE.
031: //
032:
033: package com.internetcds.jdbc.tds;
034:
035: import java.net.URL;
036: import java.sql.*;
037: import java.math.BigDecimal;
038: import java.io.InputStream;
039: import java.io.Reader;
040: import java.util.Calendar;
041: import java.util.Map;
042:
043: public class PreparedStatement_2_0 extends
044: com.internetcds.jdbc.tds.PreparedStatement_base implements
045: java.sql.PreparedStatement {
046: public static final String cvsVersion = "$Id: PreparedStatement_2_0.java,v 1.1 2007-10-19 13:23:55 sinisa Exp $";
047:
048: public PreparedStatement_2_0(java.sql.Connection conn_, Tds tds_,
049: String sql) throws java.sql.SQLException {
050: super (conn_, tds_, sql);
051: }
052:
053: //--------------------------JDBC 2.0-----------------------------
054:
055: /**
056: * JDBC 2.0
057: *
058: * Adds a set of parameters to the batch.
059: *
060: * @exception SQLException if a database access error occurs
061: * @see Statement#addBatch
062: */
063: public void addBatch() throws java.sql.SQLException {
064: NotImplemented();
065: }
066:
067: /**
068: * JDBC 2.0
069: *
070: * Sets the designated parameter to the given <code>Reader</code>
071: * object, which is the given number of characters long.
072: * When a very large UNICODE value is input to a LONGVARCHAR
073: * parameter, it may be more practical to send it via a
074: * java.io.Reader. JDBC will read the data from the stream
075: * as needed, until it reaches end-of-file. The JDBC driver will
076: * do any necessary conversion from UNICODE to the database char format.
077: *
078: * <P><B>Note:</B> This stream object can either be a standard
079: * Java stream object or your own subclass that implements the
080: * standard interface.
081: *
082: * @param parameterIndex the first parameter is 1, the second is 2, ...
083: * @param x the java reader which contains the UNICODE data
084: * @param length the number of characters in the stream
085: * @exception SQLException if a database access error occurs
086: */
087: public void setCharacterStream(int parameterIndex,
088: java.io.Reader reader, int length)
089: throws java.sql.SQLException {
090: NotImplemented();
091: }
092:
093: /**
094: * JDBC 2.0
095: *
096: * Sets a REF(<structured-type>) parameter.
097: *
098: * @param i the first parameter is 1, the second is 2, ...
099: * @param x an object representing data of an SQL REF Type
100: * @exception SQLException if a database access error occurs
101: */
102: public void setRef(int i, java.sql.Ref x)
103: throws java.sql.SQLException {
104: NotImplemented();
105: }
106:
107: /**
108: * JDBC 2.0
109: *
110: * Sets a BLOB parameter.
111: *
112: * @param i the first parameter is 1, the second is 2, ...
113: * @param x an object representing a BLOB
114: * @exception SQLException if a database access error occurs
115: */
116: public void setBlob(int i, java.sql.Blob x)
117: throws java.sql.SQLException {
118: NotImplemented();
119: }
120:
121: /**
122: * JDBC 2.0
123: *
124: * Sets a CLOB parameter.
125: *
126: * @param i the first parameter is 1, the second is 2, ...
127: * @param x an object representing a CLOB
128: * @exception SQLException if a database access error occurs
129: */
130: public void setClob(int i, java.sql.Clob x)
131: throws java.sql.SQLException {
132: NotImplemented();
133: }
134:
135: /**
136: * JDBC 2.0
137: *
138: * Sets an Array parameter.
139: *
140: * @param i the first parameter is 1, the second is 2, ...
141: * @param x an object representing an SQL array
142: * @exception SQLException if a database access error occurs
143: */
144: public void setArray(int i, java.sql.Array x)
145: throws java.sql.SQLException {
146: NotImplemented();
147: }
148:
149: /**
150: * JDBC 2.0
151: *
152: * Gets the number, types and properties of a ResultSet's columns.
153: *
154: * @return the description of a ResultSet's columns
155: * @exception SQLException if a database access error occurs
156: */
157: public java.sql.ResultSetMetaData getMetaData()
158: throws java.sql.SQLException {
159: NotImplemented();
160: return null;
161: }
162:
163: /**
164: * JDBC 2.0
165: *
166: * Sets the designated parameter to a java.sql.Date value,
167: * using the given <code>Calendar</code> object. The driver uses
168: * the <code>Calendar</code> object to construct an SQL DATE,
169: * which the driver then sends to the database. With a
170: * a <code>Calendar</code> object, the driver can calculate the date
171: * taking into account a custom timezone and locale. If no
172: * <code>Calendar</code> object is specified, the driver uses the default
173: * timezone and locale.
174: *
175: * @param parameterIndex the first parameter is 1, the second is 2, ...
176: * @param x the parameter value
177: * @param cal the <code>Calendar</code> object the driver will use
178: * to construct the date
179: * @exception SQLException if a database access error occurs
180: */
181: public void setDate(int parameterIndex, java.sql.Date x,
182: java.util.Calendar cal) throws java.sql.SQLException {
183: NotImplemented();
184: }
185:
186: /**
187: * JDBC 2.0
188: *
189: * Sets the designated parameter to a java.sql.Time value,
190: * using the given <code>Calendar</code> object. The driver uses
191: * the <code>Calendar</code> object to construct an SQL TIME,
192: * which the driver then sends to the database. With a
193: * a <code>Calendar</code> object, the driver can calculate the time
194: * taking into account a custom timezone and locale. If no
195: * <code>Calendar</code> object is specified, the driver uses the default
196: * timezone and locale.
197: *
198: * @param parameterIndex the first parameter is 1, the second is 2, ...
199: * @param x the parameter value
200: * @param cal the <code>Calendar</code> object the driver will use
201: * to construct the time
202: * @exception SQLException if a database access error occurs
203: */
204: public void setTime(int parameterIndex, java.sql.Time x,
205: java.util.Calendar cal) throws java.sql.SQLException {
206: NotImplemented();
207: }
208:
209: /**
210: * JDBC 2.0
211: *
212: * Sets the designated parameter to a java.sql.Timestamp value,
213: * using the given <code>Calendar</code> object. The driver uses
214: * the <code>Calendar</code> object to construct an SQL TIMESTAMP,
215: * which the driver then sends to the database. With a
216: * a <code>Calendar</code> object, the driver can calculate the timestamp
217: * taking into account a custom timezone and locale. If no
218: * <code>Calendar</code> object is specified, the driver uses the default
219: * timezone and locale.
220: *
221: * @param parameterIndex the first parameter is 1, the second is 2, ...
222: * @param x the parameter value
223: * @param cal the <code>Calendar</code> object the driver will use
224: * to construct the timestamp
225: * @exception SQLException if a database access error occurs
226: */
227: public void setTimestamp(int parameterIndex, java.sql.Timestamp x,
228: java.util.Calendar cal) throws java.sql.SQLException {
229: NotImplemented();
230: }
231:
232: /**
233: * JDBC 2.0
234: *
235: * Sets the designated parameter to SQL NULL. This version of setNull should
236: * be used for user-named types and REF type parameters. Examples
237: * of user-named types include: STRUCT, DISTINCT, JAVA_OBJECT, and
238: * named array types.
239: *
240: * <P><B>Note:</B> To be portable, applications must give the
241: * SQL type code and the fully-qualified SQL type name when specifying
242: * a NULL user-defined or REF parameter. In the case of a user-named type
243: * the name is the type name of the parameter itself. For a REF
244: * parameter the name is the type name of the referenced type. If
245: * a JDBC driver does not need the type code or type name information,
246: * it may ignore it.
247: *
248: * Although it is intended for user-named and Ref parameters,
249: * this method may be used to set a null parameter of any JDBC type.
250: * If the parameter does not have a user-named or REF type, the given
251: * typeName is ignored.
252: *
253: *
254: * @param parameterIndex the first parameter is 1, the second is 2, ...
255: * @param sqlType a value from java.sql.Types
256: * @param typeName the fully-qualified name of an SQL user-named type,
257: * ignored if the parameter is not a user-named type or REF
258: * @exception SQLException if a database access error occurs
259: */
260: public void setNull(int paramIndex, int sqlType, String typeName)
261: throws java.sql.SQLException {
262: NotImplemented();
263: }
264:
265: //---------------------------------------------------------------------
266: // JDBC 3.0
267: //---------------------------------------------------------------------
268:
269: public void setURL(int current, URL url) throws SQLException {
270: throw new UnsupportedOperationException(
271: "Statement.getMoreResults(int) unsupported");
272: }
273:
274: public void setURL(String current, URL url) throws SQLException {
275: throw new UnsupportedOperationException(
276: "Statement.getMoreResults(int) unsupported");
277: }
278:
279: public boolean getMoreResults(int current) throws SQLException {
280: throw new UnsupportedOperationException(
281: "Statement.getMoreResults(int) unsupported");
282: }
283:
284: public ResultSet getGeneratedKeys() throws SQLException {
285: throw new UnsupportedOperationException(
286: "Statement.getGeneratedKeys() unsupported");
287: }
288:
289: public int executeUpdate(String sql, int autoGeneratedKeys)
290: throws SQLException {
291: throw new UnsupportedOperationException(
292: "Statement.executeUpdate(String,int) unsupported");
293: }
294:
295: public int executeUpdate(String sql, int[] columnIndexes)
296: throws SQLException {
297: throw new UnsupportedOperationException(
298: "Statement.executeUpdate(String,int[]) unsupported");
299: }
300:
301: public int executeUpdate(String sql, String[] columnNames)
302: throws SQLException {
303: throw new UnsupportedOperationException(
304: "Statement.executeUpdate(String,String[]) unsupported");
305: }
306:
307: public boolean execute(String sql, int autoGeneratedKeys)
308: throws SQLException {
309: throw new UnsupportedOperationException(
310: "Statement.execute(String,int) unsupported");
311: }
312:
313: public boolean execute(String sql, int[] columnIndexes)
314: throws SQLException {
315: throw new UnsupportedOperationException(
316: "Statement.execute(String,int[]) unsupported");
317: }
318:
319: public boolean execute(String sql, String[] columnNames)
320: throws SQLException {
321: throw new UnsupportedOperationException(
322: "Statement.execute(String,String[]) unsupported");
323: }
324:
325: public int getResultSetHoldability() throws SQLException {
326: throw new UnsupportedOperationException(
327: "Statement.getResultSetHoldability() unsupported");
328: }
329:
330: public java.sql.ParameterMetaData getParameterMetaData()
331: throws SQLException {
332: throw new UnsupportedOperationException(
333: "Statement.getParameterMetaData() unsupported");
334: }
335:
336: public void registerOutParameter(String str, int x)
337: throws SQLException {
338: throw new UnsupportedOperationException(
339: "Statement.getParameterMetaData() unsupported");
340: }
341:
342: public void registerOutParameter(String str, int x, int y)
343: throws SQLException {
344: throw new UnsupportedOperationException(
345: "Statement.getParameterMetaData() unsupported");
346: }
347:
348: public void registerOutParameter(String str1, String str2)
349: throws SQLException {
350: throw new UnsupportedOperationException(
351: "Statement.getParameterMetaData() unsupported");
352: }
353:
354: public void registerOutParameter(String str1, int x, String str2)
355: throws SQLException {
356: throw new UnsupportedOperationException(
357: "Statement.getParameterMetaData() unsupported");
358: }
359:
360: public URL getURL(int url) throws SQLException {
361: throw new UnsupportedOperationException(
362: "Statement.getMoreResults(int) unsupported");
363: }
364:
365: public void setNull(String column, int url) throws SQLException {
366: throw new UnsupportedOperationException(
367: "Statement.getMoreResults(int) setNull");
368: }
369:
370: public void setBoolean(String str, boolean b) throws SQLException {
371: throw new UnsupportedOperationException(
372: "Statement.setBoolean(int) setNull");
373: }
374:
375: public void setByte(String str, byte b) throws SQLException {
376: throw new UnsupportedOperationException(
377: "Statement.setByte(int) setNull");
378: }
379:
380: public void setShort(String str, short b) throws SQLException {
381: throw new UnsupportedOperationException(
382: "Statement.setByte(int) setNull");
383: }
384:
385: public void setInt(String str, int b) throws SQLException {
386: throw new UnsupportedOperationException(
387: "Statement.setByte(int) setNull");
388: }
389:
390: public void setLong(String str, long b) throws SQLException {
391: throw new UnsupportedOperationException(
392: "Statement.setByte(int) setNull");
393: }
394:
395: public void setFloat(String str, float b) throws SQLException {
396: throw new UnsupportedOperationException(
397: "Statement.setByte(int) setNull");
398: }
399:
400: public void setDouble(String str, double b) throws SQLException {
401: throw new UnsupportedOperationException(
402: "Statement.setByte(int) setNull");
403: }
404:
405: public void setBigDecimal(String str, BigDecimal b)
406: throws SQLException {
407: throw new UnsupportedOperationException(
408: "Statement.setByte(int) setNull");
409: }
410:
411: public void setString(String str, String b) throws SQLException {
412: throw new UnsupportedOperationException(
413: "Statement.setByte(int) setNull");
414: }
415:
416: public void setBytes(String str, byte[] b) throws SQLException {
417: throw new UnsupportedOperationException(
418: "Statement.setByte(int) setNull");
419: }
420:
421: public void setDate(String str, Date b) throws SQLException {
422: throw new UnsupportedOperationException(
423: "Statement.setByte(int) setNull");
424: }
425:
426: public void setTime(String str, Time b) throws SQLException {
427: throw new UnsupportedOperationException(
428: "Statement.setByte(int) setNull");
429: }
430:
431: public void setTimestamp(String str, Timestamp b)
432: throws SQLException {
433: throw new UnsupportedOperationException(
434: "Statement.setByte(int) setNull");
435: }
436:
437: public void setAsciiStream(String str, InputStream b, int x)
438: throws SQLException {
439: throw new UnsupportedOperationException(
440: "Statement.setByte(int) setNull");
441: }
442:
443: public void setBinaryStream(String str, InputStream b, int x)
444: throws SQLException {
445: throw new UnsupportedOperationException(
446: "Statement.setByte(int) setNull");
447: }
448:
449: public void setObject(String str, Object b, int x, int y)
450: throws SQLException {
451: throw new UnsupportedOperationException(
452: "Statement.setByte(int) setNull");
453: }
454:
455: public void setObject(String str, Object b, int x)
456: throws SQLException {
457: throw new UnsupportedOperationException(
458: "Statement.setByte(int) setNull");
459: }
460:
461: public void setObject(String str, Object b) throws SQLException {
462: throw new UnsupportedOperationException(
463: "Statement.setByte(int) setNull");
464: }
465:
466: public void setCharacterStream(String str, Reader b, int x)
467: throws SQLException {
468: throw new UnsupportedOperationException(
469: "Statement.setByte(int) setNull");
470: }
471:
472: public void setDate(String str, Date b, Calendar cal)
473: throws SQLException {
474: throw new UnsupportedOperationException(
475: "Statement.setByte(int) setNull");
476: }
477:
478: public void setTime(String str, Time b, Calendar cal)
479: throws SQLException {
480: throw new UnsupportedOperationException(
481: "Statement.setByte(int) setNull");
482: }
483:
484: public void setTimestamp(String str, Timestamp b, Calendar cal)
485: throws SQLException {
486: throw new UnsupportedOperationException(
487: "Statement.setByte(int) setNull");
488: }
489:
490: public void setNull(String str, int b, String str2)
491: throws SQLException {
492: throw new UnsupportedOperationException(
493: "Statement.setByte(int) setNull");
494: }
495:
496: public String getString(String str) throws SQLException {
497: throw new UnsupportedOperationException(
498: "Statement.setByte(int) setNull");
499: }
500:
501: public boolean getBoolean(String str) throws SQLException {
502: throw new UnsupportedOperationException(
503: "Statement.setByte(int) setNull");
504: }
505:
506: public byte getByte(String str) throws SQLException {
507: throw new UnsupportedOperationException(
508: "Statement.setByte(int) setNull");
509: }
510:
511: public short getShort(String str) throws SQLException {
512: throw new UnsupportedOperationException(
513: "Statement.setByte(int) setNull");
514: }
515:
516: public int getInt(String str) throws SQLException {
517: throw new UnsupportedOperationException(
518: "Statement.setByte(int) setNull");
519: }
520:
521: public long getLong(String str) throws SQLException {
522: throw new UnsupportedOperationException(
523: "Statement.setByte(int) setNull");
524: }
525:
526: public float getFloat(String str) throws SQLException {
527: throw new UnsupportedOperationException(
528: "Statement.setByte(int) setNull");
529: }
530:
531: public double getDouble(String str) throws SQLException {
532: throw new UnsupportedOperationException(
533: "Statement.setByte(int) setNull");
534: }
535:
536: public byte[] getBytes(String str) throws SQLException {
537: throw new UnsupportedOperationException(
538: "Statement.setByte(int) setNull");
539: }
540:
541: public Date getDate(String str) throws SQLException {
542: throw new UnsupportedOperationException(
543: "Statement.setByte(int) setNull");
544: }
545:
546: public Time getTime(String str) throws SQLException {
547: throw new UnsupportedOperationException(
548: "Statement.setByte(int) setNull");
549: }
550:
551: public Timestamp getTimestamp(String str) throws SQLException {
552: throw new UnsupportedOperationException(
553: "Statement.setByte(int) setNull");
554: }
555:
556: public Object getObject(String str) throws SQLException {
557: throw new UnsupportedOperationException(
558: "Statement.setByte(int) setNull");
559: }
560:
561: public BigDecimal getBigDecimal(String str) throws SQLException {
562: throw new UnsupportedOperationException(
563: "Statement.setByte(int) setNull");
564: }
565:
566: public Object getObject(String str, Map m) throws SQLException {
567: throw new UnsupportedOperationException(
568: "Statement.setByte(int) setNull");
569: }
570:
571: public Ref getRef(String str) throws SQLException {
572: throw new UnsupportedOperationException(
573: "Statement.setByte(int) setNull");
574: }
575:
576: public Blob getBlob(String str) throws SQLException {
577: throw new UnsupportedOperationException(
578: "Statement.setByte(int) setNull");
579: }
580:
581: public Clob getClob(String str) throws SQLException {
582: throw new UnsupportedOperationException(
583: "Statement.setByte(int) setNull");
584: }
585:
586: public Array getArray(String str) throws SQLException {
587: throw new UnsupportedOperationException(
588: "Statement.setByte(int) setNull");
589: }
590:
591: public Date getDate(String str, Calendar c) throws SQLException {
592: throw new UnsupportedOperationException(
593: "Statement.setByte(int) setNull");
594: }
595:
596: public Time getTime(String str, Calendar m) throws SQLException {
597: throw new UnsupportedOperationException(
598: "Statement.setByte(int) setNull");
599: }
600:
601: public Timestamp getTimestamp(String str, Calendar m)
602: throws SQLException {
603: throw new UnsupportedOperationException(
604: "Statement.setByte(int) setNull");
605: }
606:
607: public URL getURL(String str) throws SQLException {
608: throw new UnsupportedOperationException(
609: "Statement.setByte(int) setNull");
610: }
611:
612: public void setAsciiStream(int parameterIndex, InputStream x)
613: throws SQLException {
614: // TODO Auto-generated method stub
615: throw new UnsupportedOperationException(
616: "Statement.setAsciiStream(int,InputStream) setNull");
617: }
618:
619: public void setAsciiStream(int parameterIndex, InputStream x,
620: long length) throws SQLException {
621: // TODO Auto-generated method stub
622: throw new UnsupportedOperationException(
623: "Statement.setAsciiStream(int,InputStream,long) setNull");
624: }
625:
626: public void setBinaryStream(int parameterIndex, InputStream x)
627: throws SQLException {
628: // TODO Auto-generated method stub
629: throw new UnsupportedOperationException(
630: "Statement.setBinaryStream(int,InputStream) setNull");
631: }
632:
633: public void setBinaryStream(int parameterIndex, InputStream x,
634: long length) throws SQLException {
635: // TODO Auto-generated method stub
636: throw new UnsupportedOperationException(
637: "Statement.setBinaryStream(int,InputStream,long) setNull");
638: }
639:
640: public void setBlob(int parameterIndex, InputStream inputStream)
641: throws SQLException {
642: // TODO Auto-generated method stub
643: throw new UnsupportedOperationException(
644: "Statement.setBlob(int,InputStream) setNull");
645: }
646:
647: public void setBlob(int parameterIndex, InputStream inputStream,
648: long length) throws SQLException {
649: // TODO Auto-generated method stub
650: throw new UnsupportedOperationException(
651: "Statement.setBlob(int,InputStream,long) setNull");
652: }
653:
654: public void setCharacterStream(int parameterIndex, Reader reader)
655: throws SQLException {
656: // TODO Auto-generated method stub
657: throw new UnsupportedOperationException(
658: "Statement.setCharacterStream(int,Reader) setNull");
659: }
660:
661: public void setCharacterStream(int parameterIndex, Reader reader,
662: long length) throws SQLException {
663: // TODO Auto-generated method stub
664: throw new UnsupportedOperationException(
665: "Statement.setCharacterStream(int,Reader,long) setNull");
666: }
667:
668: public void setClob(int parameterIndex, Reader reader)
669: throws SQLException {
670: // TODO Auto-generated method stub
671: throw new UnsupportedOperationException(
672: "Statement.setClob(int,Reader) setNull");
673: }
674:
675: public void setClob(int parameterIndex, Reader reader, long length)
676: throws SQLException {
677: // TODO Auto-generated method stub
678: throw new UnsupportedOperationException(
679: "Statement.setClob(int,Reader,long) setNull");
680: }
681:
682: public void setNCharacterStream(int parameterIndex, Reader value)
683: throws SQLException {
684: // TODO Auto-generated method stub
685: throw new UnsupportedOperationException(
686: "Statement.setNCharacterStream(int,Reader) setNull");
687: }
688:
689: public void setNCharacterStream(int parameterIndex, Reader value,
690: long length) throws SQLException {
691: // TODO Auto-generated method stub
692: throw new UnsupportedOperationException(
693: "Statement.setNCharacterStream(int,Reader,long) setNull");
694: }
695:
696: public void setNClob(int parameterIndex, NClob value)
697: throws SQLException {
698: // TODO Auto-generated method stub
699: throw new UnsupportedOperationException(
700: "Statement.setNClob(int,NClob) setNull");
701: }
702:
703: public void setNClob(int parameterIndex, Reader reader)
704: throws SQLException {
705: // TODO Auto-generated method stub
706: throw new UnsupportedOperationException(
707: "Statement.setNClob(int,Reader) setNull");
708: }
709:
710: public void setNClob(int parameterIndex, Reader reader, long length)
711: throws SQLException {
712: // TODO Auto-generated method stub
713: throw new UnsupportedOperationException(
714: "Statement.setNClob(int,Reader,long) setNull");
715: }
716:
717: public void setNString(int parameterIndex, String value)
718: throws SQLException {
719: // TODO Auto-generated method stub
720: throw new UnsupportedOperationException(
721: "Statement.setNString(int,String) setNull");
722: }
723:
724: public void setRowId(int parameterIndex, RowId x)
725: throws SQLException {
726: // TODO Auto-generated method stub
727: throw new UnsupportedOperationException(
728: "Statement.setRowId(int,RowId) setNull");
729: }
730:
731: public void setSQLXML(int parameterIndex, SQLXML xmlObject)
732: throws SQLException {
733: // TODO Auto-generated method stub
734: throw new UnsupportedOperationException(
735: "Statement.setSQLXML(int,SQLXML) setNull");
736: }
737:
738: }
|