1545 * @param parameterName the name of the parameter
1546 * @return A <code>java.lang.Object</code> holding the OUT parameter value.
1547 * @exception SQLException if parameterName does not correspond to a named
1548 * parameter; if a database access error occurs or
1549 * this method is called on a closed <code>CallableStatement</code>
1550 * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
1551 * this method
1552 * @see Types
1553 * @see #setObject
1554 * @since 1.4
1555 */
1556 Object getObject(String parameterName) throws SQLException;
1557
1558 /**
1559 * Retrieves the value of a JDBC <code>NUMERIC</code> parameter as a
1560 * <code>java.math.BigDecimal</code> object with as many digits to the
1561 * right of the decimal point as the value contains.
1562 * @param parameterName the name of the parameter
1563 * @return the parameter value in full precision. If the value is
1564 * SQL <code>NULL</code>, the result is <code>null</code>.
1565 * @exception SQLExceptionif parameterName does not correspond to a named
1566 * parameter; if a database access error occurs or
1567 * this method is called on a closed <code>CallableStatement</code>
1568 * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
1569 * this method
1570 * @see #setBigDecimal
1571 * @since 1.4
1572 */
1573 BigDecimal getBigDecimal(String parameterName) throws SQLException;
1574
1575 /**
1576 * Returns an object representing the value of OUT parameter
1577 * <code>parameterName</code> and uses <code>map</code> for the custom
1578 * mapping of the parameter value.
1579 * <p>
1580 * This method returns a Java object whose type corresponds to the
1581 * JDBC type that was registered for this parameter using the method
1582 * <code>registerOutParameter</code>. By registering the target
1583 * JDBC type as <code>java.sql.Types.OTHER</code>, this method can
1584 * be used to read database-specific abstract data types.
1585 * @param parameterName the name of the parameter
|
1545 * @param parameterName the name of the parameter
1546 * @return A <code>java.lang.Object</code> holding the OUT parameter value.
1547 * @exception SQLException if parameterName does not correspond to a named
1548 * parameter; if a database access error occurs or
1549 * this method is called on a closed <code>CallableStatement</code>
1550 * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
1551 * this method
1552 * @see Types
1553 * @see #setObject
1554 * @since 1.4
1555 */
1556 Object getObject(String parameterName) throws SQLException;
1557
1558 /**
1559 * Retrieves the value of a JDBC <code>NUMERIC</code> parameter as a
1560 * <code>java.math.BigDecimal</code> object with as many digits to the
1561 * right of the decimal point as the value contains.
1562 * @param parameterName the name of the parameter
1563 * @return the parameter value in full precision. If the value is
1564 * SQL <code>NULL</code>, the result is <code>null</code>.
1565 * @exception SQLException if parameterName does not correspond to a named
1566 * parameter; if a database access error occurs or
1567 * this method is called on a closed <code>CallableStatement</code>
1568 * @exception SQLFeatureNotSupportedException if the JDBC driver does not support
1569 * this method
1570 * @see #setBigDecimal
1571 * @since 1.4
1572 */
1573 BigDecimal getBigDecimal(String parameterName) throws SQLException;
1574
1575 /**
1576 * Returns an object representing the value of OUT parameter
1577 * <code>parameterName</code> and uses <code>map</code> for the custom
1578 * mapping of the parameter value.
1579 * <p>
1580 * This method returns a Java object whose type corresponds to the
1581 * JDBC type that was registered for this parameter using the method
1582 * <code>registerOutParameter</code>. By registering the target
1583 * JDBC type as <code>java.sql.Types.OTHER</code>, this method can
1584 * be used to read database-specific abstract data types.
1585 * @param parameterName the name of the parameter
|