Java Doc for ResultSetWrappingSqlRowSet.java in  » J2EE » spring-framework-2.0.6 » org » springframework » jdbc » support » rowset » 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 » J2EE » spring framework 2.0.6 » org.springframework.jdbc.support.rowset 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.springframework.jdbc.support.rowset.ResultSetWrappingSqlRowSet

ResultSetWrappingSqlRowSet
public class ResultSetWrappingSqlRowSet implements SqlRowSet(Code)
Default implementation of Spring's SqlRowSet interface.

This implementation wraps a javax.sql.ResultSet, catching any SQLExceptions and translating them to the appropriate Spring DataAccessException.

The passed-in ResultSets should already be disconnected if the SqlRowSet is supposed to be usable in a disconnected fashion. This means that you will usually pass in a javax.sql.rowset.CachedRowSet, which implements the ResultSet interface.

Note: This class implements the java.io.Serializable marker interface through the SqlRowSet interface, but is only actually serializable if the disconnected ResultSet/RowSet contained in it is serializable. Most CachedRowSet implementations are serializable.
author:
   Thomas Risberg
author:
   Juergen Hoeller
since:
   1.2
See Also:   java.sql.ResultSet
See Also:   javax.sql.rowset.CachedRowSet




Constructor Summary
public  ResultSetWrappingSqlRowSet(ResultSet resultSet)
     Create a new ResultSetWrappingSqlRowSet for the given ResultSet.

Method Summary
public  booleanabsolute(int row)
    
public  voidafterLast()
    
public  voidbeforeFirst()
    
public  intfindColumn(String columnName)
    
public  booleanfirst()
    
public  BigDecimalgetBigDecimal(int columnIndex)
    
public  BigDecimalgetBigDecimal(String columnName)
    
public  booleangetBoolean(int columnIndex)
    
public  booleangetBoolean(String columnName)
    
public  bytegetByte(int columnIndex)
    
public  bytegetByte(String columnName)
    
public  DategetDate(int columnIndex, Calendar cal)
    
public  DategetDate(int columnIndex)
    
public  DategetDate(String columnName, Calendar cal)
    
public  DategetDate(String columnName)
    
public  doublegetDouble(int columnIndex)
    
public  doublegetDouble(String columnName)
    
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  SqlRowSetMetaDatagetMetaData()
    
public  ObjectgetObject(int i, Map map)
    
public  ObjectgetObject(int columnIndex)
    
public  ObjectgetObject(String columnName, Map map)
    
public  ObjectgetObject(String columnName)
    
public  ResultSetgetResultSet()
     Return the underlying ResultSet (usually a javax.sql.rowset.CachedRowSet).
public  intgetRow()
    
public  shortgetShort(int columnIndex)
    
public  shortgetShort(String columnName)
    
public  StringgetString(int columnIndex)
    
public  StringgetString(String columnName)
    
public  TimegetTime(int columnIndex, Calendar cal)
    
public  TimegetTime(int columnIndex)
    
public  TimegetTime(String columnName, Calendar cal)
    
public  TimegetTime(String columnName)
    
public  TimestampgetTimestamp(int columnIndex, Calendar cal)
    
public  TimestampgetTimestamp(int columnIndex)
    
public  TimestampgetTimestamp(String columnName, Calendar cal)
    
public  TimestampgetTimestamp(String columnName)
    
public  booleanisAfterLast()
    
public  booleanisBeforeFirst()
    
public  booleanisFirst()
    
public  booleanisLast()
    
public  booleanlast()
    
public  booleannext()
    
public  booleanprevious()
    
public  booleanrelative(int rows)
    
public  booleanwasNull()
    


Constructor Detail
ResultSetWrappingSqlRowSet
public ResultSetWrappingSqlRowSet(ResultSet resultSet) throws InvalidResultSetAccessException(Code)
Create a new ResultSetWrappingSqlRowSet for the given ResultSet.
Parameters:
  resultSet - a disconnected ResultSet to wrap(usually a javax.sql.rowset.CachedRowSet)
throws:
  InvalidResultSetAccessException - if extractingthe ResultSetMetaData failed
See Also:   javax.sql.rowset.CachedRowSet
See Also:   java.sql.ResultSet.getMetaData
See Also:   ResultSetWrappingSqlRowSetMetaData




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

See Also:   java.sql.ResultSet.absolute(int)



afterLast
public void afterLast() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.afterLast



beforeFirst
public void beforeFirst() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.beforeFirst



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

See Also:   java.sql.ResultSet.findColumn(String)



first
public boolean first() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.first



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

See Also:   java.sql.ResultSet.getBigDecimal(int)



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

See Also:   java.sql.ResultSet.getBigDecimal(String)



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

See Also:   java.sql.ResultSet.getBoolean(int)



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

See Also:   java.sql.ResultSet.getBoolean(String)



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

See Also:   java.sql.ResultSet.getByte(int)



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

See Also:   java.sql.ResultSet.getByte(String)



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

See Also:   java.sql.ResultSet.getDate(intjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getDate(int)



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

See Also:   java.sql.ResultSet.getDate(Stringjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getDate(String)



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

See Also:   java.sql.ResultSet.getDouble(int)



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

See Also:   java.sql.ResultSet.getDouble(String)



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

See Also:   java.sql.ResultSet.getFloat(int)



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

See Also:   java.sql.ResultSet.getFloat(String)



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

See Also:   java.sql.ResultSet.getInt(int)



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

See Also:   java.sql.ResultSet.getInt(String)



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

See Also:   java.sql.ResultSet.getLong(int)



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

See Also:   java.sql.ResultSet.getLong(String)



getMetaData
public SqlRowSetMetaData getMetaData()(Code)

See Also:   java.sql.ResultSetMetaData.getCatalogName(int)



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

See Also:   java.sql.ResultSet.getObject(intjava.util.Map)



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

See Also:   java.sql.ResultSet.getObject(int)



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

See Also:   java.sql.ResultSet.getObject(Stringjava.util.Map)



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

See Also:   java.sql.ResultSet.getObject(String)



getResultSet
public ResultSet getResultSet()(Code)
Return the underlying ResultSet (usually a javax.sql.rowset.CachedRowSet).
See Also:   javax.sql.rowset.CachedRowSet



getRow
public int getRow() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.getRow



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

See Also:   java.sql.ResultSet.getShort(int)



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

See Also:   java.sql.ResultSet.getShort(String)



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

See Also:   java.sql.ResultSet.getString(int)



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

See Also:   java.sql.ResultSet.getString(String)



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

See Also:   java.sql.ResultSet.getTime(intjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getTime(int)



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

See Also:   java.sql.ResultSet.getTime(Stringjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getTime(String)



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

See Also:   java.sql.ResultSet.getTimestamp(intjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getTimestamp(int)



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

See Also:   java.sql.ResultSet.getTimestamp(Stringjava.util.Calendar)



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

See Also:   java.sql.ResultSet.getTimestamp(String)



isAfterLast
public boolean isAfterLast() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.isAfterLast



isBeforeFirst
public boolean isBeforeFirst() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.isBeforeFirst



isFirst
public boolean isFirst() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.isFirst



isLast
public boolean isLast() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.isLast



last
public boolean last() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.last



next
public boolean next() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.next



previous
public boolean previous() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.previous



relative
public boolean relative(int rows) throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.relative(int)



wasNull
public boolean wasNull() throws InvalidResultSetAccessException(Code)

See Also:   java.sql.ResultSet.wasNull



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.