Java Doc for JtdsResultSet.java in  » Database-JDBC-Connection-Pool » jTDS » net » sourceforge » jtds » jdbc » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » jTDS » net.sourceforge.jtds.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.jtds.jdbc.JtdsResultSet

All known Subclasses:   net.sourceforge.jtds.jdbc.CachedResultSet,  net.sourceforge.jtds.jdbc.MSCursorResultSet,
JtdsResultSet
public class JtdsResultSet implements ResultSet(Code)
jTDS Implementation of the java.sql.ResultSet interface supporting forward read only result sets.

Implementation notes:

  1. This class is also the base for more sophisticated result sets and incorporates the update methods required by them.
  2. The class supports the BLOB/CLOB objects added by Brian.

author:
   Mike Hutchinson
version:
   $Id: JtdsResultSet.java,v 1.46 2005/09/26 18:21:09 ddkilzer Exp $


Field Summary
final static  intCLOSE_CURSORS_AT_COMMIT
    
final static  intHOLD_CURSORS_OVER_COMMIT
    
final protected static  intINITIAL_ROW_COUNT
     Initial size for row array.
final protected static  intPOS_AFTER_LAST
    
final protected static  intPOS_BEFORE_FIRST
    
protected  booleancancelled
     True if the query has been cancelled by another thread.
protected  booleanclosed
     True if this result set is closed.
protected  intcolumnCount
     Number of visible columns in row.
protected  ColInfo[]columns
     The array of column descriptors.
protected  intconcurrency
     The result set concurrency.
protected  Object[]currentRow
     The current result set row.
protected  StringcursorName
     The cursor name to be used for positioned updates.
protected  intdirection
     The fetch direction.
protected  intfetchDirection
     The fetch direction.
protected  intfetchSize
     The fetch size (only applies to cursor ResultSets).
protected  intpos
     The current row number.
protected  intresultSetType
     The result set type.
protected  ArrayListrowData
     Cached row data for forward only result set.
protected  introwPtr
     Index of current row in rowData.
protected  introwsInResult
     The number of rows in the result.
protected  JtdsStatementstatement
     The parent statement.
protected  booleanwasNull
     True if last column retrieved was null.

Constructor Summary
 JtdsResultSet(JtdsStatement statement, int resultSetType, int concurrency, ColInfo[] columns)
     Construct a simple result set from a statement, metadata or generated keys.

Method Summary
public  booleanabsolute(int row)
    
public  voidafterLast()
    
public  voidbeforeFirst()
    
protected  voidcacheResultSetRows()
     Cache the remaining results to free up connection.
public  voidcancelRowUpdates()
    
protected  voidcheckOpen()
     Check that this connection is still open.
protected  voidcheckScrollable()
     Check that this resultset is scrollable.
protected  voidcheckUpdateable()
     Check that this resultset is updateable.
public  voidclearWarnings()
    
public  voidclose()
    
protected  ColInfo[]copyInfo(ColInfo[] info)
     Copy an existing result set column descriptor array.
Parameters:
  info - The result set column descriptors to copy.
protected  Object[]copyRow(Object[] row)
     Copy an existing result set row.
public  voiddeleteRow()
    
public  intfindColumn(String columnName)
    
public  booleanfirst()
    
public  ArraygetArray(int columnIndex)
    
public  ArraygetArray(String columnName)
    
public  InputStreamgetAsciiStream(int columnIndex)
    
public  InputStreamgetAsciiStream(String columnName)
    
public  BigDecimalgetBigDecimal(int columnIndex)
    
public  BigDecimalgetBigDecimal(int columnIndex, int scale)
    
public  BigDecimalgetBigDecimal(String columnName)
    
public  BigDecimalgetBigDecimal(String columnName, int scale)
    
public  InputStreamgetBinaryStream(int columnIndex)
    
public  InputStreamgetBinaryStream(String columnName)
    
public  BlobgetBlob(int columnIndex)
    
public  BlobgetBlob(String columnName)
    
public  booleangetBoolean(int columnIndex)
    
public  booleangetBoolean(String columnName)
    
public  bytegetByte(int columnIndex)
    
public  bytegetByte(String columnName)
    
public  byte[]getBytes(int columnIndex)
    
public  byte[]getBytes(String columnName)
    
public  ReadergetCharacterStream(int columnIndex)
    
public  ReadergetCharacterStream(String columnName)
    
public  ClobgetClob(int columnIndex)
    
