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

📄 callablestatementproxy.java

📁 第三方的SQL Server and Sybase的jdbc dirver,速度更快
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
        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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -