CSDN博客

img jljljjl

Sybase JDBC驱动的改进 3

发表于2004/4/23 13:26:00  869人阅读

分类: Practice

_SybStatement.java:
package com.sybase.jdbc2.jdbc;
import java.sql.*; 
import java.util.Map; 

public class _SybStatement extends P_Statement {
 public _SybStatement(Statement outer, Map stupymap) {
  super(outer); 
  this.stupymap = stupymap; 
 }
 
 public ResultSet getGeneratedKeys() throws SQLException {
  String sqlAGK = "SELECT @@identtiy AS AGK"; 
  ResultSet _rsGeneratedKeys = outer.executeQuery(sqlAGK); 
  return _rsGeneratedKeys; 
 }
 
 public ResultSet executeQuery(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  ResultSet rs = super.executeQuery(sql); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 public int executeUpdate(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql); 
 }
 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, autoGeneratedKeys); 
 }
 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnIndexes); 
 }
 public int executeUpdate(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnNames); 
 }
 public boolean execute(String sql) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql); 
 }
 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, autoGeneratedKeys); 
 }
 public boolean execute(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnIndexes); 
 }
 public boolean execute(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnNames); 
 }
 public ResultSet getResultSet() throws SQLException {
  ResultSet rs = super.getResultSet(); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 
 Map stupymap; 
}
_SybPreparedStatement.java
package com.sybase.jdbc2.jdbc;
import java.sql.*;
import java.util.Map; 

public class _SybPreparedStatement extends P_PreparedStatement {
 public _SybPreparedStatement(PreparedStatement outer, Map stupymap)
  throws SQLException 
 {
  super(outer); 
  this.stupymap = stupymap; 
 }
 
 public ResultSet getGeneratedKeys() throws SQLException {
  String sqlAGK = "SELECT @@identtiy AS AGK"; 
  ResultSet _rsGeneratedKeys = outer.executeQuery(sqlAGK); 
  return _rsGeneratedKeys; 
 }
 public ResultSet executeQuery(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  ResultSet rs = super.executeQuery(sql); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 public int executeUpdate(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql); 
 }
 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, autoGeneratedKeys); 
 }
 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnIndexes); 
 }
 public int executeUpdate(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnNames); 
 }
 public boolean execute(String sql) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql); 
 }
 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, autoGeneratedKeys); 
 }
 public boolean execute(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnIndexes); 
 }
 public boolean execute(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnNames); 
 }
 public ResultSet getResultSet() throws SQLException {
  ResultSet rs = super.getResultSet(); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 
 public void setObject(int parameterIndex, Object x) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x); 
 }
 public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x, targetSqlType); 
 }
 public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x, targetSqlType, scale); 
 }
 public void setString(int parameterIndex, String x) throws SQLException {
  x = CachedCharset.convertTo(x, (String)stupymap.get("charset")); 
  super.setString(parameterIndex, x); 
 }
 Map stupymap; 
}
_SybCallableStatement.java
package com.sybase.jdbc2.jdbc;
import java.sql.*; 
import java.util.Map; 

public class _SybCallableStatement extends P_CallableStatement {
 public _SybCallableStatement(CallableStatement outer, Map stupymap)
  throws SQLException 
 {
  super(outer); 
  this.stupymap = stupymap; 
 }
 public ResultSet getGeneratedKeys() throws SQLException {
  String sqlAGK = "SELECT @@identtiy AS AGK"; 
  ResultSet _rsGeneratedKeys = outer.executeQuery(sqlAGK); 
  return _rsGeneratedKeys; 
 }
 public ResultSet executeQuery(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  ResultSet rs = super.executeQuery(sql); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 public int executeUpdate(String sql) throws SQLException {
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql); 
 }
 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, autoGeneratedKeys); 
 }
 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnIndexes); 
 }
 public int executeUpdate(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.executeUpdate(sql, columnNames); 
 }
 public boolean execute(String sql) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql); 
 }
 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, autoGeneratedKeys); 
 }
 public boolean execute(String sql, int[] columnIndexes) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnIndexes); 
 }
 public boolean execute(String sql, String[] columnNames) throws SQLException { 
  sql = CachedCharset.convertTo(sql, (String)stupymap.get("charset")); 
  return super.execute(sql, columnNames); 
 }
 public ResultSet getResultSet() throws SQLException {
  ResultSet rs = super.getResultSet(); 
  if (rs == null) return null; 
  return new _SybResultSet(rs, stupymap); 
 }
 
 public void setObject(int parameterIndex, Object x) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x); 
 }
 public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x, targetSqlType); 
 }
 public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException {
  if (x instanceof String)
   x = CachedCharset.convertTo((String)x, (String)stupymap.get("charset")); 
  super.setObject(parameterIndex, x, targetSqlType, scale); 
 }
 public void setString(int parameterIndex, String x) throws SQLException {
  x = CachedCharset.convertTo(x, (String)stupymap.get("charset")); 
  super.setString(parameterIndex, x); 
 }
 Map stupymap; 
}
_SybResultSet.java
package com.sybase.jdbc2.jdbc;
import java.sql.*; 
import java.util.Map; 

public class _SybResultSet extends P_ResultSet {
 public _SybResultSet(ResultSet outer, Map stupymap) {
  super(outer); 
  this.stupymap = stupymap; 
 }
 public String getString(int columnIndex) throws SQLException {
  String raw = super.getString(columnIndex); 
  return CachedCharset.castFrom(raw, (String)stupymap.get("charset")); 
 }
 
 public String getString(String columnName) throws SQLException {
  String raw = super.getString(columnName); 
  return CachedCharset.castFrom(raw, (String)stupymap.get("charset")); 
 }
 
 public Object getObject(int columnIndex) throws SQLException {
  Object raw = super.getObject(columnIndex); 
  if (raw instanceof String) 
   return CachedCharset.castFrom((String)raw, (String)stupymap.get("charset")); 
  return raw; 
 }
 
 public Object getObject(String columnName) throws SQLException {
  Object raw = super.getObject(columnName); 
  if (raw instanceof String) 
   return CachedCharset.castFrom((String)raw, (String)stupymap.get("charset")); 
  return raw; 
 }
 
