| 1 22 23 24 package com.mchange.v2.sql.filter; 25 26 import java.io.InputStream ; 27 import java.io.Reader ; 28 import java.lang.Object ; 29 import java.lang.String ; 30 import java.math.BigDecimal ; 31 import java.net.URL ; 32 import java.sql.Array ; 33 import java.sql.Blob ; 34 import java.sql.Clob ; 35 import java.sql.Connection ; 36 import java.sql.Date ; 37 import java.sql.ParameterMetaData ; 38 import java.sql.PreparedStatement ; 39 import java.sql.Ref ; 40 import java.sql.ResultSet ; 41 import java.sql.ResultSetMetaData ; 42 import java.sql.SQLException ; 43 import java.sql.SQLWarning ; 44 import java.sql.Time ; 45 import java.sql.Timestamp ; 46 import java.util.Calendar ; 47 48 public abstract class FilterPreparedStatement implements PreparedStatement  49 { 50 protected PreparedStatement inner; 51 52 public FilterPreparedStatement(PreparedStatement inner) 53 { this.inner = inner; } 54 55 public FilterPreparedStatement() 56 {} 57 58 public void setInner( PreparedStatement inner ) 59 { this.inner = inner; } 60 61 public PreparedStatement getInner() 62 { return inner; } 63 64 public ResultSetMetaData getMetaData() throws SQLException  65 { return inner.getMetaData(); } 66 67 public ResultSet executeQuery() throws SQLException  68 { return inner.executeQuery(); } 69 70 public int executeUpdate() throws SQLException  71 { return inner.executeUpdate(); } 72 73 public void addBatch() throws SQLException  74 { inner.addBatch(); } 75 76 public void setNull(int a, int b, String c) throws SQLException  77 { inner.setNull(a, b, c); } 78 79 public void setNull(int a, int b) throws SQLException  80 { inner.setNull(a, b); } 81 82 public void setBigDecimal(int a, BigDecimal b) throws SQLException  83 { inner.setBigDecimal(a, b); } 84 85 public void setBytes(int a, byte[] b) throws SQLException  86 { inner.setBytes(a, b); } 87 88 public void setTimestamp(int a, Timestamp b, Calendar c) throws SQLException  89 { inner.setTimestamp(a, b, c); } 90 91 public void setTimestamp(int a, Timestamp b) throws SQLException  92 { inner.setTimestamp(a, b); } 93 94 public void setAsciiStream(int a, InputStream b, int c) throws SQLException  95 { inner.setAsciiStream(a, b, c); } 96 97 public void setUnicodeStream(int a, InputStream b, int c) throws SQLException  98 { inner.setUnicodeStream(a, b, c); } 99 100 public void setBinaryStream(int a, InputStream b, int c) throws SQLException  101 { inner.setBinaryStream(a, b, c); } 102 103 public void clearParameters() throws SQLException  104 { inner.clearParameters(); } 105 106 public void setObject(int a, Object b) throws SQLException  107 { inner.setObject(a, b); } 108 109 public void setObject(int a, Object b, int c, int d) throws SQLException  110 { inner.setObject(a, b, c, d); } 111 112 public void setObject(int a, Object b, int c) throws SQLException  113 { inner.setObject(a, b, c); } 114 115 public void setCharacterStream(int a, Reader b, int c) throws SQLException  116 { inner.setCharacterStream(a, b, c); } 117 118 public void setRef(int a, Ref b) throws SQLException  119 { inner.setRef(a, b); } 120 121 public void setBlob(int a, Blob b) throws SQLException  122 { inner.setBlob(a, b); } 123 124 public void setClob(int a, Clob b) throws SQLException  125 { inner.setClob(a, b); } 126 127 public void setArray(int a, Array b) throws SQLException  128 { inner.setArray(a, b); } 129 130 public ParameterMetaData getParameterMetaData() throws SQLException  131 { return inner.getParameterMetaData(); } 132 133 public void setBoolean(int a, boolean b) throws SQLException  134 { inner.setBoolean(a, b); } 135 136 public void setByte(int a, byte b) throws SQLException  137 { inner.setByte(a, b); } 138 139 public void setShort(int a, short b) throws SQLException  140 { inner.setShort(a, b); } 141 142 public void setInt(int a, int b) throws SQLException  143 { inner.setInt(a, b); } 144 145 public void setLong(int a, long b) throws SQLException  146 { inner.setLong(a, b); } 147 148 public void setFloat(int a, float b) throws SQLException  149 { inner.setFloat(a, b); } 150 151 public void setDouble(int a, double b) throws SQLException  152 { inner.setDouble(a, b); } 153 154 public void setURL(int a, URL b) throws SQLException  155 { inner.setURL(a, b); } 156 157 public void setTime(int a, Time b) throws SQLException  158 { inner.setTime(a, b); } 159 160 public void setTime(int a, Time b, Calendar c) throws SQLException  161 { inner.setTime(a, b, c); } 162 163 public boolean execute() throws SQLException  164 { return inner.execute(); } 165 166 public void setString(int a, String b) throws SQLException  167 { inner.setString(a, b); } 168 169 public void setDate(int a, Date b, Calendar c) throws SQLException  170 { inner.setDate(a, b, c); } 171 172 public void setDate(int a, Date b) throws SQLException  173 { inner.setDate(a, b); } 174 175 public SQLWarning getWarnings() throws SQLException  176 { return inner.getWarnings(); } 177 178 public void clearWarnings() throws SQLException  179 { inner.clearWarnings(); } 180 181 public void setFetchDirection(int a) throws SQLException  182 { inner.setFetchDirection(a); } 183 184 public int getFetchDirection() throws SQLException  185 { return inner.getFetchDirection(); } 186 187 public void setFetchSize(int a) throws SQLException  188 { inner.setFetchSize(a); } 189 190 public int getFetchSize() throws SQLException  191 { return inner.getFetchSize(); } 192 193 public int getResultSetHoldability() throws SQLException  194 { return inner.getResultSetHoldability(); } 195 196 public ResultSet executeQuery(String a) throws SQLException  197 { return inner.executeQuery(a); } 198 199 public int executeUpdate(String a, int b) throws SQLException  200 { return inner.executeUpdate(a, b); } 201 202 public int executeUpdate(String a, String [] b) throws SQLException  203 { return inner.executeUpdate(a, b); } 204 205 public int executeUpdate(String a, int[] b) throws SQLException  206 { return inner.executeUpdate(a, b); } 207 208 public int executeUpdate(String a) throws SQLException  209 { return inner.executeUpdate(a); } 210 211 public int getMaxFieldSize() throws SQLException  212 { return inner.getMaxFieldSize(); } 213 214 public void setMaxFieldSize(int a) throws SQLException  215 { inner.setMaxFieldSize(a); } 216 217 public int getMaxRows() throws SQLException  218 { return inner.getMaxRows(); } 219 220 public void setMaxRows(int a) throws SQLException  221 { inner.setMaxRows(a); } 222 223 public void setEscapeProcessing(boolean a) throws SQLException  224 { inner.setEscapeProcessing(a); } 225 226 public int getQueryTimeout() throws SQLException  227 { return inner.getQueryTimeout(); } 228 229 public void setQueryTimeout(int a) throws SQLException  230 { inner.setQueryTimeout(a); } 231 232 public void setCursorName(String a) throws SQLException  233 { inner.setCursorName(a); } 234 235 public ResultSet getResultSet() throws SQLException  236 { return inner.getResultSet(); } 237 238 public int getUpdateCount() throws SQLException  239 { return inner.getUpdateCount(); } 240 241 public boolean getMoreResults() throws SQLException  242 { return inner.getMoreResults(); } 243 244 public boolean getMoreResults(int a) throws SQLException  245 { return inner.getMoreResults(a); } 246 247 public int getResultSetConcurrency() throws SQLException  248 { return inner.getResultSetConcurrency(); } 249 250 public int getResultSetType() throws SQLException  251 { return inner.getResultSetType(); } 252 253 public void addBatch(String a) throws SQLException  254 { inner.addBatch(a); } 255 256 public void clearBatch() throws SQLException  257 { inner.clearBatch(); } 258 259 public int[] executeBatch() throws SQLException  260 { return inner.executeBatch(); } 261 262 public ResultSet getGeneratedKeys() throws SQLException  263 { return inner.getGeneratedKeys(); } 264 265 public void close() throws SQLException  266 { inner.close(); } 267 268 public boolean execute(String a, int b) throws SQLException  269 { return inner.execute(a, b); } 270 271 public boolean execute(String a) throws SQLException  272 { return inner.execute(a); } 273 274 public boolean execute(String a, int[] b) throws SQLException  275 { return inner.execute(a, b); } 276 277 public boolean execute(String a, String [] b) throws SQLException  278 { return inner.execute(a, b); } 279 280 public Connection getConnection() throws SQLException  281 { return inner.getConnection(); } 282 283 public void cancel() throws SQLException  284 { inner.cancel(); } 285 } 286 | Popular Tags |