public  ClobgetClob(String columnName)
    
protected  ObjectgetColumn(int index)
     Get the specified column's data item.
protected static  intgetColumnCount(ColInfo[] columns)
    
protected  ColInfo[]getColumns()
     Retrieve the column descriptor array.
public  intgetConcurrency()
    
protected  Object[]getCurrentRow()
     Retrieve the current row data.
public  StringgetCursorName()
    
public  DategetDate(int columnIndex)
    
public  DategetDate(String columnName)
    
public  DategetDate(int columnIndex, Calendar cal)
    
public  DategetDate(String columnName, Calendar cal)
    
public  doublegetDouble(int columnIndex)
    
public  doublegetDouble(String columnName)
    
public  intgetFetchDirection()
    
public  intgetFetchSize()
    
public  floatgetFloat(int columnIndex)
    
public  floatgetFloat(String columnName)
    
public  intgetInt(int columnIndex)
    
public  intgetInt(String columnName)
    
public  longgetLong(int columnIndex)
    
public  longgetLong(String columnName)
    
public  ResultSetMetaDatagetMetaData()
    
public  ObjectgetObject(int columnIndex)
    
public  ObjectgetObject(String columnName)
    
public  ObjectgetObject(int columnIndex, Map map)
    
public  ObjectgetObject(String columnName, Map map)
    
public  RefgetRef(int columnIndex)
    
public  RefgetRef(String columnName)
    
public  intgetRow()
    
public  shortgetShort(int columnIndex)
    
public  shortgetShort(String columnName)
    
public  StatementgetStatement()
    
public  StringgetString(int columnIndex)
    
public  StringgetString(String columnName)
    
public  TimegetTime(int columnIndex)
    
public  TimegetTime(String columnName)
    
public  TimegetTime(int columnIndex, Calendar cal)
    
public  TimegetTime(String columnName, Calendar cal)
    
public  TimestampgetTimestamp(int columnIndex)
    
public  TimestampgetTimestamp(String columnName)
    
public  TimestampgetTimestamp(int columnIndex, Calendar cal)
    
public  TimestampgetTimestamp(String columnName, Calendar cal)
    
public  intgetType()
    
public  URLgetURL(int columnIndex)
    
public  URLgetURL(String columnName)
    
public  InputStreamgetUnicodeStream(int columnIndex)
    
public  InputStreamgetUnicodeStream(String columnName)
    
public  SQLWarninggetWarnings()
    
public  voidinsertRow()
    
public  booleanisAfterLast()
    
public  booleanisBeforeFirst()
    
public  booleanisFirst()
    
public  booleanisLast()
    
public  booleanlast()
    
public  voidmoveToCurrentRow()
    
public  voidmoveToInsertRow()
    
protected  Object[]newRow()
     Create a new row containing empty data items.
public  booleannext()
    
protected static  voidnotImplemented(String method)
     Report that user tried to call a method which has not been implemented.
public  booleanprevious()
    
public  voidrefreshRow()
    
public  booleanrelative(int row)
    
public  booleanrowDeleted()
    
public  booleanrowInserted()
    
public  booleanrowUpdated()
    
protected  voidsetColLabel(int colIndex, String name)
     Set the specified column's label.
protected  voidsetColName(int colIndex, String name)
     Set the specified column's name.
protected  voidsetColType(int colIndex, int jdbcType)
     Set the specified column's JDBC type.
protected  ObjectsetColValue(int colIndex, int jdbcType, Object value, int length)
     Set the specified column's data value.
protected  voidsetColumnCount(int columnCount)
     Set the current row's column count.
public  voidsetFetchDirection(int direction)
    
public  voidsetFetchSize(int rows)
    
public  voidupdateArray(int columnIndex, Array x)
    
public  voidupdateArray(String columnName, Array x)
    
public  voidupdateAsciiStream(int columnIndex, InputStream inputStream, int length)
    
public  voidupdateAsciiStream(String columnName, InputStream x, int length)
    
public  voidupdateBigDecimal(int columnIndex, BigDecimal x)
    
public  voidupdateBigDecimal(String columnName, BigDecimal x)
    
public  voidupdateBinaryStream(int columnIndex, InputStream inputStream, int length)
    
public  voidupdateBinaryStream(String columnName, InputStream x, int length)
    
public  voidupdateBlob(int columnIndex, Blob x)
    
public  voidupdateBlob(String columnName, Blob x)
    
public  voidupdateBoolean(int columnIndex, boolean x)
    
