KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.mockobjects.sql;
2
3 import java.net.URL JavaDoc;
4 import java.sql.ParameterMetaData JavaDoc;
5 import java.sql.ResultSet JavaDoc;
6 import java.sql.SQLException JavaDoc;
7
8 public class MockCallableStatement extends CommonMockCallableStatement {
9     public void setURL(int parameterIndex, URL JavaDoc val) {
10         notImplemented();
11     }
12
13     public ParameterMetaData JavaDoc getParameterMetaData() throws SQLException JavaDoc {
14         notImplemented();
15         return null;
16     }
17
18     public boolean getMoreResults(int current) throws SQLException JavaDoc {
19         notImplemented();
20         return false;
21     }
22
23     public ResultSet JavaDoc getGeneratedKeys() 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 }
Popular Tags