Class XmlJdbcType.XmlValueBinder<X>
- java.lang.Object
-
- org.hibernate.type.descriptor.jdbc.BasicBinder<X>
-
- org.hibernate.type.descriptor.jdbc.XmlJdbcType.XmlValueBinder<X>
-
- All Implemented Interfaces:
Serializable,ValueBinder<X>
- Enclosing class:
- XmlJdbcType
protected static class XmlJdbcType.XmlValueBinder<X> extends BasicBinder<X>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlValueBinder(JavaType<X> javaType, JdbcType jdbcType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoBind(CallableStatement st, X value, String name, WrapperOptions options)Perform the binding.protected voiddoBind(PreparedStatement st, X value, int index, WrapperOptions options)Perform the binding.-
Methods inherited from class org.hibernate.type.descriptor.jdbc.BasicBinder
bind, bind, doBindNull, doBindNull, getJavaType, getJdbcType
-
-
-
-
Method Detail
-
doBind
protected void doBind(PreparedStatement st, X value, int index, WrapperOptions options) throws SQLException
Description copied from class:BasicBinderPerform the binding. Safe to assume that value is not null.- Specified by:
doBindin classBasicBinder<X>- Parameters:
st- The prepared statementvalue- The value to bind (not null).index- The index at which to bindoptions- The binding options- Throws:
SQLException- Indicates a problem binding to the prepared statement.
-
doBind
protected void doBind(CallableStatement st, X value, String name, WrapperOptions options) throws SQLException
Description copied from class:BasicBinderPerform the binding. Safe to assume that value is not null.- Specified by:
doBindin classBasicBinder<X>- Parameters:
st- The CallableStatementvalue- The value to bind (not null).name- The name at which to bindoptions- The binding options- Throws:
SQLException- Indicates a problem binding to the callable statement.
-
-