I couldn't see a way to do this using the query builder API:
DbPreparedStatement stmt = _datasource.getConnection()
.getPreparedStatement(
"UPDATE foo SET bar = bar + ? WHERE id = ?");
stmt.setInt(1, amount);
stmt.setInt(2, id);
stmt.executeQuery();
I can call Update.fieldCustom() but I don't see a way to put a bind
variable in the custom value expression (or rather, a way to assign a
value to the variable.)
Possible at present?
-Steve
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users