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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doBind
(CallableStatement st, X value, String name, WrapperOptions options) Perform the binding.protected void
doBind
(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, getBindValue, getJavaType, getJdbcType
-
Constructor Details
-
XmlValueBinder
-
-
Method Details
-
doBind
protected void doBind(PreparedStatement st, X value, int index, WrapperOptions options) throws SQLException Description copied from class:BasicBinder
Perform the binding. Safe to assume that value is not null.- Specified by:
doBind
in 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:BasicBinder
Perform the binding. Safe to assume that value is not null.- Specified by:
doBind
in 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.
-