Sort members in AB order so it's easier to find stuff.
diff --git a/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java b/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
index 978467a..b652149 100644
--- a/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
+++ b/src/main/java/org/apache/commons/dbcp2/DelegatingCallableStatement.java
@@ -65,41 +65,10 @@
}
@Override
- public void registerOutParameter(final int parameterIndex, final int sqlType) throws SQLException {
+ public Array getArray(final int i) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().registerOutParameter(parameterIndex, sqlType);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void registerOutParameter(final int parameterIndex, final int sqlType, final int scale) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().registerOutParameter(parameterIndex, sqlType, scale);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public boolean wasNull() throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().wasNull();
- } catch (final SQLException e) {
- handleException(e);
- return false;
- }
- }
-
- @Override
- public String getString(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getString(parameterIndex);
+ return getDelegateCallableStatement().getArray(i);
} catch (final SQLException e) {
handleException(e);
return null;
@@ -107,144 +76,10 @@
}
@Override
- public boolean getBoolean(final int parameterIndex) throws SQLException {
+ public Array getArray(final String parameterName) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getBoolean(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return false;
- }
- }
-
- @Override
- public byte getByte(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getByte(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public short getShort(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getShort(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public int getInt(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getInt(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public long getLong(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getLong(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public float getFloat(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getFloat(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public double getDouble(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getDouble(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- /** @deprecated Use {@link #getBigDecimal(int)} or {@link #getBigDecimal(String)} */
- @Override
- @Deprecated
- public BigDecimal getBigDecimal(final int parameterIndex, final int scale) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBigDecimal(parameterIndex, scale);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public byte[] getBytes(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBytes(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Date getDate(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getDate(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Time getTime(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTime(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Timestamp getTimestamp(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTimestamp(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Object getObject(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getObject(parameterIndex);
+ return getDelegateCallableStatement().getArray(parameterName);
} catch (final SQLException e) {
handleException(e);
return null;
@@ -262,11 +97,13 @@
}
}
+ /** @deprecated Use {@link #getBigDecimal(int)} or {@link #getBigDecimal(String)} */
@Override
- public Object getObject(final int i, final Map<String, Class<?>> map) throws SQLException {
+ @Deprecated
+ public BigDecimal getBigDecimal(final int parameterIndex, final int scale) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getObject(i, map);
+ return getDelegateCallableStatement().getBigDecimal(parameterIndex, scale);
} catch (final SQLException e) {
handleException(e);
return null;
@@ -274,10 +111,10 @@
}
@Override
- public Ref getRef(final int i) throws SQLException {
+ public BigDecimal getBigDecimal(final String parameterName) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getRef(i);
+ return getDelegateCallableStatement().getBigDecimal(parameterName);
} catch (final SQLException e) {
handleException(e);
return null;
@@ -296,6 +133,105 @@
}
@Override
+ public Blob getBlob(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getBlob(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public boolean getBoolean(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getBoolean(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return false;
+ }
+ }
+
+ @Override
+ public boolean getBoolean(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getBoolean(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return false;
+ }
+ }
+
+ @Override
+ public byte getByte(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getByte(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public byte getByte(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getByte(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public byte[] getBytes(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getBytes(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public byte[] getBytes(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getBytes(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Reader getCharacterStream(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getCharacterStream(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Reader getCharacterStream(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getCharacterStream(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
public Clob getClob(final int i) throws SQLException {
checkOpen();
try {
@@ -307,10 +243,21 @@
}
@Override
- public Array getArray(final int i) throws SQLException {
+ public Clob getClob(final String parameterName) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getArray(i);
+ return getDelegateCallableStatement().getClob(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Date getDate(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getDate(parameterIndex);
} catch (final SQLException e) {
handleException(e);
return null;
@@ -329,6 +276,373 @@
}
@Override
+ public Date getDate(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getDate(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Date getDate(final String parameterName, final Calendar cal) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getDate(parameterName, cal);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ private CallableStatement getDelegateCallableStatement() {
+ return (CallableStatement) getDelegate();
+ }
+
+ @Override
+ public double getDouble(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getDouble(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public double getDouble(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getDouble(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public float getFloat(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getFloat(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public float getFloat(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getFloat(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public int getInt(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getInt(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public int getInt(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getInt(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public long getLong(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getLong(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public long getLong(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getLong(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public Reader getNCharacterStream(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNCharacterStream(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Reader getNCharacterStream(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNCharacterStream(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public NClob getNClob(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNClob(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public NClob getNClob(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNClob(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public String getNString(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNString(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public String getNString(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getNString(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Object getObject(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public <T> T getObject(final int parameterIndex, final Class<T> type) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(parameterIndex, type);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Object getObject(final int i, final Map<String, Class<?>> map) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(i, map);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Object getObject(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public <T> T getObject(final String parameterName, final Class<T> type) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(parameterName, type);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Object getObject(final String parameterName, final Map<String, Class<?>> map) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getObject(parameterName, map);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Ref getRef(final int i) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getRef(i);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Ref getRef(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getRef(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public RowId getRowId(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getRowId(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public RowId getRowId(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getRowId(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public short getShort(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getShort(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public short getShort(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getShort(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return 0;
+ }
+ }
+
+ @Override
+ public SQLXML getSQLXML(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getSQLXML(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public SQLXML getSQLXML(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getSQLXML(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public String getString(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getString(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public String getString(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getString(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Time getTime(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTime(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
public Time getTime(final int parameterIndex, final Calendar cal) throws SQLException {
checkOpen();
try {
@@ -340,6 +654,39 @@
}
@Override
+ public Time getTime(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTime(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Time getTime(final String parameterName, final Calendar cal) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTime(parameterName, cal);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Timestamp getTimestamp(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTimestamp(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
public Timestamp getTimestamp(final int parameterIndex, final Calendar cal) throws SQLException {
checkOpen();
try {
@@ -351,6 +698,70 @@
}
@Override
+ public Timestamp getTimestamp(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTimestamp(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public Timestamp getTimestamp(final String parameterName, final Calendar cal) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getTimestamp(parameterName, cal);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public URL getURL(final int parameterIndex) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getURL(parameterIndex);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public URL getURL(final String parameterName) throws SQLException {
+ checkOpen();
+ try {
+ return getDelegateCallableStatement().getURL(parameterName);
+ } catch (final SQLException e) {
+ handleException(e);
+ return null;
+ }
+ }
+
+ @Override
+ public void registerOutParameter(final int parameterIndex, final int sqlType) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().registerOutParameter(parameterIndex, sqlType);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void registerOutParameter(final int parameterIndex, final int sqlType, final int scale) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().registerOutParameter(parameterIndex, sqlType, scale);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
public void registerOutParameter(final int paramIndex, final int sqlType, final String typeName)
throws SQLException {
checkOpen();
@@ -394,31 +805,103 @@
}
@Override
- public URL getURL(final int parameterIndex) throws SQLException {
+ public void setAsciiStream(final String parameterName, final InputStream inputStream) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getURL(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public void setURL(final String parameterName, final URL val) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setURL(parameterName, val);
+ getDelegateCallableStatement().setAsciiStream(parameterName, inputStream);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setNull(final String parameterName, final int sqlType) throws SQLException {
+ public void setAsciiStream(final String parameterName, final InputStream x, final int length) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setNull(parameterName, sqlType);
+ getDelegateCallableStatement().setAsciiStream(parameterName, x, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setAsciiStream(final String parameterName, final InputStream inputStream, final long length)
+ throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setAsciiStream(parameterName, inputStream, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBigDecimal(final String parameterName, final BigDecimal x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBigDecimal(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBinaryStream(final String parameterName, final InputStream inputStream) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBinaryStream(parameterName, inputStream);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBinaryStream(final String parameterName, final InputStream x, final int length) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBinaryStream(parameterName, x, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBinaryStream(final String parameterName, final InputStream inputStream, final long length)
+ throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBinaryStream(parameterName, inputStream, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBlob(final String parameterName, final Blob blob) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBlob(parameterName, blob);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBlob(final String parameterName, final InputStream inputStream) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBlob(parameterName, inputStream);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setBlob(final String parameterName, final InputStream inputStream, final long length)
+ throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setBlob(parameterName, inputStream, length);
} catch (final SQLException e) {
handleException(e);
}
@@ -445,10 +928,108 @@
}
@Override
- public void setShort(final String parameterName, final short x) throws SQLException {
+ public void setBytes(final String parameterName, final byte[] x) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setShort(parameterName, x);
+ getDelegateCallableStatement().setBytes(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setCharacterStream(final String parameterName, final Reader reader) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setCharacterStream(parameterName, reader);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setCharacterStream(final String parameterName, final Reader reader, final int length)
+ throws SQLException {
+ checkOpen();
+ getDelegateCallableStatement().setCharacterStream(parameterName, reader, length);
+ }
+
+ @Override
+ public void setCharacterStream(final String parameterName, final Reader reader, final long length)
+ throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setCharacterStream(parameterName, reader, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setClob(final String parameterName, final Clob clob) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setClob(parameterName, clob);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setClob(final String parameterName, final Reader reader) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setClob(parameterName, reader);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setClob(final String parameterName, final Reader reader, final long length) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setClob(parameterName, reader, length);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setDate(final String parameterName, final Date x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setDate(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setDate(final String parameterName, final Date x, final Calendar cal) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setDate(parameterName, x, cal);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setDouble(final String parameterName, final double x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setDouble(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setFloat(final String parameterName, final float x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setFloat(parameterName, x);
} catch (final SQLException e) {
handleException(e);
}
@@ -475,477 +1056,10 @@
}
@Override
- public void setFloat(final String parameterName, final float x) throws SQLException {
+ public void setNCharacterStream(final String parameterName, final Reader reader) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setFloat(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setDouble(final String parameterName, final double x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setDouble(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setBigDecimal(final String parameterName, final BigDecimal x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBigDecimal(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setString(final String parameterName, final String x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setString(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setBytes(final String parameterName, final byte[] x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBytes(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setDate(final String parameterName, final Date x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setDate(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setTime(final String parameterName, final Time x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setTime(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setTimestamp(final String parameterName, final Timestamp x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setTimestamp(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setAsciiStream(final String parameterName, final InputStream x, final int length) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setAsciiStream(parameterName, x, length);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setBinaryStream(final String parameterName, final InputStream x, final int length) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBinaryStream(parameterName, x, length);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setObject(final String parameterName, final Object x, final int targetSqlType, final int scale)
- throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setObject(parameterName, x, targetSqlType, scale);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setObject(final String parameterName, final Object x, final int targetSqlType) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setObject(parameterName, x, targetSqlType);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setObject(final String parameterName, final Object x) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setObject(parameterName, x);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setCharacterStream(final String parameterName, final Reader reader, final int length)
- throws SQLException {
- checkOpen();
- getDelegateCallableStatement().setCharacterStream(parameterName, reader, length);
- }
-
- @Override
- public void setDate(final String parameterName, final Date x, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setDate(parameterName, x, cal);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setTime(final String parameterName, final Time x, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setTime(parameterName, x, cal);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setTimestamp(final String parameterName, final Timestamp x, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setTimestamp(parameterName, x, cal);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setNull(final String parameterName, final int sqlType, final String typeName) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setNull(parameterName, sqlType, typeName);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public String getString(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getString(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public boolean getBoolean(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBoolean(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return false;
- }
- }
-
- @Override
- public byte getByte(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getByte(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public short getShort(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getShort(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public int getInt(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getInt(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public long getLong(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getLong(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public float getFloat(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getFloat(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public double getDouble(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getDouble(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return 0;
- }
- }
-
- @Override
- public byte[] getBytes(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBytes(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Date getDate(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getDate(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Time getTime(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTime(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Timestamp getTimestamp(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTimestamp(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Object getObject(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getObject(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public BigDecimal getBigDecimal(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBigDecimal(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Object getObject(final String parameterName, final Map<String, Class<?>> map) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getObject(parameterName, map);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Ref getRef(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getRef(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Blob getBlob(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getBlob(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Clob getClob(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getClob(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Array getArray(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getArray(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Date getDate(final String parameterName, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getDate(parameterName, cal);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- private CallableStatement getDelegateCallableStatement() {
- return (CallableStatement) getDelegate();
- }
-
- @Override
- public Time getTime(final String parameterName, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTime(parameterName, cal);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Timestamp getTimestamp(final String parameterName, final Calendar cal) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getTimestamp(parameterName, cal);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public URL getURL(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getURL(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public RowId getRowId(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getRowId(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public RowId getRowId(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getRowId(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public void setRowId(final String parameterName, final RowId value) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setRowId(parameterName, value);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setNString(final String parameterName, final String value) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setNString(parameterName, value);
+ getDelegateCallableStatement().setNCharacterStream(parameterName, reader);
} catch (final SQLException e) {
handleException(e);
}
@@ -973,21 +1087,10 @@
}
@Override
- public void setClob(final String parameterName, final Reader reader, final long length) throws SQLException {
+ public void setNClob(final String parameterName, final Reader reader) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setClob(parameterName, reader, length);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setBlob(final String parameterName, final InputStream inputStream, final long length)
- throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBlob(parameterName, inputStream, length);
+ getDelegateCallableStatement().setNClob(parameterName, reader);
} catch (final SQLException e) {
handleException(e);
}
@@ -1004,24 +1107,83 @@
}
@Override
- public NClob getNClob(final int parameterIndex) throws SQLException {
+ public void setNString(final String parameterName, final String value) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getNClob(parameterIndex);
+ getDelegateCallableStatement().setNString(parameterName, value);
} catch (final SQLException e) {
handleException(e);
- return null;
}
}
@Override
- public NClob getNClob(final String parameterName) throws SQLException {
+ public void setNull(final String parameterName, final int sqlType) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getNClob(parameterName);
+ getDelegateCallableStatement().setNull(parameterName, sqlType);
} catch (final SQLException e) {
handleException(e);
- return null;
+ }
+ }
+
+ @Override
+ public void setNull(final String parameterName, final int sqlType, final String typeName) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setNull(parameterName, sqlType, typeName);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setObject(final String parameterName, final Object x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setObject(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setObject(final String parameterName, final Object x, final int targetSqlType) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setObject(parameterName, x, targetSqlType);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setObject(final String parameterName, final Object x, final int targetSqlType, final int scale)
+ throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setObject(parameterName, x, targetSqlType, scale);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setRowId(final String parameterName, final RowId value) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setRowId(parameterName, value);
+ } catch (final SQLException e) {
+ handleException(e);
+ }
+ }
+
+ @Override
+ public void setShort(final String parameterName, final short x) throws SQLException {
+ checkOpen();
+ try {
+ getDelegateCallableStatement().setShort(parameterName, x);
+ } catch (final SQLException e) {
+ handleException(e);
}
}
@@ -1036,235 +1198,73 @@
}
@Override
- public SQLXML getSQLXML(final int parameterIndex) throws SQLException {
+ public void setString(final String parameterName, final String x) throws SQLException {
checkOpen();
try {
- return getDelegateCallableStatement().getSQLXML(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public SQLXML getSQLXML(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getSQLXML(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public String getNString(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getNString(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public String getNString(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getNString(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Reader getNCharacterStream(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getNCharacterStream(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Reader getNCharacterStream(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getNCharacterStream(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Reader getCharacterStream(final int parameterIndex) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getCharacterStream(parameterIndex);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public Reader getCharacterStream(final String parameterName) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getCharacterStream(parameterName);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public void setBlob(final String parameterName, final Blob blob) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBlob(parameterName, blob);
+ getDelegateCallableStatement().setString(parameterName, x);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setClob(final String parameterName, final Clob clob) throws SQLException {
+ public void setTime(final String parameterName, final Time x) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setClob(parameterName, clob);
+ getDelegateCallableStatement().setTime(parameterName, x);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setAsciiStream(final String parameterName, final InputStream inputStream, final long length)
- throws SQLException {
+ public void setTime(final String parameterName, final Time x, final Calendar cal) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setAsciiStream(parameterName, inputStream, length);
+ getDelegateCallableStatement().setTime(parameterName, x, cal);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setBinaryStream(final String parameterName, final InputStream inputStream, final long length)
- throws SQLException {
+ public void setTimestamp(final String parameterName, final Timestamp x) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setBinaryStream(parameterName, inputStream, length);
+ getDelegateCallableStatement().setTimestamp(parameterName, x);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setCharacterStream(final String parameterName, final Reader reader, final long length)
- throws SQLException {
+ public void setTimestamp(final String parameterName, final Timestamp x, final Calendar cal) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setCharacterStream(parameterName, reader, length);
+ getDelegateCallableStatement().setTimestamp(parameterName, x, cal);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setAsciiStream(final String parameterName, final InputStream inputStream) throws SQLException {
+ public void setURL(final String parameterName, final URL val) throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setAsciiStream(parameterName, inputStream);
+ getDelegateCallableStatement().setURL(parameterName, val);
} catch (final SQLException e) {
handleException(e);
}
}
@Override
- public void setBinaryStream(final String parameterName, final InputStream inputStream) throws SQLException {
+ public boolean wasNull() throws SQLException {
checkOpen();
try {
- getDelegateCallableStatement().setBinaryStream(parameterName, inputStream);
+ return getDelegateCallableStatement().wasNull();
} catch (final SQLException e) {
handleException(e);
- }
- }
-
- @Override
- public void setCharacterStream(final String parameterName, final Reader reader) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setCharacterStream(parameterName, reader);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setNCharacterStream(final String parameterName, final Reader reader) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setNCharacterStream(parameterName, reader);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setClob(final String parameterName, final Reader reader) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setClob(parameterName, reader);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setBlob(final String parameterName, final InputStream inputStream) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setBlob(parameterName, inputStream);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public void setNClob(final String parameterName, final Reader reader) throws SQLException {
- checkOpen();
- try {
- getDelegateCallableStatement().setNClob(parameterName, reader);
- } catch (final SQLException e) {
- handleException(e);
- }
- }
-
- @Override
- public <T> T getObject(final int parameterIndex, final Class<T> type) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getObject(parameterIndex, type);
- } catch (final SQLException e) {
- handleException(e);
- return null;
- }
- }
-
- @Override
- public <T> T getObject(final String parameterName, final Class<T> type) throws SQLException {
- checkOpen();
- try {
- return getDelegateCallableStatement().getObject(parameterName, type);
- } catch (final SQLException e) {
- handleException(e);
- return null;
+ return false;
}
}