Package org.hibernate.type.descriptor
Interface ValueExtractor<X>
-
- All Known Implementing Classes:
BasicExtractor
,SDOGeometryValueExtractor
public interface ValueExtractor<X>
Contract for extracting value via JDBC fromResultSet
or as output param fromCallableStatement
.
-
-
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.
-
-