Module org.simpleflatmapper.jdbc
Package org.simpleflatmapper.jdbc.impl
Class MultiIndexQueryPreparer.MultiIndexQueryBinder
java.lang.Object
org.simpleflatmapper.jdbc.impl.MultiIndexQueryPreparer.MultiIndexQueryBinder
- All Implemented Interfaces:
QueryBinder<T>
- Enclosing class:
MultiIndexQueryPreparer<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiIndexQueryBinder(Connection connection, org.simpleflatmapper.converter.ContextFactory contextFactory) -
Method Summary
Modifier and TypeMethodDescriptionBind the value to a new PreparedStatement.voidbindTo(T value, PreparedStatement ps) Bind the value to the specified PreparedStatement.
-
Constructor Details
-
MultiIndexQueryBinder
protected MultiIndexQueryBinder(Connection connection, org.simpleflatmapper.converter.ContextFactory contextFactory)
-
-
Method Details
-
bind
Description copied from interface:QueryBinderBind the value to a new PreparedStatement.- Specified by:
bindin interfaceQueryBinder<T>- Parameters:
value- the value- Returns:
- the created PreparedStatement
- Throws:
SQLException- if an error occurs
-
bindTo
Description copied from interface:QueryBinderBind the value to the specified PreparedStatement. If any parameters is a List or an array it will throw an UnsupportedOperationException.- Specified by:
bindToin interfaceQueryBinder<T>- Parameters:
value- the valueps- the PreparedStatement- Throws:
SQLException- if an error occurs
-