callablestatementproxy.java
来自「第三方的SQL Server and Sybase的jdbc dirver,速度」· Java 代码 · 共 1,484 行 · 第 1/4 页
JAVA
1,484 行
try { return _callableStatement.getShort(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return Short.MIN_VALUE; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public int getInt(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getInt(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return Integer.MIN_VALUE; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public long getLong(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getLong(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return Long.MIN_VALUE; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public float getFloat(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getFloat(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return Float.MIN_VALUE; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public double getDouble(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getDouble(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return Double.MIN_VALUE; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public byte[] getBytes(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getBytes(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Date getDate(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getDate(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Time getTime(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getTime(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Timestamp getTimestamp(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getTimestamp(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Object getObject(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getObject(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public BigDecimal getBigDecimal(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getBigDecimal(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Object getObject(String parameterName, java.util.Map map) throws SQLException { validateConnection(); try { return _callableStatement.getObject(parameterName, map); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Ref getRef(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getRef(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Blob getBlob(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getBlob(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Clob getClob(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getClob(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Array getArray(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getArray(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Date getDate(String parameterName, Calendar cal) throws SQLException { validateConnection(); try { return _callableStatement.getDate(parameterName, cal); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Time getTime(String parameterName, Calendar cal) throws SQLException { validateConnection(); try { return _callableStatement.getTime(parameterName, cal); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public Timestamp getTimestamp(String parameterName, Calendar cal) throws SQLException { validateConnection(); try { return _callableStatement.getTimestamp(parameterName, cal); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; } /** * Delgates calls to the callable statement; SQLExceptions thrown from the * callable statement will cause an event to be fired on the connection * pool listeners. * * @throws SQLException if an error occurs */ public java.net.URL getURL(String parameterName) throws SQLException { validateConnection(); try { return _callableStatement.getURL(parameterName); } catch (SQLException sqlException) { processSQLException(sqlException); } return null; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?