On 1 Dec 2015, at 22:22, Lukas Eder wrote:

>  public Optional<Foo> findFoos() {
>    return findBaseFoo(() -> Foo.FIELD1.eq(.....));
>
> Alternatively, instead of a Supplier<Condition>, you could just simply pass 
> the Condition itself, defaulting to DSL.trueCondition() if no Condition is 
> supplied.

Sometimes the simple option is well.... just the simple option - I think that 
works perfectly well.

Cheers
Mark


-- 
Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
http://facebook.com/mderricutt

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to