/* */ package org.jboss.resource.adapter.jdbc.jdk6;
/* */
/* */ import java.io.InputStream;
/* */ import java.io.Reader;
/* */ import java.sql.NClob;
/* */ import java.sql.ResultSet;
/* */ import java.sql.RowId;
/* */ import java.sql.SQLException;
/* */ import java.sql.SQLXML;
/* */ import org.jboss.resource.adapter.jdbc.WrappedResultSet;
/* */ import org.jboss.resource.adapter.jdbc.WrappedStatement;
/* */
/* */ public class WrappedResultSetJDK6 extends WrappedResultSet
/* */ {
/* */ public WrappedResultSetJDK6(WrappedStatement statement, ResultSet resultSet)
/* */ {
/* 45 */ super(statement, resultSet);
/* */ }
/* */
/* */ public int getHoldability() throws SQLException
/* */ {
/* 50 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 53 */ return resultSet.getHoldability();
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 57 */ throw checkException(t);
/* */ }
/* */
/* */ public Reader getNCharacterStream(int columnIndex)
/* */ throws SQLException
/* */ {
/* 63 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 66 */ return resultSet.getNCharacterStream(columnIndex);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 70 */ throw checkException(t);
/* */ }
/* */
/* */ public Reader getNCharacterStream(String columnLabel)
/* */ throws SQLException
/* */ {
/* 76 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 79 */ return resultSet.getNCharacterStream(columnLabel);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 83 */ throw checkException(t);
/* */ }
/* */
/* */ public NClob getNClob(int columnIndex)
/* */ throws SQLException
/* */ {
/* 89 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 92 */ return resultSet.getNClob(columnIndex);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 96 */ throw checkException(t);
/* */ }
/* */
/* */ public NClob getNClob(String columnLabel)
/* */ throws SQLException
/* */ {
/* 102 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 105 */ return resultSet.getNClob(columnLabel);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 109 */ throw checkException(t);
/* */ }
/* */
/* */ public String getNString(int columnIndex)
/* */ throws SQLException
/* */ {
/* 115 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 118 */ return resultSet.getNString(columnIndex);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 122 */ throw checkException(t);
/* */ }
/* */
/* */ public String getNString(String columnLabel)
/* */ throws SQLException
/* */ {
/* 128 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 131 */ return resultSet.getNString(columnLabel);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 135 */ throw checkException(t);
/* */ }
/* */
/* */ public RowId getRowId(int columnIndex)
/* */ throws SQLException
/* */ {
/* 141 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 144 */ return resultSet.getRowId(columnIndex);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 148 */ throw checkException(t);
/* */ }
/* */
/* */ public RowId getRowId(String columnLabel)
/* */ throws SQLException
/* */ {
/* 154 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 157 */ return resultSet.getRowId(columnLabel);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 161 */ throw checkException(t);
/* */ }
/* */
/* */ public SQLXML getSQLXML(int columnIndex)
/* */ throws SQLException
/* */ {
/* 167 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 170 */ return resultSet.getSQLXML(columnIndex);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 174 */ throw checkException(t);
/* */ }
/* */
/* */ public SQLXML getSQLXML(String columnLabel)
/* */ throws SQLException
/* */ {
/* 180 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 183 */ return resultSet.getSQLXML(columnLabel);
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 187 */ throw checkException(t);
/* */ }
/* */
/* */ public boolean isClosed()
/* */ throws SQLException
/* */ {
/* 193 */ ResultSet resultSet = getWrappedObject();
/* 194 */ if (resultSet == null)
/* 195 */ return true;
/* */ try
/* */ {
/* 198 */ return resultSet.isClosed();
/* */ }
/* */ catch (Throwable t) {
/* */ }
/* 202 */ throw checkException(t);
/* */ }
/* */
/* */ public void updateAsciiStream(int columnIndex, InputStream x, long length)
/* */ throws SQLException
/* */ {
/* 208 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 211 */ resultSet.updateAsciiStream(columnIndex, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 215 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException
/* */ {
/* 221 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 224 */ resultSet.updateAsciiStream(columnIndex, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 228 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateAsciiStream(String columnLabel, InputStream x, long length) throws SQLException
/* */ {
/* 234 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 237 */ resultSet.updateAsciiStream(columnLabel, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 241 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateAsciiStream(String columnLabel, InputStream x) throws SQLException
/* */ {
/* 247 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 250 */ resultSet.updateAsciiStream(columnLabel, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 254 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException
/* */ {
/* 260 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 263 */ resultSet.updateBinaryStream(columnIndex, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 267 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException
/* */ {
/* 273 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 276 */ resultSet.updateBinaryStream(columnIndex, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 280 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBinaryStream(String columnLabel, InputStream x, long length) throws SQLException
/* */ {
/* 286 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 289 */ resultSet.updateBinaryStream(columnLabel, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 293 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBinaryStream(String columnLabel, InputStream x) throws SQLException
/* */ {
/* 299 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 302 */ resultSet.updateBinaryStream(columnLabel, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 306 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException
/* */ {
/* 312 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 315 */ resultSet.updateBlob(columnIndex, inputStream, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 319 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException
/* */ {
/* 325 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 328 */ resultSet.updateBlob(columnIndex, inputStream);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 332 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
/* */ {
/* 338 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 341 */ resultSet.updateBlob(columnLabel, inputStream, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 345 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
/* */ {
/* 351 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 354 */ resultSet.updateBlob(columnLabel, inputStream);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 358 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException
/* */ {
/* 364 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 367 */ resultSet.updateCharacterStream(columnIndex, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 371 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateCharacterStream(int columnIndex, Reader x) throws SQLException
/* */ {
/* 377 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 380 */ resultSet.updateCharacterStream(columnIndex, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 384 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
/* */ {
/* 390 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 393 */ resultSet.updateCharacterStream(columnLabel, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 397 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
/* */ {
/* 403 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 406 */ resultSet.updateCharacterStream(columnLabel, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 410 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateClob(int columnIndex, Reader reader, long length) throws SQLException
/* */ {
/* 416 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 419 */ resultSet.updateClob(columnIndex, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 423 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateClob(int columnIndex, Reader reader) throws SQLException
/* */ {
/* 429 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 432 */ resultSet.updateClob(columnIndex, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 436 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
/* */ {
/* 442 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 445 */ resultSet.updateClob(columnLabel, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 449 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateClob(String columnLabel, Reader reader) throws SQLException
/* */ {
/* 455 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 458 */ resultSet.updateClob(columnLabel, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 462 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException
/* */ {
/* 468 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 471 */ resultSet.updateNCharacterStream(columnIndex, x, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 475 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException
/* */ {
/* 481 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 484 */ resultSet.updateNCharacterStream(columnIndex, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 488 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
/* */ {
/* 494 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 497 */ resultSet.updateNCharacterStream(columnLabel, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 501 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
/* */ {
/* 507 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 510 */ resultSet.updateNCharacterStream(columnLabel, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 514 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(int columnIndex, NClob clob) throws SQLException
/* */ {
/* 520 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 523 */ resultSet.updateNClob(columnIndex, clob);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 527 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
/* */ {
/* 533 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 536 */ resultSet.updateNClob(columnIndex, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 540 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(int columnIndex, Reader reader) throws SQLException
/* */ {
/* 546 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 549 */ resultSet.updateNClob(columnIndex, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 553 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(String columnLabel, NClob clob) throws SQLException
/* */ {
/* 559 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 562 */ resultSet.updateNClob(columnLabel, clob);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 566 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
/* */ {
/* 572 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 575 */ resultSet.updateNClob(columnLabel, reader, length);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 579 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNClob(String columnLabel, Reader reader) throws SQLException
/* */ {
/* 585 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 588 */ resultSet.updateNClob(columnLabel, reader);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 592 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNString(int columnIndex, String string) throws SQLException
/* */ {
/* 598 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 601 */ resultSet.updateNString(columnIndex, string);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 605 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateNString(String columnLabel, String string) throws SQLException
/* */ {
/* 611 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 614 */ resultSet.updateNString(columnLabel, string);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 618 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateRowId(int columnIndex, RowId x) throws SQLException
/* */ {
/* 624 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 627 */ resultSet.updateRowId(columnIndex, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 631 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateRowId(String columnLabel, RowId x) throws SQLException
/* */ {
/* 637 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 640 */ resultSet.updateRowId(columnLabel, x);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 644 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException
/* */ {
/* 650 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 653 */ resultSet.updateSQLXML(columnIndex, xmlObject);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 657 */ throw checkException(t);
/* */ }
/* */ }
/* */
/* */ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
/* */ {
/* 663 */ ResultSet resultSet = getUnderlyingResultSet();
/* */ try
/* */ {
/* 666 */ resultSet.updateSQLXML(columnLabel, xmlObject);
/* */ }
/* */ catch (Throwable t)
/* */ {
/* 670 */ throw checkException(t);
/* */ }
/* */ }
/* */ }
/* Location: /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name: org.jboss.resource.adapter.jdbc.jdk6.WrappedResultSetJDK6
* JD-Core Version: 0.6.0
*/