1 package com.mockobjects.sql; 2 3 import java.net.URL ; 4 import java.sql.ParameterMetaData ; 5 import java.sql.ResultSet ; 6 import java.sql.SQLException ; 7 8 public class MockCallableStatement extends CommonMockCallableStatement { 9 public void setURL(int parameterIndex, URL val) { 10 notImplemented(); 11 } 12 13 public ParameterMetaData getParameterMetaData() throws SQLException { 14 notImplemented(); 15 return null; 16 } 17 18 public boolean getMoreResults(int current) throws SQLException { 19 notImplemented(); 20 return false; 21 } 22 23 public ResultSet getGeneratedKeys() 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 } | Popular Tags |