Taken from https://issues.apache.org/jira/browse/DBCP-191
Index: src/test/org/apache/commons/dbcp/TesterPreparedStatement.java
===================================================================
--- src/test/org/apache/commons/dbcp/TesterPreparedStatement.java (revision 558600)
+++ src/test/org/apache/commons/dbcp/TesterPreparedStatement.java (working copy)
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.Calendar;
+/* JDBC_4_ANT_KEY_BEGIN */
+import java.io.InputStream;
+/* JDBC_4_ANT_KEY_END */
* A dummy {@link PreparedStatement}, for testing purposes.
public java.sql.ParameterMetaData getParameterMetaData() throws SQLException {
throw new SQLException("Not implemented.");
+/* JDBC_4_ANT_KEY_BEGIN */
+ public void setRowId(int parameterIndex, RowId value) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setNString(int parameterIndex, String value) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setNClob(int parameterIndex, NClob value) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setSQLXML(int parameterIndex, SQLXML value) throws SQLException {
+ throw new SQLException("Not implemented.");
+ public void setAsciiStream(int parameterIndex, InputStream inputStream, long length) throws SQLException {
+ throw new SQLException("Not implemented.");