public UpdateQuery set ( String fieldName , Object value ) { String updatedFieldName = "update_" + fieldName ; values . append ( fieldName ) . append ( " = :" ) . append ( updatedFieldName ) . append ( ", " ) ; query . setArgument ( updatedFieldName , value ) ; return this ; }
Set column to update . Object is automatically translated onto matching JDBC type .