⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 callablestatementproxy.java

📁 第三方的SQL Server and Sybase的jdbc dirver,速度更快
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
     * callable statement will cause an event to be fired on the connection     * pool listeners.     *     * @throws SQLException if an error occurs     */    public void setFloat(String parameterName, float x) throws SQLException {        validateConnection();        try {            _callableStatement.setFloat(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setDouble(String parameterName, double x) throws SQLException {        validateConnection();        try {            _callableStatement.setDouble(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setBigDecimal(String parameterName, BigDecimal x) throws SQLException {        validateConnection();        try {            _callableStatement.setBigDecimal(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setString(String parameterName, String x) throws SQLException {        validateConnection();        try {            _callableStatement.setString(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setBytes(String parameterName, byte[] x) throws SQLException {        validateConnection();        try {            _callableStatement.setBytes(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setDate(String parameterName, Date x) throws SQLException {        validateConnection();        try {            _callableStatement.setDate(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setTime(String parameterName, Time x) throws SQLException {        validateConnection();        try {            _callableStatement.setTime(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setTimestamp(String parameterName, Timestamp x) throws SQLException {        validateConnection();        try {            _callableStatement.setTimestamp(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setAsciiStream(String parameterName, java.io.InputStream x, int length) throws SQLException {        validateConnection();        try {            _callableStatement.setAsciiStream(parameterName, x, length);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setBinaryStream(String parameterName, java.io.InputStream x, int length) throws SQLException {        validateConnection();        try {            _callableStatement.setBinaryStream(parameterName, x, length);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException {        validateConnection();        try {            _callableStatement.setObject(parameterName, x, targetSqlType, scale);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setObject(String parameterName, Object x, int targetSqlType) throws SQLException {        validateConnection();        try {            _callableStatement.setObject(parameterName, x, targetSqlType);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setObject(String parameterName, Object x) throws SQLException {        validateConnection();        try {            _callableStatement.setObject(parameterName, x);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setCharacterStream(String parameterName, java.io.Reader x, int length) throws SQLException {        validateConnection();        try {            _callableStatement.setCharacterStream(parameterName, x, length);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setDate(String parameterName, Date x, Calendar cal) throws SQLException {        validateConnection();        try {            _callableStatement.setDate(parameterName, x, cal);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setTime(String parameterName, Time x, Calendar cal) throws SQLException {        validateConnection();        try {            _callableStatement.setTime(parameterName, x, cal);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setTimestamp(String parameterName, Timestamp x, Calendar cal) throws SQLException {        validateConnection();        try {            _callableStatement.setTimestamp(parameterName, x, cal);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 void setNull(String parameterName, int sqlType, String typeName) throws SQLException {        validateConnection();        try {            _callableStatement.setNull(parameterName, sqlType, typeName);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }    }    /**     * 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 String getString(String parameterName) throws SQLException {        validateConnection();        try {            return _callableStatement.getString(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 boolean getBoolean(String parameterName) throws SQLException {        validateConnection();        try {            return _callableStatement.getBoolean(parameterName);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }                return false;    }    /**     * 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 getByte(String parameterName) throws SQLException  {        validateConnection();        try {            return _callableStatement.getByte(parameterName);        } catch (SQLException sqlException) {            processSQLException(sqlException);        }                return Byte.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 short getShort(String parameterName) throws SQLException {        validateConnection();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -