From: Jeff M. <cus...@us...> - 2003-01-17 17:11:53
|
Update of /cvsroot/mockobjects/mockobjects-java/src/jdk/1.4/com/mockobjects/sql In directory sc8-pr-cvs1:/tmp/cvs-serv32519/src/jdk/1.4/com/mockobjects/sql Added Files: MockCallableStatement.java Log Message: Basic implementation of CallableStatement from Griffin Caprio --- NEW FILE: MockCallableStatement.java --- package com.mockobjects.sql; import java.sql.SQLException; import java.sql.ResultSet; import java.sql.ParameterMetaData; import java.net.URL; public class MockCallableStatement extends CommonMockCallableStatement { public void setURL(int parameterIndex, URL val) { notImplemented(); } public ParameterMetaData getParameterMetaData() throws SQLException { notImplemented(); return null; } public boolean getMoreResults(int current) throws SQLException { notImplemented(); return false; } public ResultSet getGeneratedKeys() throws SQLException { notImplemented(); return null; } public int executeUpdate(String sql, int autoGeneratedKeys) throws SQLException { notImplemented(); return 0; } public int executeUpdate(String sql, int[] columnIndexes) throws SQLException { notImplemented(); return 0; } public int executeUpdate(String sql, String[] columnNames) throws SQLException { notImplemented(); return 0; } public boolean execute(String sql, int autoGeneratedKeys) throws SQLException { notImplemented(); return false; } public boolean execute(String sql, int[] columnIndexes) throws SQLException { notImplemented(); return false; } public boolean execute(String sql, String[] columnNames) throws SQLException { notImplemented(); return false; } public int getResultSetHoldability() throws SQLException { notImplemented(); return 0; } } |