1 21 22 package org.apache.derby.iapi.jdbc; 23 24 import java.sql.*; 25 import java.math.BigDecimal ; 26 import java.net.URL ; 27 28 import java.util.Calendar ; 29 import java.util.Map ; 30 31 32 35 public class BrokeredCallableStatement30 extends BrokeredCallableStatement 36 { 37 38 public BrokeredCallableStatement30(BrokeredStatementControl control, int jdbcLevel, String sql) throws SQLException { 39 super(control, jdbcLevel, sql); 40 } 41 public final void setURL(java.lang.String parameterName, java.net.URL value) throws SQLException { 42 getCallableStatement().setURL(parameterName, value); 43 } 44 public final void setNull(java.lang.String parameterName, int type) throws SQLException { 45 getCallableStatement().setNull(parameterName, type); 46 } 47 public final void setBoolean(java.lang.String parameterName, boolean value) throws SQLException { 48 getCallableStatement().setBoolean(parameterName, value); 49 } 50 public final void setByte(java.lang.String parameterName, byte value) throws SQLException { 51 getCallableStatement().setByte(parameterName, value); 52 } 53 public final void setShort(java.lang.String parameterName, short value) throws SQLException { 54 getCallableStatement().setShort(parameterName, value); 55 } 56 public final void setInt(java.lang.String parameterName, int value) throws SQLException { 57 getCallableStatement().setInt(parameterName, value); 58 } 59 public final void setLong(java.lang.String parameterName, long value) throws SQLException { 60 getCallableStatement().setLong(parameterName, value); 61 } 62 public final void setFloat(java.lang.String parameterName, float value) throws SQLException { 63 getCallableStatement().setFloat(parameterName, value); 64 } 65 public final void setDouble(java.lang.String parameterName, double value) throws SQLException { 66 getCallableStatement().setDouble(parameterName, value); 67 } 68 public final void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal value) throws SQLException { 69 getCallableStatement().setBigDecimal(parameterName, value); 70 } 71 public final void setString(java.lang.String parameterName, java.lang.String value) throws SQLException { 72 getCallableStatement().setString(parameterName, value); 73 } 74 public final void setBytes(java.lang.String parameterName, byte[] value) throws SQLException { 75 getCallableStatement().setBytes(parameterName, value); 76 } 77 public final void setDate(java.lang.String parameterName, java.sql.Date value) throws SQLException { 78 getCallableStatement().setDate(parameterName, value); 79 } 80 public final void setTime(java.lang.String parameterName, java.sql.Time value) throws SQLException { 81 getCallableStatement().setTime(parameterName, value); 82 } 83 public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value) throws SQLException { 84 getCallableStatement().setTimestamp(parameterName, value); 85 } 86 public final void setAsciiStream(java.lang.String parameterName, java.io.InputStream value, int length) throws SQLException { 87 getCallableStatement().setAsciiStream(parameterName, value, length); 88 } 89 public final void setBinaryStream(java.lang.String parameterName, java.io.InputStream value, int length) throws SQLException { 90 getCallableStatement().setBinaryStream(parameterName, value, length); 91 } 92 public final void setObject(java.lang.String parameterName, java.lang.Object value, int a, int b) throws SQLException { 93 getCallableStatement().setObject(parameterName, value, a, b); 94 } 95 public final void setObject(java.lang.String parameterName, java.lang.Object value, int a) throws SQLException { 96 getCallableStatement().setObject(parameterName, value, a); 97 } 98 public final void setObject(java.lang.String parameterName, java.lang.Object value) throws SQLException { 99 getCallableStatement().setObject(parameterName, value); 100 } 101 public final void setCharacterStream(java.lang.String parameterName, java.io.Reader value, int length) throws SQLException { 102 getCallableStatement().setCharacterStream(parameterName, value, length); 103 } 104 public final void setDate(java.lang.String parameterName, java.sql.Date value, java.util.Calendar cal) throws SQLException { 105 getCallableStatement().setDate(parameterName, value, cal); 106 } 107 public final void setTime(java.lang.String parameterName, java.sql.Time value, java.util.Calendar cal) throws SQLException { 108 getCallableStatement().setTime(parameterName, value, cal); 109 } 110 public final void setTimestamp(java.lang.String parameterName, java.sql.Timestamp value, java.util.Calendar cal) throws SQLException { 111 getCallableStatement().setTimestamp(parameterName, value, cal); 112 } 113 public final void setNull(java.lang.String parameterName, int a, java.lang.String b) throws SQLException { 114 getCallableStatement().setNull(parameterName, a, b); 115 } 116 public final java.lang.String getString(java.lang.String parameterName) throws SQLException { 117 return getCallableStatement().getString(parameterName); 118 } 119 public final boolean getBoolean(java.lang.String parameterName) throws SQLException { 120 return getCallableStatement().getBoolean(parameterName); 121 } 122 public final byte getByte(java.lang.String parameterName) throws SQLException { 123 return getCallableStatement().getByte(parameterName); 124 } 125 public final short getShort(java.lang.String parameterName) throws SQLException { 126 return getCallableStatement().getShort(parameterName); 127 } 128 public final int getInt(java.lang.String parameterName) throws SQLException { 129 return getCallableStatement().getInt(parameterName); 130 } 131 public final long getLong(java.lang.String parameterName) throws SQLException { 132 return getCallableStatement().getLong(parameterName); 133 } 134 public final float getFloat(java.lang.String parameterName) throws SQLException { 135 return getCallableStatement().getFloat(parameterName); 136 } 137 public final double getDouble(java.lang.String parameterName) throws SQLException { 138 return getCallableStatement().getDouble(parameterName); 139 } 140 public final byte[] getBytes(java.lang.String parameterName) throws SQLException { 141 return getCallableStatement().getBytes(parameterName); 142 } 143 public final java.sql.Date getDate(java.lang.String parameterName) throws SQLException { 144 return getCallableStatement().getDate(parameterName); 145 } 146 public final java.sql.Time getTime(java.lang.String parameterName) throws SQLException { 147 return getCallableStatement().getTime(parameterName); 148 } 149 public final java.sql.Timestamp getTimestamp(java.lang.String parameterName) throws SQLException { 150 return getCallableStatement().getTimestamp(parameterName); 151 } 152 public final java.lang.Object getObject(java.lang.String parameterName) throws SQLException { 153 return getCallableStatement().getObject(parameterName); 154 } 155 public final java.math.BigDecimal getBigDecimal(java.lang.String parameterName) throws SQLException { 156 return getCallableStatement().getBigDecimal(parameterName); 157 } 158 public final java.lang.Object getObject(java.lang.String parameterName, java.util.Map map) throws SQLException { 159 return getCallableStatement().getObject(parameterName, map); 160 } 161 public final java.sql.Ref getRef(java.lang.String parameterName) throws SQLException { 162 return getCallableStatement().getRef(parameterName); 163 } 164 public final java.sql.Blob getBlob(java.lang.String parameterName) throws SQLException { 165 return getCallableStatement().getBlob(parameterName); 166 } 167 public final java.sql.Clob getClob(java.lang.String parameterName) throws SQLException { 168 return getCallableStatement().getClob(parameterName); 169 } 170 public final java.sql.Array getArray(java.lang.String parameterName) throws SQLException { 171 return getCallableStatement().getArray(parameterName); 172 } 173 public final java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal) throws SQLException { 174 return getCallableStatement().getDate(parameterName, cal); 175 } 176 public final java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal) throws SQLException { 177 return getCallableStatement().getTime(parameterName, cal); 178 } 179 public final java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal) throws SQLException { 180 return getCallableStatement().getTimestamp(parameterName, cal); 181 } 182 public final java.net.URL getURL(java.lang.String parameterName) throws SQLException { 183 return getCallableStatement().getURL(parameterName); 184 } 185 public final java.net.URL getURL(int i) throws SQLException { 186 return getCallableStatement().getURL(i); 187 } 188 public final void registerOutParameter(String a, int b) throws SQLException { 189 getCallableStatement().registerOutParameter(a,b); 190 } 191 public final void registerOutParameter(String a, int b, int c) throws SQLException { 192 getCallableStatement().registerOutParameter(a,b,c); 193 } 194 public final void registerOutParameter(String a, int b, String c) throws SQLException { 195 getCallableStatement().registerOutParameter(a,b,c); 196 } 197 200 201 public final void setURL(int i, URL x) 202 throws SQLException 203 { 204 getPreparedStatement().setURL( i, x); 205 } 206 public final ParameterMetaData getParameterMetaData() 207 throws SQLException 208 { 209 return getPreparedStatement().getParameterMetaData(); 210 } 211 214 215 218 public CallableStatement createDuplicateStatement(Connection conn, CallableStatement oldStatement) throws SQLException { 219 220 CallableStatement newStatement = conn.prepareCall(sql, resultSetType, resultSetConcurrency, resultSetHoldability); 221 222 setStatementState(oldStatement, newStatement); 223 224 return newStatement; 225 } 226 } 227 | Popular Tags |