Class ConvertedValueExtractor<O,R>
- java.lang.Object
-
- org.hibernate.type.descriptor.converter.ConvertedValueExtractor<O,R>
-
- All Implemented Interfaces:
ValueExtractor<O>
public class ConvertedValueExtractor<O,R> extends Object implements ValueExtractor<O>
-
-
Constructor Summary
Constructors Constructor Description ConvertedValueExtractor(ValueExtractor<R> relationalExtractor, BasicValueConverter<O,R> converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description O
extract(CallableStatement statement, int paramIndex, WrapperOptions options)
Extract value from a callable output parameter by indexO
extract(CallableStatement statement, String paramName, WrapperOptions options)
Extract value from a callable output parameter by nameO
extract(ResultSet rs, int paramIndex, WrapperOptions options)
Extract value from result set
-
-
-
Constructor Detail
-
ConvertedValueExtractor
public ConvertedValueExtractor(ValueExtractor<R> relationalExtractor, BasicValueConverter<O,R> converter)
-
-
Method Detail
-
extract
public O extract(ResultSet rs, int paramIndex, WrapperOptions options) throws SQLException
Description copied from interface:ValueExtractor
Extract value from result set- Specified by:
extract
in interfaceValueExtractor<O>
- Throws:
SQLException
- Indicates a JDBC error occurred.
-
extract
public O extract(CallableStatement statement, int paramIndex, WrapperOptions options) throws SQLException
Description copied from interface:ValueExtractor
Extract value from a callable output parameter by index- Specified by:
extract
in interfaceValueExtractor<O>
- Throws:
SQLException
- Indicates a JDBC error occurred.
-
extract
public O extract(CallableStatement statement, String paramName, WrapperOptions options) throws SQLException
Description copied from interface:ValueExtractor
Extract value from a callable output parameter by name- Specified by:
extract
in interfaceValueExtractor<O>
- Throws:
SQLException
- Indicates a JDBC error occurred.
-
-