KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > jca > jdbc > TestPreparedStatement


1 /*
2  * JBoss, Home of Professional Open Source
3  * Copyright 2005, JBoss Inc., and individual contributors as indicated
4  * by the @authors tag. See the copyright.txt in the distribution for a
5  * full listing of individual contributors.
6  *
7  * This is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as
9  * published by the Free Software Foundation; either version 2.1 of
10  * the License, or (at your option) any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this software; if not, write to the Free
19  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21  */

22 package org.jboss.test.jca.jdbc;
23
24 import java.io.InputStream JavaDoc;
25 import java.io.Reader JavaDoc;
26 import java.math.BigDecimal JavaDoc;
27 import java.net.URL JavaDoc;
28 import java.sql.Array JavaDoc;
29 import java.sql.Blob JavaDoc;
30 import java.sql.Clob JavaDoc;
31 import java.sql.Date JavaDoc;
32 import java.sql.ParameterMetaData JavaDoc;
33 import java.sql.PreparedStatement JavaDoc;
34 import java.sql.Ref JavaDoc;
35 import java.sql.ResultSet JavaDoc;
36 import java.sql.ResultSetMetaData JavaDoc;
37 import java.sql.Time JavaDoc;
38 import java.sql.Timestamp JavaDoc;
39 import java.util.Calendar JavaDoc;
40
41 /**
42  * TestPreparedStatement.java
43  *
44  * @author <a HREF="mailto:adrian@jboss.com">Adrian Brock</a>
45  */

46
47 public class TestPreparedStatement extends TestStatement
48    implements PreparedStatement JavaDoc
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 JavaDoc executeQuery()
69    {
70       return null;
71    }
72
73    public int executeUpdate()
74    {
75       return 0;
76    }
77
78    public ResultSetMetaData JavaDoc getMetaData()
79    {
80       return null;
81    }
82
83    public ParameterMetaData JavaDoc getParameterMetaData()
84    {
85       return null;
86    }
87
88    public void setArray(int i, Array JavaDoc x)
89    {
90    }
91
92    public void setAsciiStream(int i, InputStream JavaDoc is, int length)
93    {
94    }
95
96    public void setBigDecimal(int i, BigDecimal JavaDoc x)
97    {
98    }
99
100    public void setBinaryStream(int i, InputStream JavaDoc is, int length)
101    {
102    }
103
104    public void setBlob(int i, Blob JavaDoc 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 JavaDoc r, int length)
121    {
122    }
123
124    public void setClob(int i, Clob JavaDoc x)
125    {
126    }
127
128    public void setDate(int i, Date JavaDoc x)
129    {
130    }
131
132    public void setDate(int i, Date JavaDoc x, Calendar JavaDoc 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 JavaDoc typeName)
157    {
158    }
159
160    public void setObject(int i, Object JavaDoc x)
161    {
162    }
163
164    public void setObject(int i, Object JavaDoc x, int targetSqlType)
165    {
166    }
167
168    public void setObject(int i, Object JavaDoc x, int targetSqlType, int scale)
169    {
170    }
171
172    public void setRef(int i, Ref JavaDoc ref)
173    {
174    }
175
176    public void setShort(int i, short x)
177    {
178    }
179
180    public void setString(int i, String JavaDoc x)
181    {
182    }
183
184    public void setTime(int i, Time JavaDoc x)
185    {
186    }
187
188    public void setTime(int i, Time JavaDoc x, Calendar JavaDoc cal)
189    {
190    }
191
192    public void setTimestamp(int i, Timestamp JavaDoc x)
193    {
194    }
195
196    public void setTimestamp(int i, Timestamp JavaDoc x, Calendar JavaDoc cal)
197    {
198    }
199
200    public void setUnicodeStream(int i, InputStream JavaDoc x, int length)
201    {
202    }
203
204    public void setURL(int i, URL JavaDoc url)
205    {
206    }
207 }
208
Popular Tags