I was looking at the option to do createUpdate() on Ebean and noticed
that you have to write the where clause yourself. Is it an option to
use the expression lists from queries for this as well.
So we would get something like:
Delete delete = Ebean.createDelete(Order.class); // can be
Update as well of course
int rows = delete.execute();
This way we can use the same code for select queries and delete
Would be nice if this would include some option to update as well, but
maybe that's to much to ask for:
Update update = Ebean.createUpdate(Order.class);
int rows = update.execute();
Let me know what you think.