Java Doc for DbResultSet.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » database » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.uwyn.rife.database.DbResultSet

All known Subclasses:   com.uwyn.rife.database.DbResultSet40,  com.uwyn.rife.database.DbResultSet30,
DbResultSet
abstract public class DbResultSet implements ResultSet,Cloneable(Code)


Field Summary
protected  booleanmFirstRowSkew
    
protected  booleanmHasResultRows
    
protected  ResultSetmResultSet
    
protected  DbStatementmStatement
    

Constructor Summary
 DbResultSet(DbStatement statement, ResultSet resultSet)
    

Method Summary
final public  booleanabsolute(int row)
    
final public  voidafterLast()
    
final public  voidbeforeFirst()
    
final public  voidcancelRowUpdates()
    
final public  voidclearWarnings()
    
public  Objectclone()
     Simply clones the instance with the default clone method.
final public  voidclose()
    
final public  voiddeleteRow()
    
final public  intfindColumn(String columnName)
    
final public  booleanfirst()
    
final public  ArraygetArray(String colName)
    
final public  ArraygetArray(int i)
    
final public  InputStreamgetAsciiStream(int columnIndex)
    
final public  InputStreamgetAsciiStream(String columnName)
    
final public  BigDecimalgetBigDecimal(int columnIndex)
    
final public  BigDecimalgetBigDecimal(String columnName)
    
final public  BigDecimalgetBigDecimal(int columnIndex, int scale)
    
final public  BigDecimalgetBigDecimal(String columnName, int scale)
    
final public  InputStreamgetBinaryStream(int columnIndex)
    
final public  InputStreamgetBinaryStream(String columnName)
    
final public  BlobgetBlob(int i)
    
final public  BlobgetBlob(String colName)
    
final public  booleangetBoolean(int columnIndex)
    
final public  booleangetBoolean(String columnName)
    
final public  bytegetByte(int columnIndex)
    
final public  bytegetByte(String columnName)
    
final public  byte[]getBytes(int columnIndex)
    
final public  byte[]getBytes(String columnName)
    
final public  ReadergetCharacterStream(int columnIndex)
    
final public  ReadergetCharacterStream(String columnName)
    
final public  ClobgetClob(int i)
    
final public  ClobgetClob(String colName)
    
final public  intgetConcurrency()
    
final public  StringgetCursorName()
    
final public  DategetDate(int columnIndex)
    
final public  DategetDate(String columnName)
    
final public  DategetDate(int columnIndex, Calendar cal)
    
final public  DategetDate(String columnName, Calendar cal)
    
final public  doublegetDouble(int columnIndex)
    
final public  doublegetDouble(String columnName)
    
final public  intgetFetchDirection()
    
final public  intgetFetchSize()
    
public  InputStreamgetFirstAsciiStream()
     Retrieves the first field of the first row of this DbResultSet object as an ascii stream.
public  BigDecimalgetFirstBigDecimal()
     Retrieves the first field of the first row of this DbResultSet object as a big decimal.
public  InputStreamgetFirstBinaryStream()
     Retrieves the first field of the first row of this DbResultSet object as a binary stream.
public  booleangetFirstBoolean()
     Retrieves the first field of the first row of this DbResultSet object as a boolean.
public  bytegetFirstByte()
     Retrieves the first field of the first row of this DbResultSet object as a byte.
public  byte[]getFirstBytes()
     Retrieves the first field of the first row of this DbResultSet object as an array of bytes.
public  ReadergetFirstCharacterStream()
     Retrieves the first field of the first row of this DbResultSet object as a character stream.
public  java.sql.DategetFirstDate()
     Retrieves the first field of the first row of this DbResultSet object as a sql date.
public  java.sql.DategetFirstDate(Calendar cal)
     Retrieves the first field of the first row of this DbResultSet object as a sql date.
public  doublegetFirstDouble()
     Retrieves the first field of the first row of this DbResultSet object as a double.
public  floatgetFirstFloat()
     Retrieves the first field of the first row of this DbResultSet object as a float.
public  intgetFirstInt()
     Retrieves the first field of the first row of this DbResultSet object as an integer.
public  longgetFirstLong()
     Retrieves the first field of the first row of this DbResultSet object as a long.
public  shortgetFirstShort()
     Retrieves the first field of the first row of this DbResultSet object as a short.
public  StringgetFirstString()
     Retrieves the first field of the first row of this DbResultSet object as a string.
