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