Hi Rob,

2014-01-31 Rob Nikander <[email protected]>:

> Okay, thanks for the response. I missed the `set(Map)` overload, and I've
> been working jOOQ into a project with older code and haven't being using
> UpdatableRecord yet.  Maybe soon.
>

You won't regret it :-)


>
> I've been using Scala, which I think offers a nice solution to that
> `set()` return type issue -- you can use an "abstract type" in the
> super-interface, and then the sub-interface set()s could return different
> types.  I'm not sure how one could do that with java generics... it doesn't
> look easy, so it makes sense to me that you haven't done it.
>

Covariant return types are available in Java as well. There are a couple of
these methods, but they usually don't scale well to an entire DSL. Maybe,
this is food for thought for jOOQ 4.0, though...

-- 
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