public  java.sql.TimegetFirstTime()
     Retrieves the first field of the first row of this DbResultSet object as a sql time.
public  java.sql.TimegetFirstTime(Calendar cal)
     Retrieves the first field of the first row of this DbResultSet object as a sql time.
public  java.sql.TimestampgetFirstTimestamp()
     Retrieves the first field of the first row of this DbResultSet object as a sql timestamo.
public  java.sql.TimestampgetFirstTimestamp(Calendar cal)
     Retrieves the first field of the first row of this DbResultSet object as a sql timestamp.
final public  floatgetFloat(int columnIndex)
    
final public  floatgetFloat(String columnName)
    
final public  intgetInt(int columnIndex)
    
final public  intgetInt(String columnName)
    
final public  longgetLong(int columnIndex)
    
final public  longgetLong(String columnName)
    
final public  ResultSetMetaDatagetMetaData()
    
final public  ObjectgetObject(int columnIndex)
    
final public  ObjectgetObject(String columnName)
    
final public  ObjectgetObject(int i, Map map)
    
final public  ObjectgetObject(String colName, Map map)
    
final public  RefgetRef(String colName)
    
final public  RefgetRef(int i)
    
final public  intgetRow()
    
final public  shortgetShort(int columnIndex)
    
final public  shortgetShort(String columnName)
    
final public  StatementgetStatement()
    
final public  StringgetString(int columnIndex)
    
final public  StringgetString(String columnName)
    
final public  TimegetTime(int columnIndex)
    
final public  TimegetTime(String columnName)
    
final public  TimegetTime(int columnIndex, Calendar cal)
    
final public  TimegetTime(String columnName, Calendar cal)
    
final public  TimestampgetTimestamp(int columnIndex)
    
final public  TimestampgetTimestamp(String columnName)
    
final public  TimestampgetTimestamp(int columnIndex, Calendar cal)
    
final public  TimestampgetTimestamp(String columnName, Calendar cal)
    
final public  intgetType()
    
final public  URLgetURL(int columnIndex)
    
final public  URLgetURL(String columnName)
    
final public  InputStreamgetUnicodeStream(int columnIndex)
    
final public  InputStreamgetUnicodeStream(String columnName)
    
final public  SQLWarninggetWarnings()
    
public  booleanhasResultRows()
     Determines if there are rows available in the ResultSet object that was returned by an execute method.
final public  voidinsertRow()
    
final public  booleanisAfterLast()
    
final public  booleanisBeforeFirst()
    
final public  booleanisFirst()
    
final public  booleanisLast()
    
final public  booleanlast()
    
final public  voidmoveToCurrentRow()
    
final public  voidmoveToInsertRow()
    
final public  booleannext()
    
final public  booleanprevious()
    
final public  voidrefreshRow()
    
final public  booleanrelative(int rows)
    
final public  booleanrowDeleted()
    
final public  booleanrowInserted()
    
final public  booleanrowUpdated()
    
final public  voidsetFetchDirection(int direction)
    
final public  voidsetFetchSize(int rows)
    
final public  voidupdateArray(int columnIndex, Array x)
    
final public  voidupdateArray(String columnName, Array x)
    
final public  voidupdateAsciiStream(int columnIndex, InputStream x, int length)
    
final public  voidupdateAsciiStream(String columnName, InputStream x, int length)
    
final public  voidupdateBigDecimal(int columnIndex, BigDecimal x)
    
final public  voidupdateBigDecimal(String columnName, BigDecimal x)
    
final public  voidupdateBinaryStream(int columnIndex, InputStream x, int length)
    
final public  voidupdateBinaryStream(String columnName, InputStream x, int length)
    
final public  voidupdateBlob(int columnIndex, Blob x)
    
final public  voidupdateBlob(String columnName, Blob x)
    
final public  voidupdateBoolean(int columnIndex, boolean x)
    
final public  voidupdateBoolean(String columnName, boolean x)
    
final public  voidupdateByte(int columnIndex, byte x)
    
final public  voidupdateByte(String columnName, byte x)
    
final public  voidupdateBytes(int columnIndex, byte[] x)
    
final public  voidupdateBytes(String columnName, byte[] x)
    
final public  voidupdateCharacterStream(int columnIndex, Reader x, int length)
    
final public  voidupdateCharacterStream(String columnName, Reader reader, int length)
    
