2015-06-11 13:13 GMT+02:00 Oleg <[email protected]>:

> Ok, I fixed the code a bit:
>
> Entity entityDto = new Entity(id = 1, value = null); // value is nullable
> String sql =
> dsl.update(ENTITY_RECORD).set(Record.from(entityDto)).where(...).getSql();
>

The generated SQL should be
UPDATE entity SET id = 1, value = null WHERE ...

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to