KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.mockobjects.sql;
2
3 import java.sql.SQLException JavaDoc;
4 import java.sql.Savepoint JavaDoc;
5
6 /**
7  * @deprecated Use temporary class MockConnection2
8  * @see MockConnection2
9  */

10 public class MockConnection extends CommonMockConnection{
11
12     public void releaseSavepoint(Savepoint JavaDoc savepoint) throws SQLException JavaDoc {
13         notImplemented();
14     }
15
16     public void rollback(Savepoint JavaDoc savepoint) throws SQLException JavaDoc {
17         notImplemented();
18     }
19
20     public Savepoint JavaDoc setSavepoint() throws SQLException JavaDoc {
21         notImplemented();
22         return null;
23     }
24
25     public Savepoint JavaDoc setSavepoint(String JavaDoc name) throws SQLException JavaDoc {
26         notImplemented();
27         return null;
28     }
29 }
30
Popular Tags