 public void updateString(int columnIndex, String str) throws SQLException {
  str = CachedCharset.convertTo(str, (String)stupymap.get("charset")); 
  super.updateString(columnIndex, str); 
 }
 public void updateString(String columnName, String str) throws SQLException {
  str = CachedCharset.convertTo(str, (String)stupymap.get("charset")); 
  super.updateString(columnName, str); 
 }
 public void updateObject(int columnIndex, Object obj) throws SQLException {
  if (obj instanceof String)
   obj = CachedCharset.convertTo((String)obj, (String)stupymap.get("charset")); 
  super.updateObject(columnIndex, obj); 
 }
 public void updateObject(String columnName, Object obj) throws SQLException {
  if (obj instanceof String)
   obj = CachedCharset.convertTo((String)obj, (String)stupymap.get("charset")); 
  super.updateObject(columnName, obj); 
 }
 
 Map stupymap; 
}
_SybConnection.java
package com.sybase.jdbc2.jdbc;
import java.sql.*; 
import java.util.*; 

public class _SybConnection extends P_Connection {
 public _SybConnection(SybConnection conn, String stupy_props)
  throws SQLException
 {
  super(conn); 
  String[] props = stupy_props.split(";"); 
  for (int i = 0; i < props.length; i++)
   stupymap.put(props[i].split("=")[0], props[i].split("=")[1]); 
  
 }
 public Statement createStatement()
  throws SQLException
 {
  return new _SybStatement(super.createStatement(), stupymap);
 }
 public Statement createStatement(int resultSetType, int resultSetConcurrency)
  throws SQLException
 {
  return new _SybStatement(super.createStatement(
    resultSetType, resultSetConcurrency), stupymap);
 }
 public CallableStatement prepareCall(String sql)
  throws SQLException
 {
  return new _SybCallableStatement(super.prepareCall(sql), stupymap);
 }
 public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
  throws SQLException
 {
  return new _SybCallableStatement(super.prepareCall(
    sql, resultSetType, resultSetConcurrency), stupymap); 
 }
 
 
 public PreparedStatement prepareStatement(String sql)
  throws SQLException
 {
  return new _SybPreparedStatement(super.prepareStatement(sql), stupymap); 
 }
 public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
  throws SQLException
 {
  return new _SybPreparedStatement(super.prepareStatement(
    sql, resultSetType, resultSetConcurrency), stupymap); 
 }
 Map stupymap = new HashMap(); 
 String clientcharset = null; 
}
将上述所有文件编译之后,只复制这12相关个.class文件至jconnect.jar中,其中SybDriver覆盖原先的SybDriver。注意不要复制其它的反编译、重新生成的.class,以免产生不必要的麻烦。
至此,jConnect™的驱动改进工作大功告成。

