bug fixed for StatFitler

This commit is contained in:
wenshao
2012-08-07 10:47:14 +08:00
parent 0c4b481c01
commit 5a83edf523
11 changed files with 48 additions and 25 deletions
@@ -22,7 +22,7 @@ import java.sql.Statement;
import com.alibaba.druid.util.jdbc.StatementBase;
public class MockStatement extends StatementBase implements Statement {
public class MockStatement extends StatementBase implements MockStatementBase, Statement {
public final static String ERROR_SQL = "THROW ERROR";
@@ -46,7 +46,7 @@ public class MockStatement extends StatementBase implements Statement {
}
}
public MockConnection getMockConnection() {
public MockConnection getConnection() {
return mockConnection;
}