public  voidupdateBoolean(String columnName, boolean x)
    
public  voidupdateByte(int columnIndex, byte x)
    
public  voidupdateByte(String columnName, byte x)
    
public  voidupdateBytes(int columnIndex, byte[] x)
    
public  voidupdateBytes(String columnName, byte[] x)
    
public  voidupdateCharacterStream(int columnIndex, Reader reader, int length)
    
public  voidupdateCharacterStream(String columnName, Reader x, int length)
    
public  voidupdateClob(int columnIndex, Clob x)
    
public  voidupdateClob(String columnName, Clob x)
    
public  voidupdateDate(int columnIndex, Date x)
    
public  voidupdateDate(String columnName, Date x)
    
public  voidupdateDouble(int columnIndex, double x)
    
public  voidupdateDouble(String columnName, double x)
    
public  voidupdateFloat(int columnIndex, float x)
    
public  voidupdateFloat(String columnName, float x)
    
public  voidupdateInt(int columnIndex, int x)
    
public  voidupdateInt(String columnName, int x)
    
public  voidupdateLong(int columnIndex, long x)
    
public  voidupdateLong(String columnName, long x)
    
public  voidupdateNull(int columnIndex)
    
public  voidupdateNull(String columnName)
    
public  voidupdateObject(int columnIndex, Object x)
    
public  voidupdateObject(int columnIndex, Object x, int scale)
    
public  voidupdateObject(String columnName, Object x)
    
public  voidupdateObject(String columnName, Object x, int scale)
    
public  voidupdateRef(int columnIndex, Ref x)
    
public  voidupdateRef(String columnName, Ref x)
    
public  voidupdateRow()
    
public  voidupdateShort(int columnIndex, short x)
    
public  voidupdateShort(String columnName, short x)
    
public  voidupdateString(int columnIndex, String x)
    
public  voidupdateString(String columnName, String x)
    
public  voidupdateTime(int columnIndex, Time x)
    
public  voidupdateTime(String columnName, Time x)
    
public  voidupdateTimestamp(int columnIndex, Timestamp x)
    
public  voidupdateTimestamp(String columnName, Timestamp x)
    
public  booleanwasNull()
    

Field Detail
CLOSE_CURSORS_AT_COMMIT
final static int CLOSE_CURSORS_AT_COMMIT(Code)



HOLD_CURSORS_OVER_COMMIT
final static int HOLD_CURSORS_OVER_COMMIT(Code)



INITIAL_ROW_COUNT
final protected static int INITIAL_ROW_COUNT(Code)
Initial size for row array.



POS_AFTER_LAST
final protected static int POS_AFTER_LAST(Code)



POS_BEFORE_FIRST
final protected static int POS_BEFORE_FIRST(Code)



cancelled
protected boolean cancelled(Code)
True if the query has been cancelled by another thread.



closed
protected boolean closed(Code)
True if this result set is closed.



columnCount
protected int columnCount(Code)
Number of visible columns in row.



columns
protected ColInfo[] columns(Code)
The array of column descriptors.



concurrency
protected int concurrency(Code)
The result set concurrency.



currentRow
protected Object[] currentRow(Code)
The current result set row.



cursorName
protected String cursorName(Code)
The cursor name to be used for positioned updates.



direction
protected int direction(Code)
The fetch direction.



fetchDirection
protected int fetchDirection(Code)
The fetch direction.



fetchSize
protected int fetchSize(Code)
The fetch size (only applies to cursor ResultSets).



pos
protected int pos(Code)
The current row number.



resultSetType
protected int resultSetType(Code)
The result set type.



rowData
protected ArrayList rowData(Code)
Cached row data for forward only result set.



rowPtr
protected int rowPtr(Code)
Index of current row in rowData.



rowsInResult
protected int rowsInResult(Code)
The number of rows in the result.



statement
protected JtdsStatement statement(Code)
The parent statement.



wasNull
protected boolean wasNull(Code)
True if last column retrieved was null.




Constructor Detail
JtdsResultSet
JtdsResultSet(JtdsStatement statement, int resultSetType, int concurrency, ColInfo[] columns) throws SQLException(Code)
Construct a simple result set from a statement, metadata or generated keys.
Parameters:
  statement - The parent statement object or null.
Parameters:
  resultSetType - one of FORWARD_ONLY, SCROLL_INSENSITIVE, SCROLL_SENSITIVE.