附:5个包装类
P_Connection.java
package com.sybase.jdbc2.jdbc;
import java.sql.*;
import java.util.Map;
public class P_Connection implements Connection {
 public int getHoldability() throws SQLException { return outer.getHoldability(); }
 public int getTransactionIsolation() throws SQLException { return outer.getTransactionIsolation(); }
 public void clearWarnings() throws SQLException { outer.clearWarnings(); }
 public void close() throws SQLException { outer.close(); }
 public void commit() throws SQLException { outer.commit(); }
 public void rollback() throws SQLException { outer.rollback(); }
 public boolean getAutoCommit() throws SQLException { return outer.getAutoCommit(); }
 public boolean isClosed() throws SQLException { return outer.isClosed(); }
 public boolean isReadOnly() throws SQLException { return outer.isReadOnly(); }
 public void setHoldability(int holdability) throws SQLException 
  { outer.setHoldability(holdability); }
 public void setTransactionIsolation(int level) throws SQLException
  { outer.setTransactionIsolation(level); }
 public void setAutoCommit(boolean autoCommit) throws SQLException
  { outer.setAutoCommit(autoCommit); }
 public void setReadOnly(boolean readOnly) throws SQLException
  { outer.setReadOnly(readOnly); }
 public String getCatalog() throws SQLException { return outer.getCatalog(); }
 public void setCatalog(String catalog) throws SQLException { outer.setCatalog(catalog); }
 public DatabaseMetaData getMetaData() throws SQLException { return outer.getMetaData(); }
 public SQLWarning getWarnings() throws SQLException { return outer.getWarnings(); }
 public Savepoint setSavepoint() throws SQLException { return outer.setSavepoint(); }
 public void releaseSavepoint(Savepoint savepoint) throws SQLException
  { outer.releaseSavepoint(savepoint); }
 public void rollback(Savepoint savepoint) throws SQLException
  { outer.rollback(savepoint); }
 public Statement createStatement() throws SQLException { return outer.createStatement(); }
 public Statement createStatement(int resultSetType, int resultSetConcurrency) 
 throws SQLException { return outer.createStatement(resultSetType, resultSetConcurrency); }
 public Statement createStatement(int resultSetType, int resultSetConcurrency, 
 int resultSetHoldability) throws SQLException { return outer.createStatement(resultSetType, resultSetConcurrency, resultSetHoldability); }
 public Map getTypeMap() throws SQLException { return outer.getTypeMap(); }
 public void setTypeMap(Map map) throws SQLException { outer.setTypeMap(map); }
 public String nativeSQL(String sql) throws SQLException { return outer.nativeSQL(sql); }
 public CallableStatement prepareCall(String sql) throws SQLException
  { return outer.prepareCall(sql); }
 public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) 
 throws SQLException { return outer.prepareCall(sql, resultSetType, resultSetConcurrency); }
 public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, 
 int resultSetHoldability) throws SQLException { return outer.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability); }
 public PreparedStatement prepareStatement(String sql) throws SQLException
  { return outer.prepareStatement(sql); }
 public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
  { return outer.prepareStatement(sql, autoGeneratedKeys); }
 public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
 throws SQLException { return outer.prepareStatement(sql, resultSetType, resultSetConcurrency); }
 public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, 
 int resultSetHoldability) throws SQLException { return outer.prepareStatement(sql, resultSetType, resultSetConcurrency, resultSetHoldability); }
 public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
  { return outer.prepareStatement(sql, columnIndexes); }
 public Savepoint setSavepoint(String name) throws SQLException
  { return outer.setSavepoint(name); }
 public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
  { return outer.prepareStatement(sql, columnNames); }
 
 public P_Connection(Connection outer) {
 this.outer = outer; 
 }
 Connection outer; 
}
P_Statement.java
package com.sybase.jdbc2.jdbc;
import java.sql.*;
public class P_Statement implements Statement {
 public int getFetchDirection() throws SQLException { return outer.getFetchDirection(); }
 public int getFetchSize() throws SQLException { return outer.getFetchSize();}
 public int getMaxFieldSize() throws SQLException { return outer.getMaxFieldSize(); }
 public int getMaxRows() throws SQLException { return outer.getMaxRows(); }
 public int getQueryTimeout() throws SQLException { return outer.getQueryTimeout(); }
 public int getResultSetConcurrency() throws SQLException { return outer.getResultSetConcurrency(); }
 public int getResultSetHoldability() throws SQLException { return outer.getResultSetHoldability(); }
 public int getResultSetType() throws SQLException { return outer.getResultSetType(); }
 public int getUpdateCount() throws SQLException { return outer.getUpdateCount(); }
 public void cancel() throws SQLException { outer.cancel(); }
 public void clearBatch() throws SQLException { outer.clearBatch(); }
 public void clearWarnings() throws SQLException { outer.clearWarnings(); }
 public void close() throws SQLException { outer.close(); }
 public boolean getMoreResults() throws SQLException { return outer.getMoreResults(); }
 public int[] executeBatch() throws SQLException { return outer.executeBatch(); }
 public void setFetchDirection(int direction) throws SQLException{ outer.setFetchDirection(direction); }
 public void setFetchSize(int rows) throws SQLException { outer.setFetchSize(rows); }
 public void setMaxFieldSize(int max) throws SQLException { outer.setMaxFieldSize(max); }
 public void setMaxRows(int max) throws SQLException { outer.setMaxRows(max); }
 public void setQueryTimeout(int seconds) throws SQLException { outer.setQueryTimeout(seconds); }
 public boolean getMoreResults(int current) throws SQLException { return outer.getMoreResults(current); }
 public void setEscapeProcessing(boolean enable) throws SQLException
  { outer.setEscapeProcessing(enable); }
 public void addBatch(String sql) throws SQLException { outer.addBatch(sql); }
 public void setCursorName(String name) throws SQLException { outer.setCursorName(name); }
 public Connection getConnection() throws SQLException { return outer.getConnection(); }
 public ResultSet getGeneratedKeys() throws SQLException { return outer.getGeneratedKeys(); }
 public ResultSet getResultSet() throws SQLException { return outer.getResultSet(); }
 public SQLWarning getWarnings() throws SQLException { return outer.getWarnings(); }
 public ResultSet executeQuery(String sql) throws SQLException { return outer.executeQuery(sql); } 
 public int executeUpdate(String sql) throws SQLException { return outer.executeUpdate(sql); }
 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException 
  { return outer.executeUpdate(sql, autoGeneratedKeys); }
 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
  { return outer.executeUpdate(sql, columnIndexes); }
 public int executeUpdate(String sql, String[] columnNames) throws SQLException
  { return outer.executeUpdate(sql, columnNames); }
 public boolean execute(String sql) throws SQLException { return outer.execute(sql); }
 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException 
  { return outer.execute(sql, autoGeneratedKeys); }
 public boolean execute(String sql, int[] columnIndexes) throws SQLException
  { return outer.execute(sql, columnIndexes); }
 public boolean execute(String sql, String[] columnNames) throws SQLException
  { return outer.execute(sql, columnNames); }
 public P_Statement(Statement outer) {
 this.outer = outer; 
 }
 Statement outer; 
}
P_PreparedStatement.java
package com.sybase.jdbc2.jdbc;
import java.io.*;
import java.sql.*;
import java.math.BigDecimal;
import java.net.URL;
import java.util.Calendar;
public class P_PreparedStatement extends P_Statement implements PreparedStatement {
 public int executeUpdate() throws SQLException { return _ps.executeUpdate(); }
 public void addBatch() throws SQLException { _ps.addBatch(); }
 public void clearParameters() throws SQLException { _ps.clearParameters(); }
 public boolean execute() throws SQLException { return _ps.execute(); }
 public void setByte(int parameterIndex, byte x) throws SQLException
  { _ps.setByte(parameterIndex, x); }
 public void setDouble(int parameterIndex, double x) throws SQLException
  { _ps.setDouble(parameterIndex, x); }
 public void setFloat(int parameterIndex, float x) throws SQLException
  { _ps.setFloat(parameterIndex, x); }
 public void setInt(int parameterIndex, int x) throws SQLException
  { _ps.setInt(parameterIndex, x); }
 public void setNull(int parameterIndex, int sqlType) throws SQLException
  { _ps.setNull(parameterIndex, sqlType); }
 public void setLong(int parameterIndex, long x) throws SQLException
  { _ps.setLong(parameterIndex, x); }
 public void setShort(int parameterIndex, short x) throws SQLException
  { _ps.setShort(parameterIndex, x); }
 public void setBoolean(int parameterIndex, boolean x) throws SQLException
  { _ps.setBoolean(parameterIndex, x); }
 public void setBytes(int parameterIndex, byte[] x) throws SQLException
  { _ps.setBytes(parameterIndex, x); }
 public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
  { _ps.setAsciiStream(parameterIndex, x, length); }
 public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
  { _ps.setBinaryStream(parameterIndex, x, length); }
 public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
  { _ps.setCharacterStream(parameterIndex, reader, length); }
 public void setObject(int parameterIndex, Object x) throws SQLException
  { _ps.setObject(parameterIndex, x); }
 public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
  { _ps.setObject(parameterIndex, x, targetSqlType); }
 public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
  { _ps.setObject(parameterIndex, x, targetSqlType, scale); }
 public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
  { _ps.setNull(paramIndex, sqlType, typeName); }
 public void setString(int parameterIndex, String x) throws SQLException
  { _ps.setString(parameterIndex, x); }
 public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException
  { _ps.setBigDecimal(parameterIndex, x); }
 public void setURL(int parameterIndex, URL x) throws SQLException
  { _ps.setURL(parameterIndex, x); }
 public void setArray(int i, Array x) throws SQLException 
  { _ps.setArray(i, x); }
 public void setBlob(int i, Blob x) throws SQLException 
  { _ps.setBlob(i, x); }
 public void setClob(int i, Clob x) throws SQLException 
  { _ps.setClob(i, x); }
 public void setDate(int parameterIndex, Date x) throws SQLException
  { _ps.setDate(parameterIndex, x); }
 public ParameterMetaData getParameterMetaData() throws SQLException
  { return _ps.getParameterMetaData(); }
 public void setRef(int i, Ref x) throws SQLException { _ps.setRef(i, x); }
 public ResultSet executeQuery() throws SQLException { return _ps.executeQuery(); }
 public ResultSetMetaData getMetaData() throws SQLException { return _ps.getMetaData(); }
 public void setTime(int parameterIndex, Time x) throws SQLException
  { _ps.setTime(parameterIndex, x); }
 public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
  { _ps.setTimestamp(parameterIndex, x); }
 public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
  { _ps.setDate(parameterIndex, x, cal); }
 public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
  { _ps.setTime(parameterIndex, x, cal); }
 public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException
  { _ps.setTimestamp(parameterIndex, x, cal); }
 /** @deprecated **/
 public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException
  { _ps.setUnicodeStream(parameterIndex, x, length); }
 public P_PreparedStatement(PreparedStatement outer) {
 super(outer); 
 _ps = outer; 
 }
 PreparedStatement _ps; 
}
P_CallableStatement.java
package com.sybase.jdbc2.jdbc;
import java.sql.*;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.util.Calendar;
import java.util.Map;
public class P_CallableStatement implements CallableStatement {
 public boolean wasNull() throws SQLException { return outer.wasNull(); }
 public byte getByte(int parameterIndex) throws SQLException { return outer.getByte(parameterIndex); }
 public double getDouble(int parameterIndex) throws SQLException { return outer.getDouble(parameterIndex); }
 public float getFloat(int parameterIndex) throws SQLException { return outer.getFloat(parameterIndex); }
 public int getInt(int parameterIndex) throws SQLException { return outer.getInt(parameterIndex); }
 public long getLong(int parameterIndex) throws SQLException { return outer.getLong(parameterIndex); }
 public short getShort(int parameterIndex) throws SQLException { return outer.getShort(parameterIndex); }
 public boolean getBoolean(int parameterIndex) throws SQLException { return outer.getBoolean(parameterIndex); }
 public byte[] getBytes(int parameterIndex) throws SQLException { return outer.getBytes(parameterIndex); }
 public void registerOutParameter(int parameterIndex, int sqlType) throws SQLException
  { outer.registerOutParameter(parameterIndex, sqlType); }
 public void registerOutParameter(int parameterIndex, int sqlType, int scale) throws SQLException
  { outer.registerOutParameter(parameterIndex, sqlType, scale); }
 public Object getObject(int parameterIndex) throws SQLException { return outer.getObject(parameterIndex); }
 public String getString(int parameterIndex) throws SQLException { return outer.getString(parameterIndex); }
 public void registerOutParameter(int paramIndex, int sqlType, String typeName) throws SQLException
  { outer.registerOutParameter(paramIndex, sqlType, typeName); }
 public byte getByte(String parameterName) throws SQLException { return outer.getByte(parameterName); }
 public double getDouble(String parameterName) throws SQLException { return outer.getDouble(parameterName); }
 public float getFloat(String parameterName) throws SQLException { return outer.getFloat(parameterName); }
 public int getInt(String parameterName) throws SQLException { return outer.getInt(parameterName); }
 public long getLong(String parameterName) throws SQLException { return outer.getLong(parameterName); }
 public short getShort(String parameterName) throws SQLException { return outer.getShort(parameterName); }
 public boolean getBoolean(String parameterName) throws SQLException { return outer.getBoolean(parameterName); }
 public byte[] getBytes(String parameterName) throws SQLException { return outer.getBytes(parameterName); }
 public void setByte(String parameterName, byte x) throws SQLException
  { outer.setByte(parameterName, x); }
 public void setDouble(String parameterName, double x) throws SQLException
  { outer.setDouble(parameterName, x); }
 public void setFloat(String parameterName, float x) throws SQLException
  { outer.setFloat(parameterName, x); }
 public void registerOutParameter(String parameterName, int sqlType) throws SQLException 
  { outer.registerOutParameter(parameterName, sqlType); }
 public void setInt(String parameterName, int x) throws SQLException { outer.setInt(parameterName, x); }
 public void setNull(String parameterName, int sqlType) throws SQLException
  { outer.setNull(parameterName, sqlType); }
 public void registerOutParameter(String parameterName, int sqlType, int scale) throws SQLException
  { outer.registerOutParameter(parameterName, sqlType, scale); }
 public void setLong(String parameterName, long x) throws SQLException
  { outer.setLong(parameterName, x); }
 public void setShort(String parameterName, short x) throws SQLException
  { outer.setShort(parameterName, x); }
 public void setBoolean(String parameterName, boolean x) throws SQLException
  { outer.setBoolean(parameterName, x); }
 public void setBytes(String parameterName, byte[] x) throws SQLException
  { outer.setBytes(parameterName, x); }
 public BigDecimal getBigDecimal(int parameterIndex) throws SQLException
  { return outer.getBigDecimal(parameterIndex); }
 public URL getURL(int parameterIndex) throws SQLException { return outer.getURL(parameterIndex); }
 public Array getArray(int i) throws SQLException { return outer.getArray(i); }
 public Blob getBlob(int i) throws SQLException { return outer.getBlob(i); }
 public Clob getClob(int i) throws SQLException { return outer.getClob(i); }
 public Date getDate(int parameterIndex) throws SQLException { return outer.getDate(parameterIndex); }
 public Ref getRef(int i) throws SQLException { return outer.getRef(i); }
 public Time getTime(int parameterIndex) throws SQLException { return outer.getTime(parameterIndex); }
 public Timestamp getTimestamp(int parameterIndex) throws SQLException
  { return outer.getTimestamp(parameterIndex); }
 public void setAsciiStream(String parameterName, InputStream x, int length) throws SQLException
  { outer.setAsciiStream(parameterName, x, length); }
 public void setBinaryStream(String parameterName, InputStream x, int length) throws SQLException
  { outer.setBinaryStream(parameterName, x, length); }
 public void setCharacterStream(String parameterName, Reader reader, int length) throws SQLException
  { outer.setCharacterStream(parameterName, reader, length); }
 public Object getObject(String parameterName) throws SQLException { return outer.getObject(parameterName); }
 public void setObject(String parameterName, Object x) throws SQLException
  { outer.setObject(parameterName, x); }
 public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException
  { outer.setObject(parameterName, x, targetSqlType); }
 public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException
  { outer.setObject(parameterName, x, targetSqlType, scale); }
 public Object getObject(int i, Map map) throws SQLException { return outer.getObject(i, map); }
 public String getString(String parameterName) throws SQLException { return outer.getString(parameterName); }
 public void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException
  { outer.registerOutParameter(parameterName, sqlType, typeName); }
 public void setNull(String parameterName, int sqlType, String typeName) throws SQLException
  { outer.setNull(parameterName, sqlType, typeName); }
 public void setString(String parameterName, String x) throws SQLException
  { outer.setString(parameterName, x); }
 public BigDecimal getBigDecimal(String parameterName) throws SQLException
  { return outer.getBigDecimal(parameterName); }
 public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException
  { outer.setBigDecimal(parameterName, x); }
 public URL getURL(String parameterName) throws SQLException { return outer.getURL(parameterName); }
 public void setURL(String parameterName, URL val) throws SQLException
  { outer.setURL(parameterName, val); }
 public Array getArray(String parameterName) throws SQLException { return outer.getArray(parameterName); }
 public Blob getBlob(String parameterName) throws SQLException { return outer.getBlob(parameterName); }
 public Clob getClob(String parameterName) throws SQLException { return outer.getClob(parameterName); }
 public Date getDate(String parameterName) throws SQLException { return outer.getDate(parameterName); }
 public void setDate(String parameterName, Date x) throws SQLException
  { outer.setDate(parameterName, x); }
 public Date getDate(int parameterIndex, Calendar cal) throws SQLException
  { return outer.getDate(parameterIndex, cal); }
 public Ref getRef(String parameterName) throws SQLException { return outer.getRef(parameterName); }
 public Time getTime(String parameterName) throws SQLException { return outer.getTime(parameterName); }
 public void setTime(String parameterName, Time x) throws SQLException
  { outer.setTime(parameterName, x); }
 public Time getTime(int parameterIndex, Calendar cal) throws SQLException
  { return outer.getTime(parameterIndex, cal); }
 public Timestamp getTimestamp(String parameterName) throws SQLException 
  { return outer.getTimestamp(parameterName); }
 public void setTimestamp(String parameterName, Timestamp x) throws SQLException 
  { outer.setTimestamp(parameterName, x); }
 public Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException
  { return outer.getTimestamp(parameterIndex, cal); }
 public Object getObject(String parameterName, Map map) throws SQLException
  { return outer.getObject(parameterName, map); }
 public Date getDate(String parameterName, Calendar cal) throws SQLException 
  { return outer.getDate(parameterName, cal); }
 public Time getTime(String parameterName, Calendar cal) throws SQLException 
  { return outer.getTime(parameterName, cal); }
 public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException
  { return outer.getTimestamp(parameterName, cal); }
 public void setDate(String parameterName, Date x, Calendar cal) throws SQLException 
  { outer.setDate(parameterName, x, cal); }
 public void setTime(String parameterName, Time x, Calendar cal) throws SQLException 
  { outer.setTime(parameterName, x, cal); }
 public void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException
  { outer.setTimestamp(parameterName, x, cal); }
 public int executeUpdate() throws SQLException { return outer.executeUpdate(); }
 public void addBatch() throws SQLException { outer.addBatch(); }
 public void clearParameters() throws SQLException { outer.clearParameters(); }
 public boolean execute() throws SQLException { return outer.execute(); }
 public void setByte(int parameterIndex, byte x) throws SQLException { outer.setByte(parameterIndex, x); }
 public void setDouble(int parameterIndex, double x) throws SQLException 
  { outer.setDouble(parameterIndex, x); }
 public void setFloat(int parameterIndex, float x) throws SQLException
  { outer.setFloat(parameterIndex, x); }
 public void setInt(int parameterIndex, int x) throws SQLException { outer.setInt(parameterIndex, x); }
 public void setNull(int parameterIndex, int sqlType) throws SQLException
  { outer.setNull(parameterIndex, sqlType); }
 public void setLong(int parameterIndex, long x) throws SQLException { outer.setLong(parameterIndex, x); }
 public void setShort(int parameterIndex, short x) throws SQLException
  { outer.setShort(parameterIndex, x); }
 public void setBoolean(int parameterIndex, boolean x) throws SQLException
  { outer.setBoolean(parameterIndex, x); }
 public void setBytes(int parameterIndex, byte[] x) throws SQLException
  { outer.setBytes(parameterIndex, x); }
 public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException
  { outer.setAsciiStream(parameterIndex, x, length); }
 public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException
  { outer.setBinaryStream(parameterIndex, x, length); }
 public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException
  { outer.setCharacterStream(parameterIndex, reader, length); }
 public void setObject(int parameterIndex, Object x) throws SQLException 
  { outer.setObject(parameterIndex, x); }
 public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException
  { outer.setObject(parameterIndex, x, targetSqlType); }
 public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException
  { outer.setObject(parameterIndex, x, targetSqlType, scale); }
 public void setNull(int paramIndex, int sqlType, String typeName) throws SQLException
  { outer.setNull(paramIndex, sqlType, typeName); }
 public void setString(int parameterIndex, String x) throws SQLException 
  { outer.setString(parameterIndex, x); }
 public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException 
  { outer.setBigDecimal(parameterIndex, x); }
 public void setURL(int parameterIndex, URL x) throws SQLException { outer.setURL(parameterIndex, x); }
 public void setArray(int i, Array x) throws SQLException { outer.setArray(i, x); }
 public void setBlob(int i, Blob x) throws SQLException { outer.setBlob(i, x); }
 public void setClob(int i, Clob x) throws SQLException { outer.setClob(i, x); }
 public void setDate(int parameterIndex, Date x) throws SQLException { outer.setDate(parameterIndex, x); }
 public ParameterMetaData getParameterMetaData() throws SQLException { return outer.getParameterMetaData(); }
 public void setRef(int i, Ref x) throws SQLException { outer.setRef(i, x); }
 public ResultSet executeQuery() throws SQLException { return outer.executeQuery(); }
 public ResultSetMetaData getMetaData() throws SQLException { return outer.getMetaData(); }
 public void setTime(int parameterIndex, Time x) throws SQLException { outer.setTime(parameterIndex, x); }
 public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException
  { outer.setTimestamp(parameterIndex, x); }
 public void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException
  { outer.setDate(parameterIndex, x, cal); }
 public void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException
  { outer.setTime(parameterIndex, x, cal); }
 public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException 
  { outer.setTimestamp(parameterIndex, x, cal); }
 public int getFetchDirection() throws SQLException { return outer.getFetchDirection(); }
 public int getFetchSize() throws SQLException { return outer.getFetchSize(); }
 public int getMaxFieldSize() throws SQLException { return outer.getMaxFieldSize(); }
 public int getMaxRows() throws SQLException { return outer.getMaxRows(); }
 public int getQueryTimeout() throws SQLException { return outer.getQueryTimeout(); }
 public int getResultSetConcurrency() throws SQLException { return outer.getResultSetConcurrency(); }
 public int getResultSetHoldability() throws SQLException { return outer.getResultSetHoldability(); }
 public int getResultSetType() throws SQLException { return outer.getResultSetType(); }
 public int getUpdateCount() throws SQLException { return outer.getUpdateCount(); }
 public void cancel() throws SQLException { outer.cancel(); }
 public void clearBatch() throws SQLException { outer.clearBatch(); }
 public void clearWarnings() throws SQLException { outer.clearWarnings(); }
 public void close() throws SQLException { outer.close(); }
 public boolean getMoreResults() throws SQLException { return outer.getMoreResults(); }
 public int[] executeBatch() throws SQLException { return outer.executeBatch(); }
 public void setFetchDirection(int direction) throws SQLException { outer.setFetchDirection(direction); }
 public void setFetchSize(int rows) throws SQLException { outer.setFetchSize(rows); }
 public void setMaxFieldSize(int max) throws SQLException { outer.setMaxFieldSize(max); }
 public void setMaxRows(int max) throws SQLException { outer.setMaxRows(max); }
 public void setQueryTimeout(int seconds) throws SQLException { outer.setQueryTimeout(seconds); }
 public boolean getMoreResults(int current) throws SQLException { return outer.getMoreResults(current); }
 public void setEscapeProcessing(boolean enable) throws SQLException { outer.setEscapeProcessing(enable); }
 public int executeUpdate(String sql) throws SQLException { return outer.executeUpdate(sql); }
 public void addBatch(String sql) throws SQLException { outer.addBatch(sql); }
 public void setCursorName(String name) throws SQLException { outer.setCursorName(name); }
 public boolean execute(String sql) throws SQLException { return outer.execute(sql); }
 public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException 
  { return outer.executeUpdate(sql, autoGeneratedKeys); }
 public boolean execute(String sql, int autoGeneratedKeys) throws SQLException
  { return outer.execute(sql, autoGeneratedKeys); }
 public int executeUpdate(String sql, int[] columnIndexes) throws SQLException
  { return outer.executeUpdate(sql, columnIndexes); }
 public boolean execute(String sql, int[] columnIndexes) throws SQLException
  { return outer.execute(sql, columnIndexes); }
 public Connection getConnection() throws SQLException { return outer.getConnection(); }
 public ResultSet getGeneratedKeys() throws SQLException { return outer.getGeneratedKeys(); }
 public ResultSet getResultSet() throws SQLException { return outer.getResultSet(); }
 public SQLWarning getWarnings() throws SQLException { return outer.getWarnings(); }
 public int executeUpdate(String sql, String[] columnNames) throws SQLException
  { return outer.executeUpdate(sql, columnNames); }
 public boolean execute(String sql, String[] columnNames) throws SQLException
  { return outer.execute(sql, columnNames); }
 public ResultSet executeQuery(String sql) throws SQLException { return outer.executeQuery(sql); }

