4 import java
.math
.BigDecimal
;
7 import java
.sql
.Connection
;
8 import java
.sql
.Statement
;
9 import java
.sql
.SQLException
;
10 import java
.sql
.ResultSet
;
11 import java
.sql
.ResultSetMetaData
;
12 import java
.sql
.SQLWarning
;
14 import java
.io
.InputStream
;
15 import java
.io
.InputStreamReader
;
16 import java
.io
.StringBufferInputStream
;
21 import java
.sql
.Array
;
22 import java
.sql
.Types
;
24 import java
.sql
.RowId
;
25 import java
.sql
.SQLXML
;
26 import java
.io
.Reader
;
27 import java
.sql
.NClob
;
28 import java
.sql
.Wrapper
;
30 public class JdbcSqlResultSet
extends JSqlError
implements ResultSet
, JSqlErrorType
32 public JdbcSqlStatement stmt
; // This guy creates me
33 public JdbcSqlResultSetMetaData rsmd
;
35 public boolean closedFlag
;
41 rsmd
= new JdbcSqlResultSetMetaData();
45 void setStmt( JdbcSqlStatement jdbcStmt
)
48 rsmd
.setStmt( jdbcStmt
);
52 protected void finalize ()
56 if(!closedFlag
) close();
60 System
.out
.println(e
);
65 public void close() throws SQLException
67 if( closedFlag
) return;
71 //rsmd.close(); //commented by praba
72 //after close the app can reexecute.
73 if (stmt
!= null) stmt
.closeScan();
78 public boolean next () throws SQLException
80 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
82 if( 0 == stmt
.jniStmt
.next() )
91 public ResultSetMetaData
getMetaData () throws SQLException
93 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
96 public SQLWarning
getWarnings() throws SQLException
100 public void clearWarnings() throws SQLException
104 public int findColumn (String colName
) throws SQLException
106 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
108 int colnum
= stmt
.jniStmt
.findColumn( colName
);
111 public int getType() throws SQLException
113 return( ResultSet
.TYPE_FORWARD_ONLY
);
115 public int getConcurrency() throws SQLException
117 return( ResultSet
.CONCUR_READ_ONLY
);
119 public Statement
getStatement() throws SQLException
121 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
124 public boolean isFirst() throws SQLException
126 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
133 public boolean isBeforeFirst() throws SQLException
135 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
142 public boolean isAfterLast() throws SQLException
144 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
152 // Provide data to application
154 public short getShort (int colNum
) throws SQLException
156 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
158 short out
= stmt
.jniStmt
.getShort( colNum
- 1 );
159 if( false ) throw new SQLException();
163 public short getShort (String colName
) throws SQLException
165 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
166 return( getShort( findColumn( colName
) ) );
170 public int getInt (int colNum
) throws SQLException
172 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
174 int out
= stmt
.jniStmt
.getInt( colNum
- 1 );
175 if( false ) throw new SQLException();
179 public int getInt (String colName
) throws SQLException
181 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
182 return( getInt( findColumn( colName
) ) );
186 public long getLong (int colNum
) throws SQLException
188 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
190 long out
= stmt
.jniStmt
.getLong( colNum
-1 );
191 if( false ) throw new SQLException();
195 public long getLong (String colName
) throws SQLException
197 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
198 return( getLong( findColumn( colName
) ) );
202 public byte getByte (int colNum
) throws SQLException
204 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
206 byte out
= stmt
.jniStmt
.getByte( colNum
-1 );
207 if( false ) throw new SQLException();
211 public byte getByte (String colName
) throws SQLException
213 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
214 return( getByte( findColumn( colName
) ) );
218 public float getFloat (int colNum
) throws SQLException
220 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
222 float out
= stmt
.jniStmt
.getFloat( colNum
-1 );
223 if( false ) throw new SQLException();
227 public float getFloat (String colName
) throws SQLException
229 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
230 return( getFloat( findColumn( colName
) ) );
234 public double getDouble (int colNum
) throws SQLException
236 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
238 double out
= stmt
.jniStmt
.getDouble( colNum
-1 );
239 if( false ) throw new SQLException();
243 public double getDouble (String colName
) throws SQLException
245 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
246 return( getDouble( findColumn( colName
) ) );
250 public BigDecimal
getBigDecimal( int colNum
)
253 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
255 throw getException( CSQL_NOT_SUPPORTED
);
258 // BigDecimal out = new BigDecimal( stmt.jniStmt.getBigDecimal( colNum-1 ) );
261 public BigDecimal
getBigDecimal(String colName
)
264 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
265 return( getBigDecimal( findColumn( colName
) ) );
267 public BigDecimal
getBigDecimal (int colNum
, int scale
)
270 return( getBigDecimal( colNum
) );
272 public BigDecimal
getBigDecimal (String colName
, int scale
)
275 return( getBigDecimal( colName
) );
279 public String
getString(int colNum
) throws SQLException
281 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
284 String out
= stmt
.jniStmt
.getString( colNum
-1 );
288 public String
getString (String colName
) throws SQLException
290 return( getString( findColumn( colName
) ) );
292 public InputStream
getAsciiStream(int colNum
) throws SQLException
294 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
296 String out
= stmt
.jniStmt
.getString( colNum
-1 );
298 return( new StringBufferInputStream( out
) );
300 public java
.io
.InputStream
getAsciiStream (String colName
) throws SQLException
302 return( getAsciiStream( findColumn( colName
) ) );
304 public java
.io
.Reader
getCharacterStream(int colNum
)
307 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
309 InputStream iS
= getAsciiStream( colNum
);
313 return( new InputStreamReader( iS
) );
315 public java
.io
.Reader
getCharacterStream(String colName
)
318 return( getCharacterStream( findColumn( colName
) ) );
322 public boolean getBoolean (int colNum
) throws SQLException
324 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
326 boolean out
= stmt
.jniStmt
.getBoolean( colNum
-1 );
330 public boolean getBoolean (String colName
) throws SQLException
332 return( getBoolean( findColumn( colName
) ) );
336 public byte [] getBytes(int colNum
) throws SQLException
338 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
340 throw getException( CSQL_NOT_SUPPORTED
);
341 //byte[] out = stmt.jniStmt.getBytes( colNum-1 );
344 public byte[] getBytes (String colName
) throws SQLException
346 return( getBytes( findColumn( colName
) ) );
350 public java
.sql
.Date
getDate (int colNum
) throws SQLException
352 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
354 java
.sql
.Date out
= stmt
.jniStmt
.getDate( colNum
-1 );
358 public java
.sql
.Date
getDate(int colNum
, java
.util
.Calendar cal
)
361 return( getDate( colNum
) );
363 public java
.sql
.Date
getDate (String colNum
) throws SQLException
365 return( getDate( findColumn( colNum
) ) );
367 public java
.sql
.Date
getDate(String colName
, java
.util
.Calendar cal
)
370 return( getDate( colName
) );
374 public java
.sql
.Time
getTime (int colNum
) throws SQLException
376 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
379 java
.sql
.Time out
= stmt
.jniStmt
.getTime( colNum
-1 );
383 public java
.sql
.Time
getTime(int colNum
, java
.util
.Calendar cal
)
386 return( getTime( colNum
) );
388 public java
.sql
.Time
getTime (String colName
) throws SQLException
390 return( getTime( findColumn( colName
) ) );
392 public java
.sql
.Time
getTime(String colName
, java
.util
.Calendar cal
)
395 return( getTime( colName
) );
399 public java
.sql
.Timestamp
getTimestamp (int colNum
)
402 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
404 java
.sql
.Timestamp out
= stmt
.jniStmt
.getTimestamp( colNum
-1 );
408 public java
.sql
.Timestamp
getTimestamp(int colNum
,
409 java
.util
.Calendar cal
) throws SQLException
411 return( getTimestamp( colNum
) );
413 public java
.sql
.Timestamp
getTimestamp (String colName
)
416 return( getTimestamp( findColumn( colName
) ) );
418 public java
.sql
.Timestamp
getTimestamp(String colName
,
419 java
.util
.Calendar cal
) throws SQLException
421 return( getTimestamp( colName
) );
424 public Object
getObject(int colNum
) throws SQLException
426 Object obj
= new String("no obj");
428 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
430 switch ( rsmd
.getColumnType( colNum
) )
433 obj
= new Double( getDouble( colNum
) ); break;
435 obj
= new Float( getFloat( colNum
) ); break;
438 obj
= getBigDecimal( colNum
); break;
441 obj
= new Long( getLong( colNum
) ); break;
443 obj
= new Integer( getInt( colNum
) ); break;
445 obj
= new Short( getShort( colNum
) ); break;
447 obj
= new Byte( getByte( colNum
) ); break;
449 obj
= new Boolean( getBoolean( colNum
) ); break;
452 obj
= getDate( colNum
); break;
454 obj
= getTime( colNum
); break;
455 case Types
.TIMESTAMP
:
456 obj
= getTimestamp( colNum
); break;
459 obj
= getString( colNum
); break;
461 obj
= getString( colNum
); break;
463 case Types
.VARBINARY
:
464 obj
= getBytes( colNum
); break;
466 default: throw getException( CSQL_INVALID_DATATYPE
);
468 // Return null if value read is null //TODO
474 public Object
getObject (String colName
) throws SQLException
476 return( getObject( findColumn( colName
) ) );
478 public Object
getObject(int i
, java
.util
.Map map
) throws SQLException
480 return( getObject( i
) );
482 public Object
getObject(String colName
, java
.util
.Map map
)
485 return( getObject( colName
) );
488 public int getRow() throws SQLException
493 return( (int) curRow
+ 1 );
496 // UN-SUPPORTED API's
497 public boolean wasNull () throws SQLException
// TODO
499 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
500 //throw getException( CSQL_NOT_SUPPORTED );
501 return( stmt
.jniStmt
.isNull(pos
) );
503 public String
getCursorName () throws SQLException
505 throw getException( CSQL_NOT_SUPPORTED
);
507 public boolean absolute( int row
) throws SQLException
509 throw getException( CSQL_NOT_SUPPORTED
);
511 public void beforeFirst() throws SQLException
513 throw getException( CSQL_NOT_SUPPORTED
);
515 public void afterLast() throws SQLException
517 throw getException( CSQL_NOT_SUPPORTED
);
519 public boolean first() throws SQLException
521 throw getException( CSQL_NOT_SUPPORTED
);
523 public boolean last() throws SQLException
525 throw getException( CSQL_NOT_SUPPORTED
);
527 public boolean relative( int rows
) throws SQLException
529 throw getException( CSQL_NOT_SUPPORTED
);
531 public boolean previous() throws SQLException
533 throw getException( CSQL_NOT_SUPPORTED
);
535 public void setFetchDirection(int direction
) throws SQLException
537 throw getException( CSQL_NOT_SUPPORTED
);
539 public int getFetchDirection() throws SQLException
541 throw getException( CSQL_NOT_SUPPORTED
);
543 public void setFetchSize(int rows
) throws SQLException
545 throw getException( CSQL_NOT_SUPPORTED
);
547 public int getFetchSize() throws SQLException
549 throw getException( CSQL_NOT_SUPPORTED
);
551 public InputStream
getUnicodeStream(int colNum
) throws SQLException
553 throw getException( CSQL_NOT_SUPPORTED
);
555 public InputStream
getBinaryStream(int colNum
) throws SQLException
557 throw getException( CSQL_NOT_SUPPORTED
);
559 public java
.io
.InputStream
getUnicodeStream (String colName
) throws SQLException
561 throw getException( CSQL_NOT_SUPPORTED
);
563 public java
.io
.InputStream
getBinaryStream (String colName
) throws SQLException
565 throw getException( CSQL_NOT_SUPPORTED
);
567 public void setMaxRows(int maxRows
) throws SQLException
569 throw getException( CSQL_NOT_SUPPORTED
);
571 public void setMaxFieldSize(int maxFieldSize
) throws SQLException
573 throw getException( CSQL_NOT_SUPPORTED
);
575 public boolean rowUpdated() throws SQLException
577 throw getException( CSQL_NOT_SUPPORTED
);
579 public boolean rowInserted() throws SQLException
581 throw getException( CSQL_NOT_SUPPORTED
);
583 public boolean rowDeleted() throws SQLException
585 throw getException( CSQL_NOT_SUPPORTED
);
587 public void updateNull(int colNum
) throws SQLException
589 throw getException( CSQL_NOT_SUPPORTED
);
591 public void updateBoolean(int colNum
, boolean x
) throws SQLException
593 throw getException( CSQL_NOT_SUPPORTED
);
595 public void updateByte(int colNum
, byte x
) throws SQLException
597 throw getException( CSQL_NOT_SUPPORTED
);
599 public void updateShort(int colNum
, short x
) throws SQLException
601 throw getException( CSQL_NOT_SUPPORTED
);
603 public void updateInt(int colNum
, int x
) throws SQLException
605 throw getException( CSQL_NOT_SUPPORTED
);
607 public void updateLong(int colNum
, long x
) throws SQLException
609 throw getException( CSQL_NOT_SUPPORTED
);
611 public void updateFloat(int colNum
, float x
) throws SQLException
613 throw getException( CSQL_NOT_SUPPORTED
);
615 public void updateDouble(int colNum
, double x
) throws SQLException
617 throw getException( CSQL_NOT_SUPPORTED
);
619 public void updateBigDecimal(int colNum
, BigDecimal x
) throws SQLException
621 throw getException( CSQL_NOT_SUPPORTED
);
623 public void updateString(int colNum
, String x
) throws SQLException
625 throw getException( CSQL_NOT_SUPPORTED
);
627 public void updateBytes(int colNum
, byte x
[]) throws SQLException
629 throw getException( CSQL_NOT_SUPPORTED
);
631 public void updateDate(int colNum
, java
.sql
.Date x
) throws SQLException
633 throw getException( CSQL_NOT_SUPPORTED
);
635 public void updateTime(int colNum
, java
.sql
.Time x
) throws SQLException
637 throw getException( CSQL_NOT_SUPPORTED
);
639 public void updateTimestamp(int colNum
, java
.sql
.Timestamp x
)
642 throw getException( CSQL_NOT_SUPPORTED
);
644 public void updateAsciiStream(int colNum
,
645 java
.io
.InputStream x
, int length
) throws SQLException
647 throw getException( CSQL_NOT_SUPPORTED
);
649 public void updateBinaryStream(int colNum
,
650 java
.io
.InputStream x
, int length
) throws SQLException
652 throw getException( CSQL_NOT_SUPPORTED
);
654 public void updateCharacterStream(int colNum
,
655 java
.io
.Reader x
, int length
) throws SQLException
657 throw getException( CSQL_NOT_SUPPORTED
);
659 public void updateNull(String colName
) throws SQLException
661 throw getException( CSQL_NOT_SUPPORTED
);
663 public void updateBoolean(String colName
, boolean x
) throws SQLException
665 throw getException( CSQL_NOT_SUPPORTED
);
667 public void updateByte(String colName
, byte x
) throws SQLException
669 throw getException( CSQL_NOT_SUPPORTED
);
671 public void updateShort(String colName
, short x
) throws SQLException
673 throw getException( CSQL_NOT_SUPPORTED
);
675 public void updateInt(String colName
, int x
) throws SQLException
677 throw getException( CSQL_NOT_SUPPORTED
);
679 public void updateLong(String colName
, long x
) throws SQLException
681 throw getException( CSQL_NOT_SUPPORTED
);
683 public void updateFloat(String colName
, float x
) throws SQLException
685 throw getException( CSQL_NOT_SUPPORTED
);
687 public void updateDouble(String colName
, double x
) throws SQLException
689 throw getException( CSQL_NOT_SUPPORTED
);
691 public void updateBigDecimal(String colName
, BigDecimal x
)
694 throw getException( CSQL_NOT_SUPPORTED
);
696 public void updateString(String colName
, String x
) throws SQLException
698 throw getException( CSQL_NOT_SUPPORTED
);
700 public void updateBytes(String colName
, byte x
[]) throws SQLException
702 throw getException( CSQL_NOT_SUPPORTED
);
704 public void updateDate(String colName
, java
.sql
.Date x
) throws SQLException
706 throw getException( CSQL_NOT_SUPPORTED
);
708 public void updateTime(String colName
, java
.sql
.Time x
) throws SQLException
710 throw getException( CSQL_NOT_SUPPORTED
);
712 public void updateTimestamp(String colName
, java
.sql
.Timestamp x
)
715 throw getException( CSQL_NOT_SUPPORTED
);
717 public void updateAsciiStream(String colName
,
718 java
.io
.InputStream x
, int length
) throws SQLException
720 throw getException( CSQL_NOT_SUPPORTED
);
722 public void updateBinaryStream(String colName
,
723 java
.io
.InputStream x
, int length
) throws SQLException
725 throw getException( CSQL_NOT_SUPPORTED
);
727 public void updateCharacterStream(String colName
,
728 java
.io
.Reader reader
, int length
) throws SQLException
730 throw getException( CSQL_NOT_SUPPORTED
);
732 public void updateObject(int colNum
, Object x
, int scale
)
735 throw getException( CSQL_NOT_SUPPORTED
);
737 public void updateObject(int colNum
, Object x
) throws SQLException
739 throw getException( CSQL_NOT_SUPPORTED
);
741 public void insertRow() throws SQLException
743 throw getException( CSQL_NOT_SUPPORTED
);
745 public void updateRow() throws SQLException
747 throw getException( CSQL_NOT_SUPPORTED
);
749 public void deleteRow() throws SQLException
751 throw getException( CSQL_NOT_SUPPORTED
);
753 public void refreshRow() throws SQLException
755 throw getException( CSQL_NOT_SUPPORTED
);
757 public void cancelRowUpdates() throws SQLException
759 throw getException( CSQL_NOT_SUPPORTED
);
761 public void moveToInsertRow() throws SQLException
763 throw getException( CSQL_NOT_SUPPORTED
);
765 public void moveToCurrentRow() throws SQLException
767 throw getException( CSQL_NOT_SUPPORTED
);
769 public Ref
getRef(int i
) throws SQLException
771 throw getException( CSQL_NOT_SUPPORTED
);
773 public Blob
getBlob(int i
) throws SQLException
775 throw getException( CSQL_NOT_SUPPORTED
);
777 public Clob
getClob(int i
) throws SQLException
779 throw getException( CSQL_NOT_SUPPORTED
);
781 public Array
getArray(int i
) throws SQLException
783 throw getException( CSQL_NOT_SUPPORTED
);
785 public Ref
getRef(String colName
) throws SQLException
787 throw getException( CSQL_NOT_SUPPORTED
);
789 public Blob
getBlob(String colName
) throws SQLException
791 throw getException( CSQL_NOT_SUPPORTED
);
793 public Clob
getClob(String colName
) throws SQLException
795 throw getException( CSQL_NOT_SUPPORTED
);
797 public Array
getArray(String colName
) throws SQLException
799 throw getException( CSQL_NOT_SUPPORTED
);
801 public boolean isLast() throws SQLException
803 throw getException( CSQL_NOT_SUPPORTED
);
805 public void updateObject(String colName
, Object x
) throws SQLException
807 throw getException( CSQL_NOT_SUPPORTED
);
809 public void updateObject(String colName
, Object x
, int scale
)
812 throw getException( CSQL_NOT_SUPPORTED
);
814 public URL
getURL(int colNum
)
817 throw getException( CSQL_NOT_SUPPORTED
);
819 public URL
getURL(String colName
)
822 throw getException( CSQL_NOT_SUPPORTED
);
824 public void updateRef(int colNum
, Ref x
)
827 throw getException( CSQL_NOT_SUPPORTED
);
829 public void updateRef(String colName
, Ref x
)
832 throw getException( CSQL_NOT_SUPPORTED
);
834 public void updateBlob(int colNum
, Blob x
)
837 throw getException( CSQL_NOT_SUPPORTED
);
839 public void updateBlob(String colName
, Blob x
)
842 throw getException( CSQL_NOT_SUPPORTED
);
844 public void updateClob(int colNum
, Clob x
)
847 throw getException( CSQL_NOT_SUPPORTED
);
849 public void updateClob(String colName
, Clob x
)
852 throw getException( CSQL_NOT_SUPPORTED
);
854 public void updateArray(int colNum
, Array x
)
857 throw getException( CSQL_NOT_SUPPORTED
);
859 public void updateArray(String colName
, Array x
)
862 throw getException( CSQL_NOT_SUPPORTED
);
865 public void updateRowId(int colIndex
, RowId x
)
868 throw getException( CSQL_NOT_SUPPORTED
);
870 public void updateRowId(String colLabel
, RowId x
)
873 throw getException( CSQL_NOT_SUPPORTED
);
875 public void updateSQLXML(int colIndex
, SQLXML x
)
878 throw getException( CSQL_NOT_SUPPORTED
);
880 public void updateSQLXML(String colLabel
, SQLXML x
)
883 throw getException( CSQL_NOT_SUPPORTED
);
885 public void updateNClob(int colIndex
, NClob x
)
888 throw getException( CSQL_NOT_SUPPORTED
);
890 public void updateNClob(int colIndex
, Reader x
)
893 throw getException( CSQL_NOT_SUPPORTED
);
895 public void updateNClob(int colIndex
, Reader x
, long length
)
898 throw getException( CSQL_NOT_SUPPORTED
);
900 public void updateNClob(String colIndex
, NClob x
)
903 throw getException( CSQL_NOT_SUPPORTED
);
905 public void updateNClob(String colIndex
, Reader x
)
908 throw getException( CSQL_NOT_SUPPORTED
);
910 public void updateNClob(String colIndex
, Reader x
, long length
)
913 throw getException( CSQL_NOT_SUPPORTED
);
915 public void updateNString(int colIndex
, String x
)
918 throw getException( CSQL_NOT_SUPPORTED
);
920 public void updateNString(String colIndex
, String x
)
923 throw getException( CSQL_NOT_SUPPORTED
);
925 public void updateNCharacterStream(int colIndex
, Reader x
)
928 throw getException( CSQL_NOT_SUPPORTED
);
930 public void updateNCharacterStream(int colIndex
, Reader x
, long length
)
933 throw getException( CSQL_NOT_SUPPORTED
);
935 public void updateNCharacterStream(String colIndex
, Reader x
)
938 throw getException( CSQL_NOT_SUPPORTED
);
940 public void updateNCharacterStream(String colIndex
, Reader x
, long length
)
943 throw getException( CSQL_NOT_SUPPORTED
);
945 public void updateCharacterStream(int colIndex
, Reader x
)
948 throw getException( CSQL_NOT_SUPPORTED
);
950 public void updateCharacterStream(String colIndex
, Reader x
)
953 throw getException( CSQL_NOT_SUPPORTED
);
955 public void updateCharacterStream(int colIndex
, Reader x
, long length
)
958 throw getException( CSQL_NOT_SUPPORTED
);
960 public void updateCharacterStream(String colIndex
, Reader x
, long length
)
963 throw getException( CSQL_NOT_SUPPORTED
);
965 public void updateBinaryStream(int colIndex
, InputStream x
)
968 throw getException( CSQL_NOT_SUPPORTED
);
970 public void updateBinaryStream(String colIndex
, InputStream x
)
973 throw getException( CSQL_NOT_SUPPORTED
);
975 public void updateBinaryStream(int colIndex
, InputStream x
, long length
)
978 throw getException( CSQL_NOT_SUPPORTED
);
980 public void updateBinaryStream(String colIndex
, InputStream x
, long length
)
983 throw getException( CSQL_NOT_SUPPORTED
);
985 public void updateAsciiStream(int colIndex
, InputStream x
)
988 throw getException( CSQL_NOT_SUPPORTED
);
990 public void updateAsciiStream(String colIndex
, InputStream x
)
993 throw getException( CSQL_NOT_SUPPORTED
);
995 public void updateAsciiStream(int colIndex
, InputStream x
, long length
)
998 throw getException( CSQL_NOT_SUPPORTED
);
1000 public void updateAsciiStream(String colIndex
, InputStream x
, long length
)
1003 throw getException( CSQL_NOT_SUPPORTED
);
1005 public void updateClob(int colNum
, Reader x
) throws SQLException
1007 throw getException( CSQL_NOT_SUPPORTED
);
1009 public void updateClob(String colNum
, Reader x
) throws SQLException
1011 throw getException( CSQL_NOT_SUPPORTED
);
1013 public void updateClob(int colNum
, Reader x
, long length
)
1016 throw getException( CSQL_NOT_SUPPORTED
);
1018 public void updateClob(String colNum
, Reader x
, long length
)
1021 throw getException( CSQL_NOT_SUPPORTED
);
1023 public void updateBlob(int colNum
, InputStream x
) throws SQLException
1025 throw getException( CSQL_NOT_SUPPORTED
);
1027 public void updateBlob(String colNum
, InputStream x
) throws SQLException
1029 throw getException( CSQL_NOT_SUPPORTED
);
1031 public void updateBlob(int colNum
, InputStream x
, long length
)
1034 throw getException( CSQL_NOT_SUPPORTED
);
1036 public void updateBlob(String colNum
, InputStream x
, long length
)
1039 throw getException( CSQL_NOT_SUPPORTED
);
1041 public Reader
getNCharacterStream(int colIndex
) throws SQLException
1043 throw getException( CSQL_NOT_SUPPORTED
);
1045 public Reader
getNCharacterStream(String colLabel
) throws SQLException
1047 throw getException( CSQL_NOT_SUPPORTED
);
1049 public NClob
getNClob(int colIndex
) throws SQLException
1051 throw getException( CSQL_NOT_SUPPORTED
);
1053 public NClob
getNClob(String colLabel
) throws SQLException
1055 throw getException( CSQL_NOT_SUPPORTED
);
1057 public String
getNString(int colIndex
) throws SQLException
1059 throw getException( CSQL_NOT_SUPPORTED
);
1061 public String
getNString(String colLabel
) throws SQLException
1063 throw getException( CSQL_NOT_SUPPORTED
);
1065 public SQLXML
getSQLXML(int colIndex
) throws SQLException
1067 throw getException(CSQL_NOT_SUPPORTED
);
1069 public SQLXML
getSQLXML(String colLabel
) throws SQLException
1071 throw getException(CSQL_NOT_SUPPORTED
);
1073 public boolean isClosed()
1077 public int getHoldability() throws SQLException
1079 throw getException(CSQL_NOT_SUPPORTED
);
1081 public RowId
getRowId(int val
) throws SQLException
1083 throw getException(CSQL_NOT_SUPPORTED
);
1085 public RowId
getRowId(String val
) throws SQLException
1087 throw getException(CSQL_NOT_SUPPORTED
);
1089 public boolean isWrapperFor(Class ifact
) throws SQLException
1091 throw getException(CSQL_NOT_SUPPORTED
);
1093 public Class
unwrap(Class iface
) throws SQLException
1095 throw getException(CSQL_NOT_SUPPORTED
);