java.lang.Object
org.simpleflatmapper.jdbc.impl.MapperQueryBinder<T>
- All Implemented Interfaces:
QueryBinder<T>
-
Constructor Summary
ConstructorsConstructorDescriptionMapperQueryBinder(MapperQueryPreparer<T> queryPreparer, Connection connection) -
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
-
MapperQueryBinder
-
-
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
-