select query.* from (${query}) query
So this is the
There is the setting callSettersOnNulls, see here. The default is false, so no setter will be called on a null value, but you can set it to true.
callSettersOnNulls
null