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();
162 public short getShort (String colName
) throws SQLException
164 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
165 return( getShort( findColumn( colName
) ) );
169 public int getInt (int colNum
) throws SQLException
171 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
173 int out
= stmt
.jniStmt
.getInt( colNum
- 1 );
174 if( false ) throw new SQLException();
177 public int getInt (String colName
) throws SQLException
179 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
180 return( getInt( findColumn( colName
) ) );
184 public long getLong (int colNum
) throws SQLException
186 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
188 long out
= stmt
.jniStmt
.getLong( colNum
-1 );
189 if( false ) throw new SQLException();
192 public long getLong (String colName
) throws SQLException
194 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
195 return( getLong( findColumn( colName
) ) );
199 public byte getByte (int colNum
) throws SQLException
201 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
203 byte out
= stmt
.jniStmt
.getByte( colNum
-1 );
204 if( false ) throw new SQLException();
207 public byte getByte (String colName
) throws SQLException
209 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
210 return( getByte( findColumn( colName
) ) );
214 public float getFloat (int colNum
) throws SQLException
216 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
218 float out
= stmt
.jniStmt
.getFloat( colNum
-1 );
219 if( false ) throw new SQLException();
222 public float getFloat (String colName
) throws SQLException
224 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
225 return( getFloat( findColumn( colName
) ) );
229 public double getDouble (int colNum
) throws SQLException
231 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
233 double out
= stmt
.jniStmt
.getDouble( colNum
-1 );
234 if( false ) throw new SQLException();
237 public double getDouble (String colName
) throws SQLException
239 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
240 return( getDouble( findColumn( colName
) ) );
244 public BigDecimal
getBigDecimal( int colNum
)
247 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
249 throw getException( CSQL_NOT_SUPPORTED
);
252 // BigDecimal out = new BigDecimal( stmt.jniStmt.getBigDecimal( colNum-1 ) );
255 public BigDecimal
getBigDecimal(String colName
)
258 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
259 return( getBigDecimal( findColumn( colName
) ) );
261 public BigDecimal
getBigDecimal (int colNum
, int scale
)
264 return( getBigDecimal( colNum
) );
266 public BigDecimal
getBigDecimal (String colName
, int scale
)
269 return( getBigDecimal( colName
) );
273 public String
getString(int colNum
) throws SQLException
275 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
278 String out
= stmt
.jniStmt
.getString( colNum
-1 );
282 public String
getString (String colName
) throws SQLException
284 return( getString( findColumn( colName
) ) );
286 public InputStream
getAsciiStream(int colNum
) throws SQLException
288 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
290 String out
= stmt
.jniStmt
.getString( colNum
-1 );
292 return( new StringBufferInputStream( out
) );
294 public java
.io
.InputStream
getAsciiStream (String colName
) throws SQLException
296 return( getAsciiStream( findColumn( colName
) ) );
298 public java
.io
.Reader
getCharacterStream(int colNum
)
301 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
303 InputStream iS
= getAsciiStream( colNum
);
307 return( new InputStreamReader( iS
) );
309 public java
.io
.Reader
getCharacterStream(String colName
)
312 return( getCharacterStream( findColumn( colName
) ) );
316 public boolean getBoolean (int colNum
) throws SQLException
318 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
320 boolean out
= stmt
.jniStmt
.getBoolean( colNum
-1 );
324 public boolean getBoolean (String colName
) throws SQLException
326 return( getBoolean( findColumn( colName
) ) );
330 public byte [] getBytes(int colNum
) throws SQLException
332 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
334 throw getException( CSQL_NOT_SUPPORTED
);
335 //byte[] out = stmt.jniStmt.getBytes( colNum-1 );
338 public byte[] getBytes (String colName
) throws SQLException
340 return( getBytes( findColumn( colName
) ) );
344 public java
.sql
.Date
getDate (int colNum
) throws SQLException
346 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
348 java
.sql
.Date out
= stmt
.jniStmt
.getDate( colNum
-1 );
352 public java
.sql
.Date
getDate(int colNum
, java
.util
.Calendar cal
)
355 return( getDate( colNum
) );
357 public java
.sql
.Date
getDate (String colNum
) throws SQLException
359 return( getDate( findColumn( colNum
) ) );
361 public java
.sql
.Date
getDate(String colName
, java
.util
.Calendar cal
)
364 return( getDate( colName
) );
368 public java
.sql
.Time
getTime (int colNum
) throws SQLException
370 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
373 java
.sql
.Time out
= stmt
.jniStmt
.getTime( colNum
-1 );
377 public java
.sql
.Time
getTime(int colNum
, java
.util
.Calendar cal
)
380 return( getTime( colNum
) );
382 public java
.sql
.Time
getTime (String colName
) throws SQLException
384 return( getTime( findColumn( colName
) ) );
386 public java
.sql
.Time
getTime(String colName
, java
.util
.Calendar cal
)
389 return( getTime( colName
) );
393 public java
.sql
.Timestamp
getTimestamp (int colNum
)
396 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
398 java
.sql
.Timestamp out
= stmt
.jniStmt
.getTimestamp( colNum
-1 );
402 public java
.sql
.Timestamp
getTimestamp(int colNum
,
403 java
.util
.Calendar cal
) throws SQLException
405 return( getTimestamp( colNum
) );
407 public java
.sql
.Timestamp
getTimestamp (String colName
)
410 return( getTimestamp( findColumn( colName
) ) );
412 public java
.sql
.Timestamp
getTimestamp(String colName
,
413 java
.util
.Calendar cal
) throws SQLException
415 return( getTimestamp( colName
) );
418 public Object
getObject(int colNum
) throws SQLException
420 Object obj
= new String("no obj");
422 if( closedFlag
|| curRow
< 0 ) throw getException( CSQL_INVALID_STATE
);
424 switch ( rsmd
.getColumnType( colNum
) )
427 obj
= new Double( getDouble( colNum
) ); break;
429 obj
= new Float( getFloat( colNum
) ); break;
432 obj
= getBigDecimal( colNum
); break;
435 obj
= new Long( getLong( colNum
) ); break;
437 obj
= new Integer( getInt( colNum
) ); break;
439 obj
= new Short( getShort( colNum
) ); break;
441 obj
= new Byte( getByte( colNum
) ); break;
443 obj
= new Boolean( getBoolean( colNum
) ); break;
446 obj
= getDate( colNum
); break;
448 obj
= getTime( colNum
); break;
449 case Types
.TIMESTAMP
:
450 obj
= getTimestamp( colNum
); break;
453 obj
= getString( colNum
); break;
455 obj
= getString( colNum
); break;
457 case Types
.VARBINARY
:
458 obj
= getBytes( colNum
); break;
460 default: throw getException( CSQL_INVALID_DATATYPE
);
462 // Return null if value read is null //TODO
468 public Object
getObject (String colName
) throws SQLException
470 return( getObject( findColumn( colName
) ) );
472 public Object
getObject(int i
, java
.util
.Map map
) throws SQLException
474 return( getObject( i
) );
476 public Object
getObject(String colName
, java
.util
.Map map
)
479 return( getObject( colName
) );
482 public int getRow() throws SQLException
487 return( (int) curRow
+ 1 );
490 // UN-SUPPORTED API's
491 public boolean wasNull () throws SQLException
// TODO
493 if( closedFlag
) throw getException( CSQL_INVALID_STATE
);
494 throw getException( CSQL_NOT_SUPPORTED
);
495 //return( stmt.jniStmt.wasNull() );
497 public String
getCursorName () throws SQLException
499 throw getException( CSQL_NOT_SUPPORTED
);
501 public boolean absolute( int row
) throws SQLException
503 throw getException( CSQL_NOT_SUPPORTED
);
505 public void beforeFirst() throws SQLException
507 throw getException( CSQL_NOT_SUPPORTED
);
509 public void afterLast() throws SQLException
511 throw getException( CSQL_NOT_SUPPORTED
);
513 public boolean first() throws SQLException
515 throw getException( CSQL_NOT_SUPPORTED
);
517 public boolean last() throws SQLException
519 throw getException( CSQL_NOT_SUPPORTED
);
521 public boolean relative( int rows
) throws SQLException
523 throw getException( CSQL_NOT_SUPPORTED
);
525 public boolean previous() throws SQLException
527 throw getException( CSQL_NOT_SUPPORTED
);
529 public void setFetchDirection(int direction
) throws SQLException
531 throw getException( CSQL_NOT_SUPPORTED
);
533 public int getFetchDirection() throws SQLException
535 throw getException( CSQL_NOT_SUPPORTED
);
537 public void setFetchSize(int rows
) throws SQLException
539 throw getException( CSQL_NOT_SUPPORTED
);
541 public int getFetchSize() throws SQLException
543 throw getException( CSQL_NOT_SUPPORTED
);
545 public InputStream
getUnicodeStream(int colNum
) throws SQLException
547 throw getException( CSQL_NOT_SUPPORTED
);
549 public InputStream
getBinaryStream(int colNum
) throws SQLException
551 throw getException( CSQL_NOT_SUPPORTED
);
553 public java
.io
.InputStream
getUnicodeStream (String colName
) throws SQLException
555 throw getException( CSQL_NOT_SUPPORTED
);
557 public java
.io
.InputStream
getBinaryStream (String colName
) throws SQLException
559 throw getException( CSQL_NOT_SUPPORTED
);
561 public void setMaxRows(int maxRows
) throws SQLException
563 throw getException( CSQL_NOT_SUPPORTED
);
565 public void setMaxFieldSize(int maxFieldSize
) throws SQLException
567 throw getException( CSQL_NOT_SUPPORTED
);
569 public boolean rowUpdated() throws SQLException
571 throw getException( CSQL_NOT_SUPPORTED
);
573 public boolean rowInserted() throws SQLException
575 throw getException( CSQL_NOT_SUPPORTED
);
577 public boolean rowDeleted() throws SQLException
579 throw getException( CSQL_NOT_SUPPORTED
);
581 public void updateNull(int colNum
) throws SQLException
583 throw getException( CSQL_NOT_SUPPORTED
);
585 public void updateBoolean(int colNum
, boolean x
) throws SQLException
587 throw getException( CSQL_NOT_SUPPORTED
);
589 public void updateByte(int colNum
, byte x
) throws SQLException
591 throw getException( CSQL_NOT_SUPPORTED
);
593 public void updateShort(int colNum
, short x
) throws SQLException
595 throw getException( CSQL_NOT_SUPPORTED
);
597 public void updateInt(int colNum
, int x
) throws SQLException
599 throw getException( CSQL_NOT_SUPPORTED
);
601 public void updateLong(int colNum
, long x
) throws SQLException
603 throw getException( CSQL_NOT_SUPPORTED
);
605 public void updateFloat(int colNum
, float x
) throws SQLException
607 throw getException( CSQL_NOT_SUPPORTED
);
609 public void updateDouble(int colNum
, double x
) throws SQLException
611 throw getException( CSQL_NOT_SUPPORTED
);
613 public void updateBigDecimal(int colNum
, BigDecimal x
) throws SQLException
615 throw getException( CSQL_NOT_SUPPORTED
);
617 public void updateString(int colNum
, String x
) throws SQLException
619 throw getException( CSQL_NOT_SUPPORTED
);
621 public void updateBytes(int colNum
, byte x
[]) throws SQLException
623 throw getException( CSQL_NOT_SUPPORTED
);
625 public void updateDate(int colNum
, java
.sql
.Date x
) throws SQLException
627 throw getException( CSQL_NOT_SUPPORTED
);
629 public void updateTime(int colNum
, java
.sql
.Time x
) throws SQLException
631 throw getException( CSQL_NOT_SUPPORTED
);
633 public void updateTimestamp(int colNum
, java
.sql
.Timestamp x
)
636 throw getException( CSQL_NOT_SUPPORTED
);
638 public void updateAsciiStream(int colNum
,
639 java
.io
.InputStream x
, int length
) throws SQLException
641 throw getException( CSQL_NOT_SUPPORTED
);
643 public void updateBinaryStream(int colNum
,
644 java
.io
.InputStream x
, int length
) throws SQLException
646 throw getException( CSQL_NOT_SUPPORTED
);
648 public void updateCharacterStream(int colNum
,
649 java
.io
.Reader x
, int length
) throws SQLException
651 throw getException( CSQL_NOT_SUPPORTED
);
653 public void updateNull(String colName
) throws SQLException
655 throw getException( CSQL_NOT_SUPPORTED
);
657 public void updateBoolean(String colName
, boolean x
) throws SQLException
659 throw getException( CSQL_NOT_SUPPORTED
);
661 public void updateByte(String colName
, byte x
) throws SQLException
663 throw getException( CSQL_NOT_SUPPORTED
);
665 public void updateShort(String colName
, short x
) throws SQLException
667 throw getException( CSQL_NOT_SUPPORTED
);
669 public void updateInt(String colName
, int x
) throws SQLException
671 throw getException( CSQL_NOT_SUPPORTED
);
673 public void updateLong(String colName
, long x
) throws SQLException
675 throw getException( CSQL_NOT_SUPPORTED
);
677 public void updateFloat(String colName
, float x
) throws SQLException
679 throw getException( CSQL_NOT_SUPPORTED
);
681 public void updateDouble(String colName
, double x
) throws SQLException
683 throw getException( CSQL_NOT_SUPPORTED
);
685 public void updateBigDecimal(String colName
, BigDecimal x
)
688 throw getException( CSQL_NOT_SUPPORTED
);
690 public void updateString(String colName
, String x
) throws SQLException
692 throw getException( CSQL_NOT_SUPPORTED
);
694 public void updateBytes(String colName
, byte x
[]) throws SQLException
696 throw getException( CSQL_NOT_SUPPORTED
);
698 public void updateDate(String colName
, java
.sql
.Date x
) throws SQLException
700 throw getException( CSQL_NOT_SUPPORTED
);
702 public void updateTime(String colName
, java
.sql
.Time x
) throws SQLException
704 throw getException( CSQL_NOT_SUPPORTED
);
706 public void updateTimestamp(String colName
, java
.sql
.Timestamp x
)
709 throw getException( CSQL_NOT_SUPPORTED
);
711 public void updateAsciiStream(String colName
,
712 java
.io
.InputStream x
, int length
) throws SQLException
714 throw getException( CSQL_NOT_SUPPORTED
);
716 public void updateBinaryStream(String colName
,
717 java
.io
.InputStream x
, int length
) throws SQLException
719 throw getException( CSQL_NOT_SUPPORTED
);
721 public void updateCharacterStream(String colName
,
722 java
.io
.Reader reader
, int length
) throws SQLException
724 throw getException( CSQL_NOT_SUPPORTED
);
726 public void updateObject(int colNum
, Object x
, int scale
)
729 throw getException( CSQL_NOT_SUPPORTED
);
731 public void updateObject(int colNum
, Object x
) throws SQLException
733 throw getException( CSQL_NOT_SUPPORTED
);
735 public void insertRow() throws SQLException
737 throw getException( CSQL_NOT_SUPPORTED
);
739 public void updateRow() throws SQLException
741 throw getException( CSQL_NOT_SUPPORTED
);
743 public void deleteRow() throws SQLException
745 throw getException( CSQL_NOT_SUPPORTED
);
747 public void refreshRow() throws SQLException
749 throw getException( CSQL_NOT_SUPPORTED
);
751 public void cancelRowUpdates() throws SQLException
753 throw getException( CSQL_NOT_SUPPORTED
);
755 public void moveToInsertRow() throws SQLException
757 throw getException( CSQL_NOT_SUPPORTED
);
759 public void moveToCurrentRow() throws SQLException
761 throw getException( CSQL_NOT_SUPPORTED
);
763 public Ref
getRef(int i
) throws SQLException
765 throw getException( CSQL_NOT_SUPPORTED
);
767 public Blob
getBlob(int i
) throws SQLException
769 throw getException( CSQL_NOT_SUPPORTED
);
771 public Clob
getClob(int i
) throws SQLException
773 throw getException( CSQL_NOT_SUPPORTED
);
775 public Array
getArray(int i
) throws SQLException
777 throw getException( CSQL_NOT_SUPPORTED
);
779 public Ref
getRef(String colName
) throws SQLException
781 throw getException( CSQL_NOT_SUPPORTED
);
783 public Blob
getBlob(String colName
) throws SQLException
785 throw getException( CSQL_NOT_SUPPORTED
);
787 public Clob
getClob(String colName
) throws SQLException
789 throw getException( CSQL_NOT_SUPPORTED
);
791 public Array
getArray(String colName
) throws SQLException
793 throw getException( CSQL_NOT_SUPPORTED
);
795 public boolean isLast() throws SQLException
797 throw getException( CSQL_NOT_SUPPORTED
);
799 public void updateObject(String colName
, Object x
) throws SQLException
801 throw getException( CSQL_NOT_SUPPORTED
);
803 public void updateObject(String colName
, Object x
, int scale
)
806 throw getException( CSQL_NOT_SUPPORTED
);
808 public URL
getURL(int colNum
)
811 throw getException( CSQL_NOT_SUPPORTED
);
813 public URL
getURL(String colName
)
816 throw getException( CSQL_NOT_SUPPORTED
);
818 public void updateRef(int colNum
, Ref x
)
821 throw getException( CSQL_NOT_SUPPORTED
);
823 public void updateRef(String colName
, Ref x
)
826 throw getException( CSQL_NOT_SUPPORTED
);
828 public void updateBlob(int colNum
, Blob x
)
831 throw getException( CSQL_NOT_SUPPORTED
);
833 public void updateBlob(String colName
, Blob x
)
836 throw getException( CSQL_NOT_SUPPORTED
);
838 public void updateClob(int colNum
, Clob x
)
841 throw getException( CSQL_NOT_SUPPORTED
);
843 public void updateClob(String colName
, Clob x
)
846 throw getException( CSQL_NOT_SUPPORTED
);
848 public void updateArray(int colNum
, Array x
)
851 throw getException( CSQL_NOT_SUPPORTED
);
853 public void updateArray(String colName
, Array x
)
856 throw getException( CSQL_NOT_SUPPORTED
);
859 public void updateRowId(int colIndex
, RowId x
)
862 throw getException( CSQL_NOT_SUPPORTED
);
864 public void updateRowId(String colLabel
, RowId x
)
867 throw getException( CSQL_NOT_SUPPORTED
);
869 public void updateSQLXML(int colIndex
, SQLXML x
)
872 throw getException( CSQL_NOT_SUPPORTED
);
874 public void updateSQLXML(String colLabel
, SQLXML x
)
877 throw getException( CSQL_NOT_SUPPORTED
);
879 public void updateNClob(int colIndex
, NClob x
)
882 throw getException( CSQL_NOT_SUPPORTED
);
884 public void updateNClob(int colIndex
, Reader x
)
887 throw getException( CSQL_NOT_SUPPORTED
);
889 public void updateNClob(int colIndex
, Reader x
, long length
)
892 throw getException( CSQL_NOT_SUPPORTED
);
894 public void updateNClob(String colIndex
, NClob x
)
897 throw getException( CSQL_NOT_SUPPORTED
);
899 public void updateNClob(String colIndex
, Reader x
)
902 throw getException( CSQL_NOT_SUPPORTED
);
904 public void updateNClob(String colIndex
, Reader x
, long length
)
907 throw getException( CSQL_NOT_SUPPORTED
);
909 public void updateNString(int colIndex
, String x
)
912 throw getException( CSQL_NOT_SUPPORTED
);
914 public void updateNString(String colIndex
, String x
)
917 throw getException( CSQL_NOT_SUPPORTED
);
919 public void updateNCharacterStream(int colIndex
, Reader x
)
922 throw getException( CSQL_NOT_SUPPORTED
);
924 public void updateNCharacterStream(int colIndex
, Reader x
, long length
)
927 throw getException( CSQL_NOT_SUPPORTED
);
929 public void updateNCharacterStream(String colIndex
, Reader x
)
932 throw getException( CSQL_NOT_SUPPORTED
);
934 public void updateNCharacterStream(String colIndex
, Reader x
, long length
)
937 throw getException( CSQL_NOT_SUPPORTED
);
939 public void updateCharacterStream(int colIndex
, Reader x
)
942 throw getException( CSQL_NOT_SUPPORTED
);
944 public void updateCharacterStream(String colIndex
, Reader x
)
947 throw getException( CSQL_NOT_SUPPORTED
);
949 public void updateCharacterStream(int colIndex
, Reader x
, long length
)
952 throw getException( CSQL_NOT_SUPPORTED
);
954 public void updateCharacterStream(String colIndex
, Reader x
, long length
)
957 throw getException( CSQL_NOT_SUPPORTED
);
959 public void updateBinaryStream(int colIndex
, InputStream x
)
962 throw getException( CSQL_NOT_SUPPORTED
);
964 public void updateBinaryStream(String colIndex
, InputStream x
)
967 throw getException( CSQL_NOT_SUPPORTED
);
969 public void updateBinaryStream(int colIndex
, InputStream x
, long length
)
972 throw getException( CSQL_NOT_SUPPORTED
);
974 public void updateBinaryStream(String colIndex
, InputStream x
, long length
)
977 throw getException( CSQL_NOT_SUPPORTED
);
979 public void updateAsciiStream(int colIndex
, InputStream x
)
982 throw getException( CSQL_NOT_SUPPORTED
);
984 public void updateAsciiStream(String colIndex
, InputStream x
)
987 throw getException( CSQL_NOT_SUPPORTED
);
989 public void updateAsciiStream(int colIndex
, InputStream x
, long length
)
992 throw getException( CSQL_NOT_SUPPORTED
);
994 public void updateAsciiStream(String colIndex
, InputStream x
, long length
)
997 throw getException( CSQL_NOT_SUPPORTED
);
999 public void updateClob(int colNum
, Reader x
) throws SQLException
1001 throw getException( CSQL_NOT_SUPPORTED
);
1003 public void updateClob(String colNum
, Reader x
) throws SQLException
1005 throw getException( CSQL_NOT_SUPPORTED
);
1007 public void updateClob(int colNum
, Reader x
, long length
)
1010 throw getException( CSQL_NOT_SUPPORTED
);
1012 public void updateClob(String colNum
, Reader x
, long length
)
1015 throw getException( CSQL_NOT_SUPPORTED
);
1017 public void updateBlob(int colNum
, InputStream x
) throws SQLException
1019 throw getException( CSQL_NOT_SUPPORTED
);
1021 public void updateBlob(String colNum
, InputStream x
) throws SQLException
1023 throw getException( CSQL_NOT_SUPPORTED
);
1025 public void updateBlob(int colNum
, InputStream x
, long length
)
1028 throw getException( CSQL_NOT_SUPPORTED
);
1030 public void updateBlob(String colNum
, InputStream x
, long length
)
1033 throw getException( CSQL_NOT_SUPPORTED
);
1035 public Reader
getNCharacterStream(int colIndex
) throws SQLException
1037 throw getException( CSQL_NOT_SUPPORTED
);
1039 public Reader
getNCharacterStream(String colLabel
) throws SQLException
1041 throw getException( CSQL_NOT_SUPPORTED
);
1043 public NClob
getNClob(int colIndex
) throws SQLException
1045 throw getException( CSQL_NOT_SUPPORTED
);
1047 public NClob
getNClob(String colLabel
) throws SQLException
1049 throw getException( CSQL_NOT_SUPPORTED
);
1051 public String
getNString(int colIndex
) throws SQLException
1053 throw getException( CSQL_NOT_SUPPORTED
);
1055 public String
getNString(String colLabel
) throws SQLException
1057 throw getException( CSQL_NOT_SUPPORTED
);
1059 public SQLXML
getSQLXML(int colIndex
) throws SQLException
1061 throw getException(CSQL_NOT_SUPPORTED
);
1063 public SQLXML
getSQLXML(String colLabel
) throws SQLException
1065 throw getException(CSQL_NOT_SUPPORTED
);
1067 public boolean isClosed()
1071 public int getHoldability() throws SQLException
1073 throw getException(CSQL_NOT_SUPPORTED
);
1075 public RowId
getRowId(int val
) throws SQLException
1077 throw getException(CSQL_NOT_SUPPORTED
);
1079 public RowId
getRowId(String val
) throws SQLException
1081 throw getException(CSQL_NOT_SUPPORTED
);
1083 public boolean isWrapperFor(Class ifact
) throws SQLException
1085 throw getException(CSQL_NOT_SUPPORTED
);
1087 public Class
unwrap(Class iface
) throws SQLException
1089 throw getException(CSQL_NOT_SUPPORTED
);