KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > sql > MockPreparedStatement


1 package com.mockobjects.sql;
2
3 import java.sql.SQLException JavaDoc;
4 import java.sql.ResultSet JavaDoc;
5 import java.sql.ParameterMetaData JavaDoc;
6 import java.net.URL JavaDoc;
7
8 public class MockPreparedStatement extends CommonMockPreparedStatement {
9     public boolean getMoreResults(int current) throws SQLException JavaDoc {
10         notImplemented();
11         return false;
12     }
13
14     public void setURL(int parameterIndex, URL JavaDoc x) throws SQLException JavaDoc {
15         notImplemented();
16     }
17
18     public ResultSet JavaDoc getGeneratedKeys() throws SQLException JavaDoc {
19         notImplemented();
20         return null;
21     }
22
23     public ParameterMetaData JavaDoc getParameterMetaData() throws SQLException JavaDoc {
24         notImplemented();
25         return null;
26     }
27
28     public int executeUpdate(String JavaDoc sql, int autoGeneratedKeys) throws SQLException JavaDoc {
29         notImplemented();
30         return 0;
31     }
32
33     public int executeUpdate(String JavaDoc sql, int columnIndexes[]) throws SQLException JavaDoc {
34         notImplemented();
35         return 0;
36     }
37
38     public int executeUpdate(String JavaDoc sql, String JavaDoc columnNames[]) throws SQLException JavaDoc {
39         notImplemented();
40         return 0;
41     }
42
43     public boolean execute(String JavaDoc sql, int autoGeneratedKeys) throws SQLException JavaDoc {
44         notImplemented();
45         return false;
46     }
47
48     public boolean execute(String JavaDoc sql, int columnIndexes[]) throws SQLException JavaDoc {
49         notImplemented();
50         return false;
51     }
52
53     public boolean execute(String JavaDoc sql, String JavaDoc columnNames[]) throws SQLException JavaDoc {
54         notImplemented();
55         return false;
56     }
57
58     public int getResultSetHoldability() throws SQLException JavaDoc {
59         notImplemented();
60         return 0;
61     }
62 }
63
Popular Tags