resultset metadata proxy

This commit is contained in:
kiki
2014-01-14 18:30:26 +08:00
parent 1476e8f75c
commit 91637c4050
9 changed files with 1197 additions and 109 deletions
@@ -185,10 +185,10 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public int findColumn(String columnLabel) throws SQLException {
FilterChainImpl chain = createChain();
int physicalColumn = chain.resultSet_findColumn(this, columnLabel);
int value = chain.resultSet_findColumn(this, columnLabel);
recycleFilterChain(chain);
return getLogicColumn(physicalColumn);
return value;
}
@Override
@@ -202,7 +202,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Array getArray(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Array value = chain.resultSet_getArray(this, getPhysicalColumn(columnIndex));
Array value = chain.resultSet_getArray(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -218,7 +218,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public InputStream getAsciiStream(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
InputStream value = chain.resultSet_getAsciiStream(this, getPhysicalColumn(columnIndex));
InputStream value = chain.resultSet_getAsciiStream(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -234,7 +234,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public BigDecimal getBigDecimal(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
BigDecimal value = chain.resultSet_getBigDecimal(this, getPhysicalColumn(columnIndex));
BigDecimal value = chain.resultSet_getBigDecimal(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -250,7 +250,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException {
FilterChainImpl chain = createChain();
BigDecimal value = chain.resultSet_getBigDecimal(this, getPhysicalColumn(columnIndex), scale);
BigDecimal value = chain.resultSet_getBigDecimal(this, columnIndex, scale);
recycleFilterChain(chain);
return value;
}
@@ -266,7 +266,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public InputStream getBinaryStream(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
InputStream value = chain.resultSet_getBinaryStream(this, getPhysicalColumn(columnIndex));
InputStream value = chain.resultSet_getBinaryStream(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -282,7 +282,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Blob getBlob(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Blob value = chain.resultSet_getBlob(this, getPhysicalColumn(columnIndex));
Blob value = chain.resultSet_getBlob(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -298,7 +298,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public boolean getBoolean(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
boolean value = chain.resultSet_getBoolean(this, getPhysicalColumn(columnIndex));
boolean value = chain.resultSet_getBoolean(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -314,7 +314,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public byte getByte(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
byte value = chain.resultSet_getByte(this, getPhysicalColumn(columnIndex));
byte value = chain.resultSet_getByte(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -330,7 +330,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public byte[] getBytes(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
byte[] value = chain.resultSet_getBytes(this, getPhysicalColumn(columnIndex));
byte[] value = chain.resultSet_getBytes(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -346,7 +346,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Reader getCharacterStream(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Reader value = chain.resultSet_getCharacterStream(this, getPhysicalColumn(columnIndex));
Reader value = chain.resultSet_getCharacterStream(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -362,7 +362,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Clob getClob(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Clob value = chain.resultSet_getClob(this, getPhysicalColumn(columnIndex));
Clob value = chain.resultSet_getClob(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -394,7 +394,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Date getDate(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Date value = chain.resultSet_getDate(this, getPhysicalColumn(columnIndex));
Date value = chain.resultSet_getDate(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -410,7 +410,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Date getDate(int columnIndex, Calendar cal) throws SQLException {
FilterChainImpl chain = createChain();
Date value = chain.resultSet_getDate(this, getPhysicalColumn(columnIndex), cal);
Date value = chain.resultSet_getDate(this, columnIndex, cal);
recycleFilterChain(chain);
return value;
}
@@ -426,7 +426,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public double getDouble(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
double value = chain.resultSet_getDouble(this, getPhysicalColumn(columnIndex));
double value = chain.resultSet_getDouble(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -458,7 +458,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public float getFloat(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
float value = chain.resultSet_getFloat(this, getPhysicalColumn(columnIndex));
float value = chain.resultSet_getFloat(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -482,7 +482,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public int getInt(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
int value = chain.resultSet_getInt(this, getPhysicalColumn(columnIndex));
int value = chain.resultSet_getInt(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -498,7 +498,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public long getLong(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
long value = chain.resultSet_getLong(this, getPhysicalColumn(columnIndex));
long value = chain.resultSet_getLong(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -522,7 +522,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Reader getNCharacterStream(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Reader value = chain.resultSet_getNCharacterStream(this, getPhysicalColumn(columnIndex));
Reader value = chain.resultSet_getNCharacterStream(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -538,7 +538,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public NClob getNClob(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
NClob value = chain.resultSet_getNClob(this, getPhysicalColumn(columnIndex));
NClob value = chain.resultSet_getNClob(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -554,7 +554,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public String getNString(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
String value = chain.resultSet_getNString(this, getPhysicalColumn(columnIndex));
String value = chain.resultSet_getNString(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -570,7 +570,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Object getObject(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Object value = chain.resultSet_getObject(this, getPhysicalColumn(columnIndex));
Object value = chain.resultSet_getObject(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -586,7 +586,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException {
FilterChainImpl chain = createChain();
Object value = chain.resultSet_getObject(this, getPhysicalColumn(columnIndex), map);
Object value = chain.resultSet_getObject(this, columnIndex, map);
recycleFilterChain(chain);
return value;
}
@@ -602,7 +602,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Ref getRef(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Ref value = chain.resultSet_getRef(this, getPhysicalColumn(columnIndex));
Ref value = chain.resultSet_getRef(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -626,7 +626,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public RowId getRowId(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
RowId value = chain.resultSet_getRowId(this, getPhysicalColumn(columnIndex));
RowId value = chain.resultSet_getRowId(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -642,7 +642,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public SQLXML getSQLXML(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
SQLXML value = chain.resultSet_getSQLXML(this, getPhysicalColumn(columnIndex));
SQLXML value = chain.resultSet_getSQLXML(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -658,7 +658,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public short getShort(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
short value = chain.resultSet_getShort(this, getPhysicalColumn(columnIndex));
short value = chain.resultSet_getShort(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -682,7 +682,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public String getString(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
String value = chain.resultSet_getString(this, getPhysicalColumn(columnIndex));
String value = chain.resultSet_getString(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -698,7 +698,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Time getTime(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Time value = chain.resultSet_getTime(this, getPhysicalColumn(columnIndex));
Time value = chain.resultSet_getTime(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -714,7 +714,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Time getTime(int columnIndex, Calendar cal) throws SQLException {
FilterChainImpl chain = createChain();
Time value = chain.resultSet_getTime(this, getPhysicalColumn(columnIndex), cal);
Time value = chain.resultSet_getTime(this, columnIndex, cal);
recycleFilterChain(chain);
return value;
}
@@ -730,7 +730,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Timestamp getTimestamp(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
Timestamp value = chain.resultSet_getTimestamp(this, getPhysicalColumn(columnIndex));
Timestamp value = chain.resultSet_getTimestamp(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -746,7 +746,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException {
FilterChainImpl chain = createChain();
Timestamp value = chain.resultSet_getTimestamp(this, getPhysicalColumn(columnIndex), cal);
Timestamp value = chain.resultSet_getTimestamp(this, columnIndex, cal);
recycleFilterChain(chain);
return value;
}
@@ -770,7 +770,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public URL getURL(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
URL value = chain.resultSet_getURL(this, getPhysicalColumn(columnIndex));
URL value = chain.resultSet_getURL(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -786,7 +786,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public InputStream getUnicodeStream(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
InputStream value = chain.resultSet_getUnicodeStream(this, getPhysicalColumn(columnIndex));
InputStream value = chain.resultSet_getUnicodeStream(this, columnIndex);
recycleFilterChain(chain);
return value;
}
@@ -961,7 +961,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateArray(int columnIndex, Array x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateArray(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateArray(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -975,7 +975,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateAsciiStream(int columnIndex, InputStream x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateAsciiStream(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateAsciiStream(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -989,7 +989,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateAsciiStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateAsciiStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1003,7 +1003,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateAsciiStream(int columnIndex, InputStream x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateAsciiStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateAsciiStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1017,7 +1017,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBigDecimal(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateBigDecimal(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1031,7 +1031,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBinaryStream(int columnIndex, InputStream x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBinaryStream(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateBinaryStream(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1045,7 +1045,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBinaryStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateBinaryStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1059,7 +1059,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBinaryStream(int columnIndex, InputStream x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBinaryStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateBinaryStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1087,7 +1087,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBlob(int columnIndex, InputStream x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBlob(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateBlob(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1101,7 +1101,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBlob(int columnIndex, InputStream x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBlob(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateBlob(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1115,7 +1115,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBoolean(int columnIndex, boolean x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBoolean(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateBoolean(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1129,7 +1129,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateByte(int columnIndex, byte x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateByte(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateByte(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1143,7 +1143,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateBytes(int columnIndex, byte[] x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateBytes(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateBytes(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1157,7 +1157,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateCharacterStream(int columnIndex, Reader x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateCharacterStream(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateCharacterStream(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1171,7 +1171,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateCharacterStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateCharacterStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1185,7 +1185,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateCharacterStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateCharacterStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1199,7 +1199,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateClob(int columnIndex, Clob x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateClob(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateClob(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1213,7 +1213,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateClob(int columnIndex, Reader x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateClob(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateClob(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1227,7 +1227,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateClob(int columnIndex, Reader x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateClob(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateClob(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1241,7 +1241,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateDate(int columnIndex, Date x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateDate(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateDate(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1255,7 +1255,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateDouble(int columnIndex, double x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateDouble(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateDouble(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1269,7 +1269,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateFloat(int columnIndex, float x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateFloat(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateFloat(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1283,7 +1283,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateInt(int columnIndex, int x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateInt(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateInt(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1297,7 +1297,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateLong(int columnIndex, long x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateLong(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateLong(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1311,7 +1311,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateNCharacterStream(int columnIndex, Reader x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateNCharacterStream(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateNCharacterStream(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1325,7 +1325,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateNCharacterStream(this, getPhysicalColumn(columnIndex), x, length);
chain.resultSet_updateNCharacterStream(this, columnIndex, x, length);
recycleFilterChain(chain);
}
@@ -1339,7 +1339,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateNClob(int columnIndex, NClob x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateNClob(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateNClob(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1353,7 +1353,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateNClob(int columnIndex, Reader x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateNClob(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateNClob(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1395,7 +1395,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateNull(int columnIndex) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateNull(this, getPhysicalColumn(columnIndex));
chain.resultSet_updateNull(this, columnIndex);
recycleFilterChain(chain);
}
@@ -1409,7 +1409,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateObject(int columnIndex, Object x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateObject(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateObject(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1423,7 +1423,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateObject(int columnIndex, Object x, int scaleOrLength) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateObject(this, getPhysicalColumn(columnIndex), x, scaleOrLength);
chain.resultSet_updateObject(this, columnIndex, x, scaleOrLength);
recycleFilterChain(chain);
}
@@ -1437,7 +1437,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateRef(int columnIndex, Ref x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateRef(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateRef(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1458,7 +1458,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateRowId(int columnIndex, RowId x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateRowId(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateRowId(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1472,7 +1472,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateSQLXML(int columnIndex, SQLXML x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateSQLXML(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateSQLXML(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1486,7 +1486,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateShort(int columnIndex, short x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateShort(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateShort(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1500,7 +1500,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateString(int columnIndex, String x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateString(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateString(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1514,7 +1514,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateTime(int columnIndex, Time x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateTime(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateTime(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1528,7 +1528,7 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
@Override
public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException {
FilterChainImpl chain = createChain();
chain.resultSet_updateTimestamp(this, getPhysicalColumn(columnIndex), x);
chain.resultSet_updateTimestamp(this, columnIndex, x);
recycleFilterChain(chain);
}
@@ -1625,7 +1625,8 @@ public class ResultSetProxyImpl extends WrapperProxyImpl implements ResultSetPro
return logicColumnMap.get(logicColumn);
}
private int getLogicColumn(int physicalColumn) {
@Override
public int getLogicColumn(int physicalColumn) {
if (physicalColumnMap == null) {
return physicalColumn;
}