KickJava   Java API By Example, From Geeks To Geeks.

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


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