001: /*
002: * JBoss, Home of Professional Open Source.
003: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
004: * as indicated by the @author tags. See the copyright.txt file in the
005: * distribution for a full listing of individual contributors.
006: *
007: * This is free software; you can redistribute it and/or modify it
008: * under the terms of the GNU Lesser General Public License as
009: * published by the Free Software Foundation; either version 2.1 of
010: * the License, or (at your option) any later version.
011: *
012: * This software is distributed in the hope that it will be useful,
013: * but WITHOUT ANY WARRANTY; without even the implied warranty of
014: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
015: * Lesser General Public License for more details.
016: *
017: * You should have received a copy of the GNU Lesser General Public
018: * License along with this software; if not, write to the Free
019: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
021: */
022: package org.jboss.test.jca.jdbc;
023:
024: import java.io.InputStream;
025: import java.io.Reader;
026: import java.math.BigDecimal;
027: import java.net.URL;
028: import java.sql.Array;
029: import java.sql.Blob;
030: import java.sql.Clob;
031: import java.sql.Date;
032: import java.sql.ParameterMetaData;
033: import java.sql.PreparedStatement;
034: import java.sql.Ref;
035: import java.sql.ResultSet;
036: import java.sql.ResultSetMetaData;
037: import java.sql.Time;
038: import java.sql.Timestamp;
039: import java.util.Calendar;
040:
041: /**
042: * TestPreparedStatement.java
043: *
044: * @author <a href="mailto:adrian@jboss.com">Adrian Brock</a>
045: */
046:
047: public class TestPreparedStatement extends TestStatement implements
048: PreparedStatement {
049: public TestPreparedStatement(final TestDriver driver) {
050: super (driver);
051: }
052:
053: public void addBatch() {
054: }
055:
056: public void clearParameters() {
057: }
058:
059: public boolean execute() {
060: return true;
061: }
062:
063: public ResultSet executeQuery() {
064: return null;
065: }
066:
067: public int executeUpdate() {
068: return 0;
069: }
070:
071: public ResultSetMetaData getMetaData() {
072: return null;
073: }
074:
075: public ParameterMetaData getParameterMetaData() {
076: return null;
077: }
078:
079: public void setArray(int i, Array x) {
080: }
081:
082: public void setAsciiStream(int i, InputStream is, int length) {
083: }
084:
085: public void setBigDecimal(int i, BigDecimal x) {
086: }
087:
088: public void setBinaryStream(int i, InputStream is, int length) {
089: }
090:
091: public void setBlob(int i, Blob x) {
092: }
093:
094: public void setBoolean(int i, boolean x) {
095: }
096:
097: public void setByte(int i, byte x) {
098: }
099:
100: public void setBytes(int i, byte[] x) {
101: }
102:
103: public void setCharacterStream(int i, Reader r, int length) {
104: }
105:
106: public void setClob(int i, Clob x) {
107: }
108:
109: public void setDate(int i, Date x) {
110: }
111:
112: public void setDate(int i, Date x, Calendar cal) {
113: }
114:
115: public void setDouble(int i, double x) {
116: }
117:
118: public void setFloat(int i, float x) {
119: }
120:
121: public void setInt(int i, int x) {
122: }
123:
124: public void setLong(int i, long x) {
125: }
126:
127: public void setNull(int i, int sqlType) {
128: }
129:
130: public void setNull(int i, int sqlType, String typeName) {
131: }
132:
133: public void setObject(int i, Object x) {
134: }
135:
136: public void setObject(int i, Object x, int targetSqlType) {
137: }
138:
139: public void setObject(int i, Object x, int targetSqlType, int scale) {
140: }
141:
142: public void setRef(int i, Ref ref) {
143: }
144:
145: public void setShort(int i, short x) {
146: }
147:
148: public void setString(int i, String x) {
149: }
150:
151: public void setTime(int i, Time x) {
152: }
153:
154: public void setTime(int i, Time x, Calendar cal) {
155: }
156:
157: public void setTimestamp(int i, Timestamp x) {
158: }
159:
160: public void setTimestamp(int i, Timestamp x, Calendar cal) {
161: }
162:
163: public void setUnicodeStream(int i, InputStream x, int length) {
164: }
165:
166: public void setURL(int i, URL url) {
167: }
168: }
|