Parameters:
  concurrency - One of CONCUR_READ_ONLY, CONCUR_UPDATE.
Parameters:
  columns - The array of column descriptors for the result set row.
throws:
  SQLException -




Method Detail
absolute
public boolean absolute(int row) throws SQLException(Code)



afterLast
public void afterLast() throws SQLException(Code)



beforeFirst
public void beforeFirst() throws SQLException(Code)



cacheResultSetRows
protected void cacheResultSetRows() throws SQLException(Code)
Cache the remaining results to free up connection.
throws:
  SQLException -



cancelRowUpdates
public void cancelRowUpdates() throws SQLException(Code)



checkOpen
protected void checkOpen() throws SQLException(Code)
Check that this connection is still open.
throws:
  SQLException - if connection closed.



checkScrollable
protected void checkScrollable() throws SQLException(Code)
Check that this resultset is scrollable.
throws:
  SQLException - if connection closed.



checkUpdateable
protected void checkUpdateable() throws SQLException(Code)
Check that this resultset is updateable.
throws:
  SQLException - if connection closed.



clearWarnings
public void clearWarnings() throws SQLException(Code)



close
public void close() throws SQLException(Code)



copyInfo
protected ColInfo[] copyInfo(ColInfo[] info)(Code)
Copy an existing result set column descriptor array.
Parameters:
  info - The result set column descriptors to copy. The new descriptors as a ColInfo[].



copyRow
protected Object[] copyRow(Object[] row)(Code)
Copy an existing result set row.
Parameters:
  row - the result set row to copy the new row as an Object array



deleteRow
public void deleteRow() throws SQLException(Code)



findColumn
public int findColumn(String columnName) throws SQLException(Code)



first
public boolean first() throws SQLException(Code)



getArray
public Array getArray(int columnIndex) throws SQLException(Code)



getArray
public Array getArray(String columnName) throws SQLException(Code)



getAsciiStream
public InputStream getAsciiStream(int columnIndex) throws SQLException(Code)



getAsciiStream
public InputStream getAsciiStream(String columnName) throws SQLException(Code)



getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws SQLException(Code)



getBigDecimal
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException(Code)



getBigDecimal
public BigDecimal getBigDecimal(String columnName) throws SQLException(Code)



getBigDecimal
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException(Code)



getBinaryStream
public InputStream getBinaryStream(int columnIndex) throws SQLException(Code)



getBinaryStream
public InputStream getBinaryStream(String columnName) throws SQLException(Code)



getBlob
public Blob getBlob(int columnIndex) throws SQLException(Code)



getBlob
public Blob getBlob(String columnName) throws SQLException(Code)



getBoolean
public boolean getBoolean(int columnIndex) throws SQLException(Code)



getBoolean
public boolean getBoolean(String columnName) throws SQLException(Code)



getByte
public byte getByte(int columnIndex) throws SQLException(Code)



getByte
public byte getByte(String columnName) throws SQLException(Code)



getBytes
public byte[] getBytes(int columnIndex) throws SQLException(Code)



getBytes
public byte[] getBytes(String columnName) throws SQLException(Code)



getCharacterStream
public Reader getCharacterStream(int columnIndex) throws SQLException(Code)



getCharacterStream
public Reader getCharacterStream(String columnName) throws SQLException(Code)



getClob
public Clob getClob(int columnIndex) throws SQLException(Code)



getClob
public Clob getClob(String columnName) throws SQLException(Code)



getColumn
protected Object getColumn(int index) throws SQLException(Code)
Get the specified column's data item.
Parameters:
  index - the column index in the row the column value as an Object
throws:
  SQLException - if the connection is closed;if index is less than 1;if index is greater that the number of columns;if there is no current row



getColumnCount
protected static int getColumnCount(ColInfo[] columns)(Code)
Retrieve the column count excluding hidden columns
Parameters:
  columns - The columns array The new column count as an int.



getColumns
protected ColInfo[] getColumns()(Code)
Retrieve the column descriptor array. The column descriptors as a ColInfo[].



getConcurrency
public int getConcurrency() throws SQLException(Code)



getCurrentRow
protected Object[] getCurrentRow()(Code)
Retrieve the current row data. The current row data as an Object[].



getCursorName
public String getCursorName() throws SQLException(Code)



getDate
public Date getDate(int columnIndex) throws SQLException(Code)



getDate
public Date getDate(String columnName) throws SQLException(Code)



getDate
public Date getDate(int columnIndex, Calendar cal) throws SQLException(Code)



