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