 /** @deprecated **/
 public BigDecimal getBigDecimal(int parameterIndex, int scale) throws SQLException
  { return outer.getBigDecimal(parameterIndex, scale); }
 /** @deprecated **/
 public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException 
  { outer.setUnicodeStream(parameterIndex, x, length); }
 public P_CallableStatement(CallableStatement outer) {
 this.outer = outer; 
 }
 CallableStatement outer; 
}
P_ResultSet.java
package com.sybase.jdbc2.jdbc;
import java.sql.*;
import java.io.InputStream;
import java.io.Reader;
import java.math.BigDecimal;
import java.net.URL;
import java.util.Calendar;
import java.util.Map;

public class P_ResultSet implements ResultSet {
 public int getConcurrency() throws SQLException  { return outer.getConcurrency(); }
 public int getFetchDirection() throws SQLException  { return outer.getFetchDirection(); }
 public int getFetchSize() throws SQLException  { return outer.getFetchSize(); }
 public int getRow() throws SQLException  { return outer.getRow(); }
 public int getType() throws SQLException  { return outer.getType(); }
 public void afterLast() throws SQLException  { outer.afterLast(); }
 public void beforeFirst() throws SQLException  { outer.beforeFirst(); }
 public void cancelRowUpdates() throws SQLException  { outer.cancelRowUpdates(); }
 public void clearWarnings() throws SQLException  { outer.clearWarnings(); }
 public void close() throws SQLException  { outer.close(); }
 public void deleteRow() throws SQLException  { outer.deleteRow(); }
 public void insertRow() throws SQLException  { outer.insertRow(); }
 public void moveToCurrentRow() throws SQLException  { outer.moveToCurrentRow(); } 
 public void moveToInsertRow() throws SQLException  { outer.moveToInsertRow(); }
 public void refreshRow() throws SQLException  { outer.refreshRow(); }
 public void updateRow() throws SQLException  { outer.updateRow(); }
 public boolean first() throws SQLException  { return outer.first(); }
 public boolean isAfterLast() throws SQLException  { return outer.isAfterLast(); }
 public boolean isBeforeFirst() throws SQLException  { return outer.isBeforeFirst(); }
 public boolean isFirst() throws SQLException  { return outer.isFirst(); }
 public boolean isLast() throws SQLException  { return outer.isLast(); }
 public boolean last() throws SQLException  { return outer.last(); }
 public boolean next() throws SQLException  { return outer.next(); }
 public boolean previous() throws SQLException  { return outer.previous(); }
 public boolean rowDeleted() throws SQLException  { return outer.rowDeleted(); }
 public boolean rowInserted() throws SQLException  { return outer.rowInserted(); }
 public boolean rowUpdated() throws SQLException  { return outer.rowUpdated(); }
 public boolean wasNull() throws SQLException  { return outer.wasNull(); }
 public byte getByte(int columnIndex) throws SQLException  { return outer.getByte(columnIndex); }
 public double getDouble(int columnIndex) throws SQLException  { return outer.getDouble(columnIndex); }
 public float getFloat(int columnIndex) throws SQLException  { return outer.getFloat(columnIndex); }
 public int getInt(int columnIndex) throws SQLException  { return outer.getInt(columnIndex); }
 public long getLong(int columnIndex) throws SQLException  { return outer.getLong(columnIndex); }
 public short getShort(int columnIndex) throws SQLException  { return outer.getShort(columnIndex); }
 public void setFetchDirection(int direction) throws SQLException{ outer.setFetchDirection(direction);  }
 public void setFetchSize(int rows) throws SQLException  { outer.setFetchSize(rows);  }
 public void updateNull(int columnIndex) throws SQLException  { outer.updateNull(columnIndex);  }
 public boolean absolute(int row) throws SQLException  { return outer.absolute(row); } 
 public boolean getBoolean(int columnIndex) throws SQLException  { return outer.getBoolean(columnIndex);  }
 public boolean relative(int rows) throws SQLException  { return outer.relative(rows);  }
 public byte[] getBytes(int columnIndex) throws SQLException  { return outer.getBytes(columnIndex);  }
 public void updateByte(int columnIndex, byte x) throws SQLException 
  { outer.updateByte(columnIndex, x);  }
 public void updateDouble(int columnIndex, double x) throws SQLException 
  { outer.updateDouble(columnIndex, x);  }
 public void updateFloat(int columnIndex, float x) throws SQLException 
  { outer.updateFloat(columnIndex, x);  }
 public void updateInt(int columnIndex, int x) throws SQLException 
  { outer.updateInt(columnIndex, x);  }
 public void updateLong(int columnIndex, long x) throws SQLException 
  { outer.updateLong(columnIndex, x);  }
 public void updateShort(int columnIndex, short x) throws SQLException 
  { outer.updateShort(columnIndex, x);  }
 public void updateBoolean(int columnIndex, boolean x) throws SQLException 
  { outer.updateBoolean(columnIndex, x);  }
 public void updateBytes(int columnIndex, byte[] x) throws SQLException 
  { outer.updateBytes(columnIndex, x);  }
 public InputStream getAsciiStream(int columnIndex) throws SQLException 
  { return outer.getAsciiStream(columnIndex);  }
 public InputStream getBinaryStream(int columnIndex) throws SQLException 
  { return outer.getBinaryStream(columnIndex);  }
 public void updateAsciiStream(int columnIndex, InputStream x, int length) throws SQLException 
  { outer.updateAsciiStream(columnIndex, x, length); } 
 public void updateBinaryStream(int columnIndex, InputStream x, int length) throws SQLException 
  { outer.updateBinaryStream(columnIndex, x, length);  }
 public Reader getCharacterStream(int columnIndex) throws SQLException 
  { return outer.getCharacterStream(columnIndex);  }
 public void updateCharacterStream(int columnIndex, Reader x, int length) throws SQLException 
  { outer.updateCharacterStream(columnIndex, x, length);  }
 public Object getObject(int columnIndex) throws SQLException  { return outer.getObject(columnIndex);  }
 public void updateObject(int columnIndex, Object x) throws SQLException 
  { outer.updateObject(columnIndex, x);  }
 public void updateObject(int columnIndex, Object x, int scale) throws SQLException 
  { outer.updateObject(columnIndex, x, scale);  }
 public String getCursorName() throws SQLException  { return outer.getCursorName();  }
 public String getString(int columnIndex) throws SQLException  { return outer.getString(columnIndex);  }
 public void updateString(int columnIndex, String x) throws SQLException 
  { outer.updateString(columnIndex, x);  }
 public byte getByte(String columnName) throws SQLException  { return outer.getByte(columnName);  }
 public double getDouble(String columnName) throws SQLException  { return outer.getDouble(columnName);  }
 public float getFloat(String columnName) throws SQLException  { return outer.getFloat(columnName);  }
 public int findColumn(String columnName) throws SQLException  { return outer.findColumn(columnName);  }
 public int getInt(String columnName) throws SQLException  { return outer.getInt(columnName);  }
 public long getLong(String columnName) throws SQLException  { return outer.getLong(columnName);  }
 public short getShort(String columnName) throws SQLException  { return outer.getShort(columnName);  }
 public void updateNull(String columnName) throws SQLException  { outer.updateNull(columnName);  }
 public boolean getBoolean(String columnName) throws SQLException{ return outer.getBoolean(columnName);  }
 public byte[] getBytes(String columnName) throws SQLException  { return outer.getBytes(columnName);  }
 public void updateByte(String columnName, byte x) throws SQLException 
  { outer.updateByte(columnName, x);  }
 public void updateDouble(String columnName, double x) throws SQLException 
  { outer.updateDouble(columnName, x);  }
 public void updateFloat(String columnName, float x) throws SQLException 
  { outer.updateFloat(columnName, x);  }
 public void updateInt(String columnName, int x) throws SQLException 
  { outer.updateInt(columnName, x);  }
 public void updateLong(String columnName, long x) throws SQLException 
  { outer.updateLong(columnName, x);  }
 public void updateShort(String columnName, short x) throws SQLException 
  { outer.updateShort(columnName, x);  }
 public void updateBoolean(String columnName, boolean x) throws SQLException 
  { outer.updateBoolean(columnName, x);  }
 public void updateBytes(String columnName, byte[] x) throws SQLException 
  { outer.updateBytes(columnName, x);  }
 public BigDecimal getBigDecimal(int columnIndex) throws SQLException 
  { return outer.getBigDecimal(columnIndex);  }
 public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException 
  { outer.updateBigDecimal(columnIndex, x);  }
 public URL getURL(int columnIndex) throws SQLException  { return outer.getURL(columnIndex);  }
 public Array getArray(int i) throws SQLException  { return outer.getArray(i);  }
 public void updateArray(int columnIndex, Array x) throws SQLException 
  { outer.updateArray(columnIndex, x);  }
 public Blob getBlob(int i) throws SQLException  { return outer.getBlob(i);  }
 public void updateBlob(int columnIndex, Blob x) throws SQLException 
  { outer.updateBlob(columnIndex, x);  }
 public Clob getClob(int i) throws SQLException  { return outer.getClob(i);  }
 public void updateClob(int columnIndex, Clob x) throws SQLException 
  { outer.updateClob(columnIndex, x);  }
 public Date getDate(int columnIndex) throws SQLException  { return outer.getDate(columnIndex);  }
 public void updateDate(int columnIndex, Date x) throws SQLException 
  { outer.updateDate(columnIndex, x);  }
 public Ref getRef(int i) throws SQLException  { return outer.getRef(i);  }
 public void updateRef(int columnIndex, Ref x) throws SQLException 
  { outer.updateRef(columnIndex, x);  }
 public ResultSetMetaData getMetaData() throws SQLException  { return outer.getMetaData();  }
 public SQLWarning getWarnings() throws SQLException  { return outer.getWarnings();  }
 public Statement getStatement() throws SQLException  { return outer.getStatement();  }
 public Time getTime(int columnIndex) throws SQLException  { return outer.getTime(columnIndex);  }
 public void updateTime(int columnIndex, Time x) throws SQLException 
  { outer.updateTime(columnIndex, x);  }
 public Timestamp getTimestamp(int columnIndex) throws SQLException 
  { return outer.getTimestamp(columnIndex);  }
 public void updateTimestamp(int columnIndex, Timestamp x) throws SQLException 
  { outer.updateTimestamp(columnIndex, x);  }
 public InputStream getAsciiStream(String columnName) throws SQLException 
  { return outer.getAsciiStream(columnName);  }
 public InputStream getBinaryStream(String columnName) throws SQLException 
  { return outer.getBinaryStream(columnName);  }
 public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException  
  { outer.updateAsciiStream(columnName, x, length);  }
 public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException  
  { outer.updateBinaryStream(columnName, x, length);  }
 public Reader getCharacterStream(String columnName) throws SQLException 
  { return outer.getCharacterStream(columnName);  }
 public void updateCharacterStream(String columnName, Reader reader, int length) throws SQLException 
  { outer.updateCharacterStream(columnName, reader, length); }
 public Object getObject(String columnName) throws SQLException  { return outer.getObject(columnName);  }
 public void updateObject(String columnName, Object x) throws SQLException 
  { outer.updateObject(columnName, x);  }
 public void updateObject(String columnName, Object x, int scale) throws SQLException 
  { outer.updateObject(columnName, x, scale);  }
 public Object getObject(int i, Map map) throws SQLException  { return outer.getObject(i, map);  }
 public String getString(String columnName) throws SQLException  { return outer.getString(columnName);  }
 public void updateString(String columnName, String x) throws SQLException 
  { outer.updateString(columnName, x);  }
 public BigDecimal getBigDecimal(String columnName) throws SQLException 
  { return outer.getBigDecimal(columnName);  }
 public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException 
  { outer.updateBigDecimal(columnName, x);  }
 public URL getURL(String columnName) throws SQLException  { return outer.getURL(columnName);  }
 public Array getArray(String colName) throws SQLException  { return outer.getArray(colName); } 
 public void updateArray(String columnName, Array x) throws SQLException 
  { outer.updateArray(columnName, x);  }
 public Blob getBlob(String colName) throws SQLException  { return outer.getBlob(colName);  }
 public void updateBlob(String columnName, Blob x) throws SQLException 
  { outer.updateBlob(columnName, x);  }
 public Clob getClob(String colName) throws SQLException  { return outer.getClob(colName);  }
 public void updateClob(String columnName, Clob x) throws SQLException 
  { outer.updateClob(columnName, x);  }
 public Date getDate(String columnName) throws SQLException  { return outer.getDate(columnName);  }
 public void updateDate(String columnName, Date x) throws SQLException 
  { outer.updateDate(columnName, x);  }
 public Date getDate(int columnIndex, Calendar cal) throws SQLException 
  { return outer.getDate(columnIndex, cal);  }
 public Ref getRef(String colName) throws SQLException { return outer.getRef(colName);  }
 public void updateRef(String columnName, Ref x) throws SQLException 
  { outer.updateRef(columnName, x);  }
 public Time getTime(String columnName) throws SQLException  { return outer.getTime(columnName);  }
 public void updateTime(String columnName, Time x) throws SQLException 
  { outer.updateTime(columnName, x);  }
 public Time getTime(int columnIndex, Calendar cal) throws SQLException 
  { return outer.getTime(columnIndex, cal);  }
 public Timestamp getTimestamp(String columnName) throws SQLException 
  { return outer.getTimestamp(columnName);  }
 public void updateTimestamp(String columnName, Timestamp x) throws SQLException 
  { outer.updateTimestamp(columnName, x);  }
 public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException 
  { return outer.getTimestamp(columnIndex, cal);  }
 public Object getObject(String colName, Map map) throws SQLException 
  { return outer.getObject(colName, map);  }
 public Date getDate(String columnName, Calendar cal) throws SQLException 
  { return outer.getDate(columnName, cal);  }
 public Time getTime(String columnName, Calendar cal) throws SQLException 
  { return outer.getTime(columnName, cal);  }
 public Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException 
  { return outer.getTimestamp(columnName, cal);  }
 
 /** @deprecated */
 public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException 
  { return outer.getBigDecimal(columnIndex, scale); }
 /** @deprecated */
 public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException 
  { return outer.getBigDecimal(columnName, scale); }
 /** @deprecated */
 public InputStream getUnicodeStream(int columnIndex) throws SQLException 
  { return outer.getUnicodeStream(columnIndex); }
 /** @deprecated */
 public InputStream getUnicodeStream(String columnName) throws SQLException 
  { return outer.getUnicodeStream(columnName); }
 
 public P_ResultSet(ResultSet outer) {
 this.outer = outer; 
 }
 ResultSet outer = null; 
}

 

JEND

Yet another jConnect™

0 0

相关博文

我的热门文章

img
取 消
img