Package org.hibernate.type.descriptor
Interface ValueExtractor<X>
-
- All Known Implementing Classes:
BasicExtractor
,SDOGeometryValueExtractor
public interface ValueExtractor<X>
Contract for extracting values from a JDBCResultSet
or from output the parameters of aCallableStatement
.- API Note:
- Extractors, as well as binders, should never apply conversions. Instead, callers of the extractor are expected to coordinate between the extraction and conversion.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description X
extract(CallableStatement statement, int paramIndex, WrapperOptions options)
Extract value from a callable output parameter by indexX
extract(CallableStatement statement, String paramName, WrapperOptions options)
Extract value from a callable output parameter by nameX
extract(ResultSet rs, int paramIndex, WrapperOptions options)
Extract value from result set
-
-
-
Method Detail
-
extract
X extract(ResultSet rs, int paramIndex, WrapperOptions options) throws SQLException
Extract value from result set- Throws:
SQLException
- Indicates a JDBC error occurred.
-
extract
X extract(CallableStatement statement, int paramIndex, WrapperOptions options) throws SQLException
Extract value from a callable output parameter by index- Throws:
SQLException
- Indicates a JDBC error occurred.
-
extract
X extract(CallableStatement statement, String paramName, WrapperOptions options) throws SQLException
Extract value from a callable output parameter by name- Throws:
SQLException
- Indicates a JDBC error occurred.
-
-