getDate
public Date getDate(String columnName, Calendar cal) throws SQLException(Code)



getDouble
public double getDouble(int columnIndex) throws SQLException(Code)



getDouble
public double getDouble(String columnName) throws SQLException(Code)



getFetchDirection
public int getFetchDirection() throws SQLException(Code)



getFetchSize
public int getFetchSize() throws SQLException(Code)



getFloat
public float getFloat(int columnIndex) throws SQLException(Code)



getFloat
public float getFloat(String columnName) throws SQLException(Code)



getInt
public int getInt(int columnIndex) throws SQLException(Code)



getInt
public int getInt(String columnName) throws SQLException(Code)



getLong
public long getLong(int columnIndex) throws SQLException(Code)



getLong
public long getLong(String columnName) throws SQLException(Code)



getMetaData
public ResultSetMetaData getMetaData() throws SQLException(Code)



getObject
public Object getObject(int columnIndex) throws SQLException(Code)



getObject
public Object getObject(String columnName) throws SQLException(Code)



getObject
public Object getObject(int columnIndex, Map map) throws SQLException(Code)



getObject
public Object getObject(String columnName, Map map) throws SQLException(Code)



getRef
public Ref getRef(int columnIndex) throws SQLException(Code)



getRef
public Ref getRef(String columnName) throws SQLException(Code)



getRow
public int getRow() throws SQLException(Code)



getShort
public short getShort(int columnIndex) throws SQLException(Code)



getShort
public short getShort(String columnName) throws SQLException(Code)



getStatement
public Statement getStatement() throws SQLException(Code)



getString
public String getString(int columnIndex) throws SQLException(Code)



getString
public String getString(String columnName) throws SQLException(Code)



getTime
public Time getTime(int columnIndex) throws SQLException(Code)



getTime
public Time getTime(String columnName) throws SQLException(Code)



getTime
public Time getTime(int columnIndex, Calendar cal) throws SQLException(Code)



getTime
public Time getTime(String columnName, Calendar cal) throws SQLException(Code)



getTimestamp
public Timestamp getTimestamp(int columnIndex) throws SQLException(Code)



getTimestamp
public Timestamp getTimestamp(String columnName) throws SQLException(Code)



getTimestamp
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException(Code)



getTimestamp
public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException(Code)



getType
public int getType() throws SQLException(Code)



getURL
public URL getURL(int columnIndex) throws SQLException(Code)



getURL
public URL getURL(String columnName) throws SQLException(Code)



getUnicodeStream
public InputStream getUnicodeStream(int columnIndex) throws SQLException(Code)



getUnicodeStream
public InputStream getUnicodeStream(String columnName) throws SQLException(Code)



getWarnings
public SQLWarning getWarnings() throws SQLException(Code)



insertRow
public void insertRow() throws SQLException(Code)



isAfterLast
public boolean isAfterLast() throws SQLException(Code)



isBeforeFirst
public boolean isBeforeFirst() throws SQLException(Code)



isFirst
public boolean isFirst() throws SQLException(Code)



isLast
public boolean isLast() throws SQLException(Code)



last
public boolean last() throws SQLException(Code)



moveToCurrentRow
public void moveToCurrentRow() throws SQLException(Code)



moveToInsertRow
public void moveToInsertRow() throws SQLException(Code)



newRow
protected Object[] newRow()(Code)
Create a new row containing empty data items. the new row as an Object array



next
public boolean next() throws SQLException(Code)



notImplemented
protected static void notImplemented(String method) throws SQLException(Code)
Report that user tried to call a method which has not been implemented.
Parameters:
  method - The method name to report in the error message.
throws:
  SQLException -



previous
public boolean previous() throws SQLException(Code)



refreshRow
public void refreshRow() throws SQLException(Code)



relative
public boolean relative(int row) throws SQLException(Code)



rowDeleted
public boolean rowDeleted() throws SQLException(Code)



rowInserted
public boolean rowInserted() throws SQLException(Code)



rowUpdated
public boolean rowUpdated() throws SQLException(Code)



setColLabel
protected void setColLabel(int colIndex, String name)(Code)
Set the specified column's label.
Parameters:
  colIndex - The index of the column in the row.
Parameters:
  name - The new label.



setColName
protected void setColName(int colIndex, String name)(Code)
Set the specified column's name.
Parameters:
  colIndex - The index of the column in the row.
Parameters:
  name - The new name.



