1 22 package org.jboss.test.jca.jdbc; 23 24 import java.io.InputStream ; 25 import java.io.Reader ; 26 import java.math.BigDecimal ; 27 import java.net.URL ; 28 import java.sql.Array ; 29 import java.sql.Blob ; 30 import java.sql.Clob ; 31 import java.sql.Date ; 32 import java.sql.ParameterMetaData ; 33 import java.sql.PreparedStatement ; 34 import java.sql.Ref ; 35 import java.sql.ResultSet ; 36 import java.sql.ResultSetMetaData ; 37 import java.sql.Time ; 38 import java.sql.Timestamp ; 39 import java.util.Calendar ; 40 41 46 47 public class TestPreparedStatement extends TestStatement 48 implements PreparedStatement 49 { 50 public TestPreparedStatement(final TestDriver driver) 51 { 52 super(driver); 53 } 54 55 public void addBatch() 56 { 57 } 58 59 public void clearParameters() 60 { 61 } 62 63 public boolean execute() 64 { 65 return true; 66 } 67 68 public ResultSet executeQuery() 69 { 70 return null; 71 } 72 73 public int executeUpdate() 74 { 75 return 0; 76 } 77 78 public ResultSetMetaData getMetaData() 79 { 80 return null; 81 } 82 83 public ParameterMetaData getParameterMetaData() 84 { 85 return null; 86 } 87 88 public void setArray(int i, Array x) 89 { 90 } 91 92 public void setAsciiStream(int i, InputStream is, int length) 93 { 94 } 95 96 public void setBigDecimal(int i, BigDecimal x) 97 { 98 } 99 100 public void setBinaryStream(int i, InputStream is, int length) 101 { 102 } 103 104 public void setBlob(int i, Blob x) 105 { 106 } 107 108 public void setBoolean(int i, boolean x) 109 { 110 } 111 112 public void setByte(int i, byte x) 113 { 114 } 115 116 public void setBytes(int i, byte[] x) 117 { 118 } 119 120 public void setCharacterStream(int i, Reader r, int length) 121 { 122 } 123 124 public void setClob(int i, Clob x) 125 { 126 } 127 128 public void setDate(int i, Date x) 129 { 130 } 131 132 public void setDate(int i, Date x, Calendar cal) 133 { 134 } 135 136 public void setDouble(int i, double x) 137 { 138 } 139 140 public void setFloat(int i, float x) 141 { 142 } 143 144 public void setInt(int i, int x) 145 { 146 } 147 148 public void setLong(int i, long x) 149 { 150 } 151 152 public void setNull(int i, int sqlType) 153 { 154 } 155 156 public void setNull(int i, int sqlType, String typeName) 157 { 158 } 159 160 public void setObject(int i, Object x) 161 { 162 } 163 164 public void setObject(int i, Object x, int targetSqlType) 165 { 166 } 167 168 public void setObject(int i, Object x, int targetSqlType, int scale) 169 { 170 } 171 172 public void setRef(int i, Ref ref) 173 { 174 } 175 176 public void setShort(int i, short x) 177 { 178 } 179 180 public void setString(int i, String x) 181 { 182 } 183 184 public void setTime(int i, Time x) 185 { 186 } 187 188 public void setTime(int i, Time x, Calendar cal) 189 { 190 } 191 192 public void setTimestamp(int i, Timestamp x) 193 { 194 } 195 196 public void setTimestamp(int i, Timestamp x, Calendar cal) 197 { 198 } 199 200 public void setUnicodeStream(int i, InputStream x, int length) 201 { 202 } 203 204 public void setURL(int i, URL url) 205 { 206 } 207 } 208 | Popular Tags |