final public  voidupdateClob(int columnIndex, Clob x)
    
final public  voidupdateClob(String columnName, Clob x)
    
final public  voidupdateDate(int columnIndex, Date x)
    
final public  voidupdateDate(String columnName, Date x)
    
final public  voidupdateDouble(int columnIndex, double x)
    
final public  voidupdateDouble(String columnName, double x)
    
final public  voidupdateFloat(int columnIndex, float x)
    
final public  voidupdateFloat(String columnName, float x)
    
final public  voidupdateInt(int columnIndex, int x)
    
final public  voidupdateInt(String columnName, int x)
    
final public  voidupdateLong(int columnIndex, long x)
    
final public  voidupdateLong(String columnName, long x)
    
final public  voidupdateNull(int columnIndex)
    
final public  voidupdateNull(String columnName)
    
final public  voidupdateObject(int columnIndex, Object x)
    
final public  voidupdateObject(String columnName, Object x)
    
final public  voidupdateObject(int columnIndex, Object x, int scale)
    
final public  voidupdateObject(String columnName, Object x, int scale)
    
final public  voidupdateRef(int columnIndex, Ref x)
    
final public  voidupdateRef(String columnName, Ref x)
    
final public  voidupdateRow()
    
final public  voidupdateShort(int columnIndex, short x)
    
final public  voidupdateShort(String columnName, short x)
    
final public  voidupdateString(int columnIndex, String x)
    
final public  voidupdateString(String columnName, String x)
    
final public  voidupdateTime(int columnIndex, Time x)
    
final public  voidupdateTime(String columnName, Time x)
    
final public  voidupdateTimestamp(int columnIndex, Timestamp x)
    
final public  voidupdateTimestamp(String columnName, Timestamp x)
    
final public  booleanwasNull()
    

Field Detail
mFirstRowSkew
protected boolean mFirstRowSkew(Code)



mHasResultRows
protected boolean mHasResultRows(Code)



mResultSet
protected ResultSet mResultSet(Code)



mStatement
protected DbStatement mStatement(Code)




Constructor Detail
DbResultSet
DbResultSet(DbStatement statement, ResultSet resultSet)(Code)




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



afterLast
final public void afterLast() throws SQLException(Code)



beforeFirst
final public void beforeFirst() throws SQLException(Code)



cancelRowUpdates
final public void cancelRowUpdates() throws SQLException(Code)



clearWarnings
final public void clearWarnings() throws SQLException(Code)



clone
public Object clone()(Code)
Simply clones the instance with the default clone method. This creates a shallow copy of all fields and the clone will in fact just be another reference to the same underlying data. The independence of each cloned instance is consciously not respected since they rely on resources that can't be cloned.
since:
   1.0



close
final public void close() throws SQLException(Code)



deleteRow
final public void deleteRow() throws SQLException(Code)



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



first
final public boolean first() throws SQLException(Code)



getArray
final public Array getArray(String colName) throws SQLException(Code)



getArray
final public Array getArray(int i) throws SQLException(Code)



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



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



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



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



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



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



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



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



getBlob
final public Blob getBlob(int i) throws SQLException(Code)



getBlob
final public Blob getBlob(String colName) throws SQLException(Code)



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



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



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



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



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



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



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



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



getClob
final public Clob getClob(int i) throws SQLException(Code)



getClob
final public Clob getClob(String colName) throws SQLException(Code)



getConcurrency
final public int getConcurrency() throws SQLException(Code)



getCursorName
final public String getCursorName() throws SQLException(Code)



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



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



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



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



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



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



getFetchDirection
final public int getFetchDirection() throws SQLException(Code)



getFetchSize
final public int getFetchSize() throws SQLException(Code)



getFirstAsciiStream
public InputStream getFirstAsciiStream() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as an ascii stream. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.io.InputStream object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstBigDecimal
public BigDecimal getFirstBigDecimal() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a big decimal. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first BigDecimal object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstBinaryStream
public InputStream getFirstBinaryStream() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a binary stream. This method works hiboth when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.io.InputStream object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstBoolean
public boolean getFirstBoolean() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a boolean. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first boolean object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstByte
public byte getFirstByte() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a byte. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first byte object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstBytes
public byte[] getFirstBytes() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as an array of bytes. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first byte[] object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstCharacterStream
public Reader getFirstCharacterStream() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a character stream. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.io.Reader object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstDate
public java.sql.Date getFirstDate() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql date. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.sql.Date object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstDate
public java.sql.Date getFirstDate(Calendar cal) throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql date. This method uses the given calendar to construct an appropriate millisecond value for the date if the underlying database does not store timezone information. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread.
Parameters:
  cal - the java.util.Calendar objectto use in constructing the date the first java.sql.Date object in the resultsn;if the value is SQL NULL,the value returned is null in the Java programming language
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
since:
   1.0




