Hi Ryan,

I'm spawning your second question into another thread

> Also, unrelated, but just a migration observation to JOOQ 3.0
>
> Tables have renamed getFields() to fields(), but References (foreign keys)
> are still using getFields(). It just seems inconsistent?

Yes, there are some inconsistencies. This is a bit unfortunate. This
renaming was part of an idea I've had recently. The fact that the
JavaBeans conventions had leaked into too many APIs where people
(including me) used the word "get" in a wrong context:
http://blog.jooq.org/2013/01/12/bloated-javabeans-part-ii-or-dont-add-getters-to-your-api/

I was then going to rework the whole API, removing "get" and "set"
where I felt they were inappropriate:
https://github.com/jOOQ/jOOQ/issues/2115

The renaming of fields() was necessary to stay consistent with the new
row value expressions API. But the complete change was very big, and I
wasn't 100% sure whether I should go all the way. I'm still thinking
about this. Any input is welcome!

Cheers
Lukas

2013/4/2 Ryan How <[email protected]>:
> Greetings!
>
> I'm looking for Executor.setConnection(). The factory used to have a
> Factory.setConnection method, now it only appears to be in the constructor.
>
> My use case is that I am using it to "close" the factory. I do
> Factory.setConnection(null) to indicate that the factory can no longer be
> used. Just to catch out if a developer decides to keep wanting to use the
> factory and the underlying connection has been put back into the pool.
>
>
> Also, unrelated, but just a migration observation to JOOQ 3.0
>
> Tables have renamed getFields() to fields(), but References (foreign keys)
> are still using getFields(). It just seems inconsistent?
>
>
> Thanks, Ryan
>
>
>
> --
> 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.
>
>

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