setColType
protected void setColType(int colIndex, int jdbcType)(Code)
Set the specified column's JDBC type.
Parameters:
  colIndex - The index of the column in the row.
Parameters:
  jdbcType - The new type value.



setColValue
protected Object setColValue(int colIndex, int jdbcType, Object value, int length) throws SQLException(Code)
Set the specified column's data value.
Parameters:
  colIndex - index of the column
Parameters:
  value - new column value
Parameters:
  length - the length of a stream parameter the value, possibly converted to an internal type



setColumnCount
protected void setColumnCount(int columnCount)(Code)
Set the current row's column count.
Parameters:
  columnCount - The number of visible columns in the row.



setFetchDirection
public void setFetchDirection(int direction) throws SQLException(Code)



setFetchSize
public void setFetchSize(int rows) throws SQLException(Code)



updateArray
public void updateArray(int columnIndex, Array x) throws SQLException(Code)



updateArray
public void updateArray(String columnName, Array x) throws SQLException(Code)



updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream inputStream, int length) throws SQLException(Code)



updateAsciiStream
public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException(Code)



updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException(Code)



updateBigDecimal
public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException(Code)



updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream inputStream, int length) throws SQLException(Code)



updateBinaryStream
public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException(Code)



updateBlob
public void updateBlob(int columnIndex, Blob x) throws SQLException(Code)



updateBlob
public void updateBlob(String columnName, Blob x) throws SQLException(Code)



updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException(Code)



updateBoolean
public void updateBoolean(String columnName, boolean x) throws SQLException(Code)



updateByte
public void updateByte(int columnIndex, byte x) throws SQLException(Code)



updateByte
public void updateByte(String columnName, byte x) throws SQLException(Code)



updateBytes
public void updateBytes(int columnIndex, byte[] x) throws SQLException(Code)



updateBytes
public void updateBytes(String columnName, byte[] x) throws SQLException(Code)



updateCharacterStream
public void updateCharacterStream(int columnIndex, Reader reader, int length) throws SQLException(Code)



updateCharacterStream
public void updateCharacterStream(String columnName, Reader x, int length) throws SQLException(Code)



updateClob
public void updateClob(int columnIndex, Clob x) throws SQLException(Code)



updateClob
public void updateClob(String columnName, Clob x) throws SQLException(Code)



updateDate
public void updateDate(int columnIndex, Date x) throws SQLException(Code)



updateDate
public void updateDate(String columnName, Date x) throws SQLException(Code)



updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException(Code)



updateDouble
public void updateDouble(String columnName, double x) throws SQLException(Code)



updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException(Code)



updateFloat
public void updateFloat(String columnName, float x) throws SQLException(Code)



updateInt
public void updateInt(int columnIndex, int x) throws SQLException(Code)



updateInt
public void updateInt(String columnName, int x) throws SQLException(Code)



updateLong
public void updateLong(int columnIndex, long x) throws SQLException(Code)



updateLong
public void updateLong(String columnName, long x) throws SQLException(Code)



updateNull
public void updateNull(int columnIndex) throws SQLException(Code)



updateNull
public void updateNull(String columnName) throws SQLException(Code)



updateObject
public void updateObject(int columnIndex, Object x) throws SQLException(Code)



updateObject
public void updateObject(int columnIndex, Object x, int scale) throws SQLException(Code)



updateObject
public void updateObject(String columnName, Object x) throws SQLException(Code)



updateObject
public void updateObject(String columnName, Object x, int scale) throws SQLException(Code)



updateRef
public void updateRef(int columnIndex, Ref x) throws SQLException(Code)



updateRef
public void updateRef(String columnName, Ref x) throws SQLException(Code)



updateRow
public void updateRow() throws SQLException(Code)



updateShort
public void updateShort(int columnIndex, short x) throws SQLException(Code)



updateShort
public void updateShort(String columnName, short x) throws SQLException(Code)



updateString
public void updateString(int columnIndex, String x) throws SQLException(Code)



updateString
public void updateString(String columnName, String x) throws SQLException(Code)



updateTime
public void updateTime(int columnIndex, Time x) throws SQLException(Code)



updateTime
public void updateTime(String columnName, Time x) throws SQLException(Code)



updateTimestamp
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException(Code)



updateTimestamp
public void updateTimestamp(String columnName, Timestamp x) throws SQLException(Code)



wasNull
public boolean wasNull() throws SQLException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.