getFirstDouble
public double getFirstDouble() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a double. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first String object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstFloat
public float getFirstFloat() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a float. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first float object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstInt
public int getFirstInt() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as an integer. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first int object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstLong
public long getFirstLong() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a long. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first long object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstShort
public short getFirstShort() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a short. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first short object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstString
public String getFirstString() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a string. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first String object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstTime
public java.sql.Time getFirstTime() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql time. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.sql.Time object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstTime
public java.sql.Time getFirstTime(Calendar cal) throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql time. This method works both when the next method has never been called or once been called. This method uses the given calendar to construct an appropriate millisecond value for the time if the underlying database does not store timezone information. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread.
Parameters:
  cal - the java.util.Calendar object to use inconstructing the time the first java.sql.Time object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstTimestamp
public java.sql.Timestamp getFirstTimestamp() throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql timestamo. This method works both when the next method has never been called or once been called.

Therefore, it's thus perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. the first java.sql.Timestamp object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




getFirstTimestamp
public java.sql.Timestamp getFirstTimestamp(Calendar cal) throws DatabaseException(Code)
Retrieves the first field of the first row of this DbResultSet object as a sql timestamp. This method uses the given calendar to construct an appropriate millisecond value for the timestamp if the underlying database does not store timezone information. This method works both when the next method has never been called or once been called.

It is perfectly usable after the hasResultRows method or alone where catching the MissingResultsException is used to indicate the absence of results.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread.
Parameters:
  cal - the java.util.Calendar object to use inconstructing the date the first java.sql.Timestamp object in the results.
throws:
  DatabaseException - if a database access error occurs. If thereare no results available the thrown exception isMissingResultsException.
See Also:   DbResultSet.hasResultRows
since:
   1.0




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



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



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



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



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



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



getMetaData
final public ResultSetMetaData getMetaData() throws SQLException(Code)



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



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



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



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



getRef
final public Ref getRef(String colName) throws SQLException(Code)



getRef
final public Ref getRef(int i) throws SQLException(Code)



getRow
final public int getRow() throws SQLException(Code)



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



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



getStatement
final public Statement getStatement() throws SQLException(Code)



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



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



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



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



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



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



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



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



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



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



getType
final public int getType() throws SQLException(Code)



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



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



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



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



getWarnings
final public SQLWarning getWarnings() throws SQLException(Code)



hasResultRows
public boolean hasResultRows() throws DatabaseException(Code)
Determines if there are rows available in the ResultSet object that was returned by an execute method.

If an exception is thrown, the related DbStatement is automatically closed and an ongoing transaction will be automatically rolled back if it belongs to the executing thread. true if there are result rows available; or

false if no ResultSet object was available orit didn't have any result rows.
throws:
  DatabaseException - if a database access error occurs
since:
   1.0




insertRow
final public void insertRow() throws SQLException(Code)



isAfterLast
final public boolean isAfterLast() throws SQLException(Code)



isBeforeFirst
final public boolean isBeforeFirst() throws SQLException(Code)



isFirst
final public boolean isFirst() throws SQLException(Code)



isLast
final public boolean isLast() throws SQLException(Code)



last
final public boolean last() throws SQLException(Code)



moveToCurrentRow
final public void moveToCurrentRow() throws SQLException(Code)



moveToInsertRow
final public void moveToInsertRow() throws SQLException(Code)



next
final public boolean next() throws SQLException(Code)



previous
final public boolean previous() throws SQLException(Code)



refreshRow
final public void refreshRow() throws SQLException(Code)



relative
final public boolean relative(int rows) throws SQLException(Code)



rowDeleted
final public boolean rowDeleted() throws SQLException(Code)



rowInserted
final public boolean rowInserted() throws SQLException(Code)



rowUpdated
final public boolean rowUpdated() throws SQLException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



updateRow
final public void updateRow() throws SQLException(Code)



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



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



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



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



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



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



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



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



wasNull
final 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.