0001: /*
0002: * Created on Jun 16, 2004
0003: */
0004: package net.sourceforge.orbroker;
0005:
0006: import java.io.ByteArrayInputStream;
0007: import java.io.CharArrayReader;
0008: import java.io.InputStream;
0009: import java.io.Reader;
0010: import java.math.BigDecimal;
0011: import java.net.URL;
0012: import java.sql.Array;
0013: import java.sql.Blob;
0014: import java.sql.CallableStatement;
0015: import java.sql.Clob;
0016: import java.sql.Date;
0017: import java.sql.Ref;
0018: import java.sql.ResultSet;
0019: import java.sql.ResultSetMetaData;
0020: import java.sql.SQLException;
0021: import java.sql.SQLWarning;
0022: import java.sql.Statement;
0023: import java.sql.Time;
0024: import java.sql.Timestamp;
0025: import java.util.Calendar;
0026: import java.util.Map;
0027:
0028: /**
0029: * @author Nils Kilden-Pedersen
0030: */
0031: final class ResultParameters implements ResultSet {
0032: /**
0033: * @param isOutputParm
0034: * @return array of OUT parameter indexes
0035: */
0036: private static int[] extractOutParmIndexes(
0037: final boolean[] isOutputParm) {
0038: int[] outIndex = new int[isOutputParm.length];
0039: int outCount = 0;
0040: for (int i = 0; i < isOutputParm.length; i++) {
0041: if (isOutputParm[i]) {
0042: outIndex[outCount++] = i + 1;
0043: }
0044: }
0045: int[] compressed = new int[outCount];
0046: if (outCount > 0) {
0047: System.arraycopy(outIndex, 0, compressed, 0, outCount);
0048: }
0049: return compressed;
0050: }
0051:
0052: private final CallableStatement callable;
0053:
0054: private ResultSetMetaData metaData = null;
0055: private boolean next = true;
0056: private final int[] outputParameters;
0057: private final String[] parameterNames;
0058:
0059: ResultParameters(CallableStatement callable,
0060: final boolean[] isOutputParm, final String[] varNames) {
0061:
0062: this .callable = callable;
0063: this .outputParameters = extractOutParmIndexes(isOutputParm);
0064: this .parameterNames = varNames;
0065: }
0066:
0067: int[] getOutputParameters() {
0068: return this .outputParameters;
0069: }
0070:
0071: /**
0072: * @see java.sql.ResultSet#absolute(int)
0073: */
0074: public boolean absolute(int arg0) throws SQLException {
0075: throw new UnsupportedOperationException();
0076: }
0077:
0078: /**
0079: * @see java.sql.ResultSet#afterLast()
0080: */
0081: public void afterLast() throws SQLException {
0082: throw new UnsupportedOperationException();
0083: }
0084:
0085: /**
0086: * @see java.sql.ResultSet#beforeFirst()
0087: */
0088: public void beforeFirst() throws SQLException {
0089: throw new UnsupportedOperationException();
0090: }
0091:
0092: /**
0093: * @see java.sql.ResultSet#cancelRowUpdates()
0094: */
0095: public void cancelRowUpdates() throws SQLException {
0096: throw new UnsupportedOperationException();
0097: }
0098:
0099: /**
0100: * @see java.sql.ResultSet#clearWarnings()
0101: */
0102: public void clearWarnings() throws SQLException {
0103: this .callable.clearWarnings();
0104: }
0105:
0106: /**
0107: * @see java.sql.ResultSet#close()
0108: */
0109: public void close() throws SQLException {
0110: this .callable.close();
0111: }
0112:
0113: /**
0114: * @see java.sql.ResultSet#deleteRow()
0115: */
0116: public void deleteRow() throws SQLException {
0117: throw new UnsupportedOperationException();
0118: }
0119:
0120: /**
0121: * @see java.sql.ResultSet#findColumn(java.lang.String)
0122: */
0123: public int findColumn(String parmName) throws SQLException {
0124: for (int i = 0; i < this .parameterNames.length; i++) {
0125: if (parmName.equalsIgnoreCase(this .parameterNames[i])) {
0126: return i + 1;
0127: }
0128: }
0129: throw new SQLException("Parameter '" + parmName
0130: + "' does not exist.");
0131: }
0132:
0133: /**
0134: * @see java.sql.ResultSet#first()
0135: */
0136: public boolean first() throws SQLException {
0137: throw new UnsupportedOperationException();
0138: }
0139:
0140: /**
0141: * @see java.sql.ResultSet#getArray(int)
0142: */
0143: public Array getArray(int columnIndex) throws SQLException {
0144: return this .callable.getArray(columnIndex);
0145: }
0146:
0147: /**
0148: * @see java.sql.ResultSet#getArray(java.lang.String)
0149: */
0150: public Array getArray(String arg0) throws SQLException {
0151: throw new UnsupportedOperationException();
0152: }
0153:
0154: /**
0155: * @see java.sql.ResultSet#getAsciiStream(int)
0156: */
0157: public InputStream getAsciiStream(int columnIndex)
0158: throws SQLException {
0159: return getBinaryStream(columnIndex);
0160: }
0161:
0162: /**
0163: * @see java.sql.ResultSet#getAsciiStream(java.lang.String)
0164: */
0165: public InputStream getAsciiStream(String arg0) throws SQLException {
0166: throw new UnsupportedOperationException();
0167: }
0168:
0169: /**
0170: * @see java.sql.ResultSet#getBigDecimal(int)
0171: */
0172: public BigDecimal getBigDecimal(int columnIndex)
0173: throws SQLException {
0174: return this .callable.getBigDecimal(columnIndex);
0175: }
0176:
0177: /**
0178: * @see java.sql.ResultSet#getBigDecimal(int, int)
0179: * @deprecated
0180: */
0181: public BigDecimal getBigDecimal(int arg0, int arg1)
0182: throws SQLException {
0183: throw new UnsupportedOperationException();
0184: }
0185:
0186: /**
0187: * @see java.sql.ResultSet#getBigDecimal(java.lang.String)
0188: */
0189: public BigDecimal getBigDecimal(String arg0) throws SQLException {
0190: throw new UnsupportedOperationException();
0191: }
0192:
0193: /**
0194: * @see java.sql.ResultSet#getBigDecimal(java.lang.String, int)
0195: * @deprecated
0196: */
0197: public BigDecimal getBigDecimal(String arg0, int arg1)
0198: throws SQLException {
0199: throw new UnsupportedOperationException();
0200: }
0201:
0202: /**
0203: * @see java.sql.ResultSet#getBinaryStream(int)
0204: */
0205: public InputStream getBinaryStream(int columnIndex)
0206: throws SQLException {
0207: String stream = this .callable.getString(columnIndex);
0208: if (stream == null) {
0209: return null;
0210: }
0211: return new ByteArrayInputStream(stream.getBytes());
0212: }
0213:
0214: /**
0215: * @see java.sql.ResultSet#getBinaryStream(java.lang.String)
0216: */
0217: public InputStream getBinaryStream(String arg0) throws SQLException {
0218: throw new UnsupportedOperationException();
0219: }
0220:
0221: /**
0222: * @see java.sql.ResultSet#getBlob(int)
0223: */
0224: public Blob getBlob(int columnIndex) throws SQLException {
0225: return this .callable.getBlob(columnIndex);
0226: }
0227:
0228: /**
0229: * @see java.sql.ResultSet#getBlob(java.lang.String)
0230: */
0231: public Blob getBlob(String arg0) throws SQLException {
0232: throw new UnsupportedOperationException();
0233: }
0234:
0235: /**
0236: * @see java.sql.ResultSet#getBoolean(int)
0237: */
0238: public boolean getBoolean(int columnIndex) throws SQLException {
0239: return this .callable.getBoolean(columnIndex);
0240: }
0241:
0242: /**
0243: * @see java.sql.ResultSet#getBoolean(java.lang.String)
0244: */
0245: public boolean getBoolean(String arg0) throws SQLException {
0246: throw new UnsupportedOperationException();
0247: }
0248:
0249: /**
0250: * @see java.sql.ResultSet#getByte(int)
0251: */
0252: public byte getByte(int columnIndex) throws SQLException {
0253: return this .callable.getByte(columnIndex);
0254: }
0255:
0256: /**
0257: * @see java.sql.ResultSet#getByte(java.lang.String)
0258: */
0259: public byte getByte(String arg0) throws SQLException {
0260: throw new UnsupportedOperationException();
0261: }
0262:
0263: /**
0264: * @see java.sql.ResultSet#getBytes(int)
0265: */
0266: public byte[] getBytes(int columnIndex) throws SQLException {
0267: return this .callable.getBytes(columnIndex);
0268: }
0269:
0270: /**
0271: * @see java.sql.ResultSet#getBytes(java.lang.String)
0272: */
0273: public byte[] getBytes(String arg0) throws SQLException {
0274: throw new UnsupportedOperationException();
0275: }
0276:
0277: /**
0278: * @see java.sql.ResultSet#getCharacterStream(int)
0279: */
0280: public Reader getCharacterStream(int columnIndex)
0281: throws SQLException {
0282: String chars = this .callable.getString(columnIndex);
0283: if (chars == null) {
0284: return null;
0285: }
0286: return new CharArrayReader(chars.toCharArray());
0287: }
0288:
0289: /**
0290: * @see java.sql.ResultSet#getCharacterStream(java.lang.String)
0291: */
0292: public Reader getCharacterStream(String arg0) throws SQLException {
0293: throw new UnsupportedOperationException();
0294: }
0295:
0296: /**
0297: * @see java.sql.ResultSet#getClob(int)
0298: */
0299: public Clob getClob(int columnIndex) throws SQLException {
0300: return this .callable.getClob(columnIndex);
0301: }
0302:
0303: /**
0304: * @see java.sql.ResultSet#getClob(java.lang.String)
0305: */
0306: public Clob getClob(String arg0) throws SQLException {
0307: throw new UnsupportedOperationException();
0308: }
0309:
0310: /**
0311: * @see java.sql.ResultSet#getConcurrency()
0312: */
0313: public int getConcurrency() throws SQLException {
0314: throw new UnsupportedOperationException();
0315: }
0316:
0317: /**
0318: * @see java.sql.ResultSet#getCursorName()
0319: */
0320: public String getCursorName() throws SQLException {
0321: throw new UnsupportedOperationException();
0322: }
0323:
0324: /**
0325: * @see java.sql.ResultSet#getDate(int)
0326: */
0327: public Date getDate(int columnIndex) throws SQLException {
0328: return this .callable.getDate(columnIndex);
0329: }
0330:
0331: /**
0332: * @see java.sql.ResultSet#getDate(int, java.util.Calendar)
0333: */
0334: public Date getDate(int columnIndex, Calendar timezone)
0335: throws SQLException {
0336: return this .callable.getDate(columnIndex, timezone);
0337: }
0338:
0339: /**
0340: * @see java.sql.ResultSet#getDate(java.lang.String)
0341: */
0342: public Date getDate(String arg0) throws SQLException {
0343: throw new UnsupportedOperationException();
0344: }
0345:
0346: /**
0347: * @see java.sql.ResultSet#getDate(java.lang.String, java.util.Calendar)
0348: */
0349: public Date getDate(String arg0, Calendar arg1) throws SQLException {
0350: throw new UnsupportedOperationException();
0351: }
0352:
0353: /**
0354: * @see java.sql.ResultSet#getDouble(int)
0355: */
0356: public double getDouble(int columnIndex) throws SQLException {
0357: return this .callable.getDouble(columnIndex);
0358: }
0359:
0360: /**
0361: * @see java.sql.ResultSet#getDouble(java.lang.String)
0362: */
0363: public double getDouble(String arg0) throws SQLException {
0364: throw new UnsupportedOperationException();
0365: }
0366:
0367: /**
0368: * @see java.sql.ResultSet#getFetchDirection()
0369: */
0370: public int getFetchDirection() throws SQLException {
0371: throw new UnsupportedOperationException();
0372: }
0373:
0374: /**
0375: * @see java.sql.ResultSet#getFetchSize()
0376: */
0377: public int getFetchSize() throws SQLException {
0378: return 1;
0379: }
0380:
0381: /**
0382: * @see java.sql.ResultSet#getFloat(int)
0383: */
0384: public float getFloat(int columnIndex) throws SQLException {
0385: return this .callable.getFloat(columnIndex);
0386: }
0387:
0388: /**
0389: * @see java.sql.ResultSet#getFloat(java.lang.String)
0390: */
0391: public float getFloat(String arg0) throws SQLException {
0392: throw new UnsupportedOperationException();
0393: }
0394:
0395: /**
0396: * @see java.sql.ResultSet#getInt(int)
0397: */
0398: public int getInt(int columnIndex) throws SQLException {
0399: return this .callable.getInt(columnIndex);
0400: }
0401:
0402: /**
0403: * @see java.sql.ResultSet#getInt(java.lang.String)
0404: */
0405: public int getInt(String arg0) throws SQLException {
0406: throw new UnsupportedOperationException();
0407: }
0408:
0409: /**
0410: * @see java.sql.ResultSet#getLong(int)
0411: */
0412: public long getLong(int columnIndex) throws SQLException {
0413: return this .callable.getLong(columnIndex);
0414: }
0415:
0416: /**
0417: * @see java.sql.ResultSet#getLong(java.lang.String)
0418: */
0419: public long getLong(String arg0) throws SQLException {
0420: throw new UnsupportedOperationException();
0421: }
0422:
0423: /**
0424: * @see java.sql.ResultSet#getMetaData()
0425: */
0426: public ResultSetMetaData getMetaData() throws SQLException {
0427: if (this .metaData == null) {
0428: this .metaData = new ResultParameterMetaData(this .callable
0429: .getParameterMetaData(), this .parameterNames);
0430: }
0431: return this .metaData;
0432: }
0433:
0434: /**
0435: * @see java.sql.ResultSet#getObject(int)
0436: */
0437: public Object getObject(int columnIndex) throws SQLException {
0438: return this .callable.getObject(columnIndex);
0439: }
0440:
0441: /**
0442: * @see java.sql.ResultSet#getObject(int, java.util.Map)
0443: */
0444: public Object getObject(int arg0, Map arg1) throws SQLException {
0445: throw new UnsupportedOperationException();
0446: }
0447:
0448: /**
0449: * @see java.sql.ResultSet#getObject(java.lang.String)
0450: */
0451: public Object getObject(String arg0) throws SQLException {
0452: throw new UnsupportedOperationException();
0453: }
0454:
0455: /**
0456: * @see java.sql.ResultSet#getObject(java.lang.String, java.util.Map)
0457: */
0458: public Object getObject(String arg0, Map arg1) throws SQLException {
0459: throw new UnsupportedOperationException();
0460: }
0461:
0462: /**
0463: * @see java.sql.ResultSet#getRef(int)
0464: */
0465: public Ref getRef(int columnIndex) throws SQLException {
0466: return this .callable.getRef(columnIndex);
0467: }
0468:
0469: /**
0470: * @see java.sql.ResultSet#getRef(java.lang.String)
0471: */
0472: public Ref getRef(String arg0) throws SQLException {
0473: throw new UnsupportedOperationException();
0474: }
0475:
0476: /**
0477: * @see java.sql.ResultSet#getRow()
0478: */
0479: public int getRow() throws SQLException {
0480: throw new UnsupportedOperationException();
0481: }
0482:
0483: /**
0484: * @see java.sql.ResultSet#getShort(int)
0485: */
0486: public short getShort(int columnIndex) throws SQLException {
0487: return this .callable.getShort(columnIndex);
0488: }
0489:
0490: /**
0491: * @see java.sql.ResultSet#getShort(java.lang.String)
0492: */
0493: public short getShort(String arg0) throws SQLException {
0494: throw new UnsupportedOperationException();
0495: }
0496:
0497: /**
0498: * @see java.sql.ResultSet#getStatement()
0499: */
0500: public Statement getStatement() throws SQLException {
0501: return null;
0502: }
0503:
0504: /**
0505: * @see java.sql.ResultSet#getString(int)
0506: */
0507: public String getString(int columnIndex) throws SQLException {
0508: return this .callable.getString(columnIndex);
0509: }
0510:
0511: /**
0512: * @see java.sql.ResultSet#getString(java.lang.String)
0513: */
0514: public String getString(String arg0) throws SQLException {
0515: throw new UnsupportedOperationException();
0516: }
0517:
0518: /**
0519: * @see java.sql.ResultSet#getTime(int)
0520: */
0521: public Time getTime(int columnIndex) throws SQLException {
0522: return this .callable.getTime(columnIndex);
0523: }
0524:
0525: /**
0526: * @see java.sql.ResultSet#getTime(int, java.util.Calendar)
0527: */
0528: public Time getTime(int columnIndex, Calendar timezone)
0529: throws SQLException {
0530: return this .callable.getTime(columnIndex, timezone);
0531: }
0532:
0533: /**
0534: * @see java.sql.ResultSet#getTime(java.lang.String)
0535: */
0536: public Time getTime(String arg0) throws SQLException {
0537: throw new UnsupportedOperationException();
0538: }
0539:
0540: /**
0541: * @see java.sql.ResultSet#getTime(java.lang.String, java.util.Calendar)
0542: */
0543: public Time getTime(String arg0, Calendar arg1) throws SQLException {
0544: throw new UnsupportedOperationException();
0545: }
0546:
0547: /**
0548: * @see java.sql.ResultSet#getTimestamp(int)
0549: */
0550: public Timestamp getTimestamp(int columnIndex) throws SQLException {
0551: return this .callable.getTimestamp(columnIndex);
0552: }
0553:
0554: /**
0555: * @see java.sql.ResultSet#getTimestamp(int, java.util.Calendar)
0556: */
0557: public Timestamp getTimestamp(int columnIndex, Calendar timezone)
0558: throws SQLException {
0559:
0560: return this .callable.getTimestamp(columnIndex, timezone);
0561: }
0562:
0563: /**
0564: * @see java.sql.ResultSet#getTimestamp(java.lang.String)
0565: */
0566: public Timestamp getTimestamp(String arg0) throws SQLException {
0567: throw new UnsupportedOperationException();
0568: }
0569:
0570: /**
0571: * @see java.sql.ResultSet#getTimestamp(java.lang.String, java.util.Calendar)
0572: */
0573: public Timestamp getTimestamp(String arg0, Calendar arg1)
0574: throws SQLException {
0575: throw new UnsupportedOperationException();
0576: }
0577:
0578: /**
0579: * @see java.sql.ResultSet#getType()
0580: */
0581: public int getType() throws SQLException {
0582: throw new UnsupportedOperationException();
0583: }
0584:
0585: /**
0586: * @see java.sql.ResultSet#getUnicodeStream(int)
0587: * @deprecated
0588: */
0589: public InputStream getUnicodeStream(int columnIndex)
0590: throws SQLException {
0591: return getBinaryStream(columnIndex);
0592: }
0593:
0594: /**
0595: * @see java.sql.ResultSet#getUnicodeStream(java.lang.String)
0596: * @deprecated
0597: */
0598: public InputStream getUnicodeStream(String arg0)
0599: throws SQLException {
0600: throw new UnsupportedOperationException();
0601: }
0602:
0603: /**
0604: * @see java.sql.ResultSet#getURL(int)
0605: */
0606: public URL getURL(int columnIndex) throws SQLException {
0607: return this .callable.getURL(columnIndex);
0608: }
0609:
0610: /**
0611: * @see java.sql.ResultSet#getURL(java.lang.String)
0612: */
0613: public URL getURL(String arg0) throws SQLException {
0614: throw new UnsupportedOperationException();
0615: }
0616:
0617: /**
0618: * @see java.sql.ResultSet#getWarnings()
0619: */
0620: public SQLWarning getWarnings() throws SQLException {
0621: return this .callable.getWarnings();
0622: }
0623:
0624: /**
0625: * @see java.sql.ResultSet#insertRow()
0626: */
0627: public void insertRow() throws SQLException {
0628: throw new UnsupportedOperationException();
0629: }
0630:
0631: /**
0632: * @see java.sql.ResultSet#isAfterLast()
0633: */
0634: public boolean isAfterLast() throws SQLException {
0635: throw new UnsupportedOperationException();
0636: }
0637:
0638: /**
0639: * @see java.sql.ResultSet#isBeforeFirst()
0640: */
0641: public boolean isBeforeFirst() throws SQLException {
0642: throw new UnsupportedOperationException();
0643: }
0644:
0645: /**
0646: * @see java.sql.ResultSet#isFirst()
0647: */
0648: public boolean isFirst() throws SQLException {
0649: throw new UnsupportedOperationException();
0650: }
0651:
0652: /**
0653: * @see java.sql.ResultSet#isLast()
0654: */
0655: public boolean isLast() throws SQLException {
0656: throw new UnsupportedOperationException();
0657: }
0658:
0659: /**
0660: * @see java.sql.ResultSet#last()
0661: */
0662: public boolean last() throws SQLException {
0663: throw new UnsupportedOperationException();
0664: }
0665:
0666: /**
0667: * @see java.sql.ResultSet#moveToCurrentRow()
0668: */
0669: public void moveToCurrentRow() throws SQLException {
0670: throw new UnsupportedOperationException();
0671: }
0672:
0673: /**
0674: * @see java.sql.ResultSet#moveToInsertRow()
0675: */
0676: public void moveToInsertRow() throws SQLException {
0677: throw new UnsupportedOperationException();
0678: }
0679:
0680: /**
0681: * @see java.sql.ResultSet#next()
0682: */
0683: public boolean next() throws SQLException {
0684: try {
0685: return this .next;
0686: } finally {
0687: this .next = false;
0688: }
0689: }
0690:
0691: /**
0692: * @see java.sql.ResultSet#previous()
0693: */
0694: public boolean previous() throws SQLException {
0695: throw new UnsupportedOperationException();
0696: }
0697:
0698: /**
0699: * @see java.sql.ResultSet#refreshRow()
0700: */
0701: public void refreshRow() throws SQLException {
0702: throw new UnsupportedOperationException();
0703: }
0704:
0705: /**
0706: * @see java.sql.ResultSet#relative(int)
0707: */
0708: public boolean relative(int arg0) throws SQLException {
0709: throw new UnsupportedOperationException();
0710: }
0711:
0712: /**
0713: * @see java.sql.ResultSet#rowDeleted()
0714: */
0715: public boolean rowDeleted() throws SQLException {
0716: throw new UnsupportedOperationException();
0717: }
0718:
0719: /**
0720: * @see java.sql.ResultSet#rowInserted()
0721: */
0722: public boolean rowInserted() throws SQLException {
0723: throw new UnsupportedOperationException();
0724: }
0725:
0726: /**
0727: * @see java.sql.ResultSet#rowUpdated()
0728: */
0729: public boolean rowUpdated() throws SQLException {
0730: throw new UnsupportedOperationException();
0731: }
0732:
0733: /**
0734: * @see java.sql.ResultSet#setFetchDirection(int)
0735: */
0736: public void setFetchDirection(int arg0) throws SQLException {
0737: throw new UnsupportedOperationException();
0738: }
0739:
0740: /**
0741: * @see java.sql.ResultSet#setFetchSize(int)
0742: */
0743: public void setFetchSize(int fetchSize) throws SQLException {
0744: // Ignore hint
0745: return;
0746: }
0747:
0748: /**
0749: * @see java.sql.ResultSet#updateArray(int, java.sql.Array)
0750: */
0751: public void updateArray(int arg0, Array arg1) throws SQLException {
0752: throw new UnsupportedOperationException();
0753: }
0754:
0755: /**
0756: * @see java.sql.ResultSet#updateArray(java.lang.String, java.sql.Array)
0757: */
0758: public void updateArray(String arg0, Array arg1)
0759: throws SQLException {
0760: throw new UnsupportedOperationException();
0761: }
0762:
0763: /**
0764: * @see java.sql.ResultSet#updateAsciiStream(int, java.io.InputStream, int)
0765: */
0766: public void updateAsciiStream(int arg0, InputStream arg1, int arg2)
0767: throws SQLException {
0768: throw new UnsupportedOperationException();
0769: }
0770:
0771: /**
0772: * @see java.sql.ResultSet#updateAsciiStream(java.lang.String, java.io.InputStream, int)
0773: */
0774: public void updateAsciiStream(String arg0, InputStream arg1,
0775: int arg2) throws SQLException {
0776: throw new UnsupportedOperationException();
0777: }
0778:
0779: /**
0780: * @see java.sql.ResultSet#updateBigDecimal(int, java.math.BigDecimal)
0781: */
0782: public void updateBigDecimal(int arg0, BigDecimal arg1)
0783: throws SQLException {
0784: throw new UnsupportedOperationException();
0785: }
0786:
0787: /**
0788: * @see java.sql.ResultSet#updateBigDecimal(java.lang.String, java.math.BigDecimal)
0789: */
0790: public void updateBigDecimal(String arg0, BigDecimal arg1)
0791: throws SQLException {
0792: throw new UnsupportedOperationException();
0793: }
0794:
0795: /**
0796: * @see java.sql.ResultSet#updateBinaryStream(int, java.io.InputStream, int)
0797: */
0798: public void updateBinaryStream(int arg0, InputStream arg1, int arg2)
0799: throws SQLException {
0800: throw new UnsupportedOperationException();
0801: }
0802:
0803: /**
0804: * @see java.sql.ResultSet#updateBinaryStream(java.lang.String, java.io.InputStream, int)
0805: */
0806: public void updateBinaryStream(String arg0, InputStream arg1,
0807: int arg2) throws SQLException {
0808: throw new UnsupportedOperationException();
0809: }
0810:
0811: /**
0812: * @see java.sql.ResultSet#updateBlob(int, java.sql.Blob)
0813: */
0814: public void updateBlob(int arg0, Blob arg1) throws SQLException {
0815: throw new UnsupportedOperationException();
0816: }
0817:
0818: /**
0819: * @see java.sql.ResultSet#updateBlob(java.lang.String, java.sql.Blob)
0820: */
0821: public void updateBlob(String arg0, Blob arg1) throws SQLException {
0822: throw new UnsupportedOperationException();
0823: }
0824:
0825: /**
0826: * @see java.sql.ResultSet#updateBoolean(int, boolean)
0827: */
0828: public void updateBoolean(int arg0, boolean arg1)
0829: throws SQLException {
0830: throw new UnsupportedOperationException();
0831: }
0832:
0833: /**
0834: * @see java.sql.ResultSet#updateBoolean(java.lang.String, boolean)
0835: */
0836: public void updateBoolean(String arg0, boolean arg1)
0837: throws SQLException {
0838: throw new UnsupportedOperationException();
0839: }
0840:
0841: /**
0842: * @see java.sql.ResultSet#updateByte(int, byte)
0843: */
0844: public void updateByte(int arg0, byte arg1) throws SQLException {
0845: throw new UnsupportedOperationException();
0846: }
0847:
0848: /**
0849: * @see java.sql.ResultSet#updateByte(java.lang.String, byte)
0850: */
0851: public void updateByte(String arg0, byte arg1) throws SQLException {
0852: throw new UnsupportedOperationException();
0853: }
0854:
0855: /**
0856: * @see java.sql.ResultSet#updateBytes(int, byte[])
0857: */
0858: public void updateBytes(int arg0, byte[] arg1) throws SQLException {
0859: throw new UnsupportedOperationException();
0860: }
0861:
0862: /**
0863: * @see java.sql.ResultSet#updateBytes(java.lang.String, byte[])
0864: */
0865: public void updateBytes(String arg0, byte[] arg1)
0866: throws SQLException {
0867: throw new UnsupportedOperationException();
0868: }
0869:
0870: /**
0871: * @see java.sql.ResultSet#updateCharacterStream(int, java.io.Reader, int)
0872: */
0873: public void updateCharacterStream(int arg0, Reader arg1, int arg2)
0874: throws SQLException {
0875: throw new UnsupportedOperationException();
0876: }
0877:
0878: /**
0879: * @see java.sql.ResultSet#updateCharacterStream(java.lang.String, java.io.Reader, int)
0880: */
0881: public void updateCharacterStream(String arg0, Reader arg1, int arg2)
0882: throws SQLException {
0883: throw new UnsupportedOperationException();
0884: }
0885:
0886: /**
0887: * @see java.sql.ResultSet#updateClob(int, java.sql.Clob)
0888: */
0889: public void updateClob(int arg0, Clob arg1) throws SQLException {
0890: throw new UnsupportedOperationException();
0891: }
0892:
0893: /**
0894: * @see java.sql.ResultSet#updateClob(java.lang.String, java.sql.Clob)
0895: */
0896: public void updateClob(String arg0, Clob arg1) throws SQLException {
0897: throw new UnsupportedOperationException();
0898: }
0899:
0900: /**
0901: * @see java.sql.ResultSet#updateDate(int, java.sql.Date)
0902: */
0903: public void updateDate(int arg0, Date arg1) throws SQLException {
0904: throw new UnsupportedOperationException();
0905: }
0906:
0907: /**
0908: * @see java.sql.ResultSet#updateDate(java.lang.String, java.sql.Date)
0909: */
0910: public void updateDate(String arg0, Date arg1) throws SQLException {
0911: throw new UnsupportedOperationException();
0912: }
0913:
0914: /**
0915: * @see java.sql.ResultSet#updateDouble(int, double)
0916: */
0917: public void updateDouble(int arg0, double arg1) throws SQLException {
0918: throw new UnsupportedOperationException();
0919: }
0920:
0921: /**
0922: * @see java.sql.ResultSet#updateDouble(java.lang.String, double)
0923: */
0924: public void updateDouble(String arg0, double arg1)
0925: throws SQLException {
0926: throw new UnsupportedOperationException();
0927: }
0928:
0929: /**
0930: * @see java.sql.ResultSet#updateFloat(int, float)
0931: */
0932: public void updateFloat(int arg0, float arg1) throws SQLException {
0933: throw new UnsupportedOperationException();
0934: }
0935:
0936: /**
0937: * @see java.sql.ResultSet#updateFloat(java.lang.String, float)
0938: */
0939: public void updateFloat(String arg0, float arg1)
0940: throws SQLException {
0941: throw new UnsupportedOperationException();
0942: }
0943:
0944: /**
0945: * @see java.sql.ResultSet#updateInt(int, int)
0946: */
0947: public void updateInt(int arg0, int arg1) throws SQLException {
0948: throw new UnsupportedOperationException();
0949: }
0950:
0951: /**
0952: * @see java.sql.ResultSet#updateInt(java.lang.String, int)
0953: */
0954: public void updateInt(String arg0, int arg1) throws SQLException {
0955: throw new UnsupportedOperationException();
0956: }
0957:
0958: /**
0959: * @see java.sql.ResultSet#updateLong(int, long)
0960: */
0961: public void updateLong(int arg0, long arg1) throws SQLException {
0962: throw new UnsupportedOperationException();
0963: }
0964:
0965: /**
0966: * @see java.sql.ResultSet#updateLong(java.lang.String, long)
0967: */
0968: public void updateLong(String arg0, long arg1) throws SQLException {
0969: throw new UnsupportedOperationException();
0970: }
0971:
0972: /**
0973: * @see java.sql.ResultSet#updateNull(int)
0974: */
0975: public void updateNull(int arg0) throws SQLException {
0976: throw new UnsupportedOperationException();
0977: }
0978:
0979: /**
0980: * @see java.sql.ResultSet#updateNull(java.lang.String)
0981: */
0982: public void updateNull(String arg0) throws SQLException {
0983: throw new UnsupportedOperationException();
0984: }
0985:
0986: /**
0987: * @see java.sql.ResultSet#updateObject(int, java.lang.Object)
0988: */
0989: public void updateObject(int arg0, Object arg1) throws SQLException {
0990: throw new UnsupportedOperationException();
0991: }
0992:
0993: /**
0994: * @see java.sql.ResultSet#updateObject(int, java.lang.Object, int)
0995: */
0996: public void updateObject(int arg0, Object arg1, int arg2)
0997: throws SQLException {
0998: throw new UnsupportedOperationException();
0999: }
1000:
1001: /**
1002: * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object)
1003: */
1004: public void updateObject(String arg0, Object arg1)
1005: throws SQLException {
1006: throw new UnsupportedOperationException();
1007: }
1008:
1009: /**
1010: * @see java.sql.ResultSet#updateObject(java.lang.String, java.lang.Object, int)
1011: */
1012: public void updateObject(String arg0, Object arg1, int arg2)
1013: throws SQLException {
1014: throw new UnsupportedOperationException();
1015: }
1016:
1017: /**
1018: * @see java.sql.ResultSet#updateRef(int, java.sql.Ref)
1019: */
1020: public void updateRef(int arg0, Ref arg1) throws SQLException {
1021: throw new UnsupportedOperationException();
1022: }
1023:
1024: /**
1025: * @see java.sql.ResultSet#updateRef(java.lang.String, java.sql.Ref)
1026: */
1027: public void updateRef(String arg0, Ref arg1) throws SQLException {
1028: throw new UnsupportedOperationException();
1029: }
1030:
1031: /**
1032: * @see java.sql.ResultSet#updateRow()
1033: */
1034: public void updateRow() throws SQLException {
1035: throw new UnsupportedOperationException();
1036: }
1037:
1038: /**
1039: * @see java.sql.ResultSet#updateShort(int, short)
1040: */
1041: public void updateShort(int arg0, short arg1) throws SQLException {
1042: throw new UnsupportedOperationException();
1043: }
1044:
1045: /**
1046: * @see java.sql.ResultSet#updateShort(java.lang.String, short)
1047: */
1048: public void updateShort(String arg0, short arg1)
1049: throws SQLException {
1050: throw new UnsupportedOperationException();
1051: }
1052:
1053: /**
1054: * @see java.sql.ResultSet#updateString(int, java.lang.String)
1055: */
1056: public void updateString(int arg0, String arg1) throws SQLException {
1057: throw new UnsupportedOperationException();
1058: }
1059:
1060: /**
1061: * @see java.sql.ResultSet#updateString(java.lang.String, java.lang.String)
1062: */
1063: public void updateString(String arg0, String arg1)
1064: throws SQLException {
1065: throw new UnsupportedOperationException();
1066: }
1067:
1068: /**
1069: * @see java.sql.ResultSet#updateTime(int, java.sql.Time)
1070: */
1071: public void updateTime(int arg0, Time arg1) throws SQLException {
1072: throw new UnsupportedOperationException();
1073: }
1074:
1075: /**
1076: * @see java.sql.ResultSet#updateTime(java.lang.String, java.sql.Time)
1077: */
1078: public void updateTime(String arg0, Time arg1) throws SQLException {
1079: throw new UnsupportedOperationException();
1080: }
1081:
1082: /**
1083: * @see java.sql.ResultSet#updateTimestamp(int, java.sql.Timestamp)
1084: */
1085: public void updateTimestamp(int arg0, Timestamp arg1)
1086: throws SQLException {
1087: throw new UnsupportedOperationException();
1088: }
1089:
1090: /**
1091: * @see java.sql.ResultSet#updateTimestamp(java.lang.String, java.sql.Timestamp)
1092: */
1093: public void updateTimestamp(String arg0, Timestamp arg1)
1094: throws SQLException {
1095: throw new UnsupportedOperationException();
1096: }
1097:
1098: /**
1099: * @see java.sql.ResultSet#wasNull()
1100: */
1101: public boolean wasNull() throws SQLException {
1102: return this.callable.wasNull();
1103: }
1104:
1105: }
|