2013/6/5 Durchholz, Joachim <[email protected]>

> > - It is hard to assess updatability of a record in SQL (we've discussed
> this before).
>
> Ah okay. It thought it was a type selected by the programmer.
>
> It would be nice to have a programmer-selected immutable type. It would
> allow handing a Record object off to third-party code and never have to
> worry that they modify the values in it.
> The JDK does something like this via the asImmutableSet() function.
> I.e. I was thinking contracts between pieces of application code, not
> after contracts between SQL/Jooq and the application.


You can use fetchInto() with your user-defined types, or with
a RecordMapper, to achieve any client-side behaviour...

-- 
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/groups/opt_out.


Reply via email to