Add support for a @FoldWith annotation #69

Closed
wants to merge 2 commits into
from

Projects

None yet

3 participants

@tburch
tburch commented Jun 27, 2013

I added a @FoldWith annotation that adds support for folding the ResultSet of the @SqlQuery annotation on sql object interfaces.

jvelo commented Jul 23, 2013

Too bad this is not compatible with query parameters, the query gets executed before the parameters are bound. I'm trying to figure out a way to have both such folding and query bindings, but not luck so far.

Owner

I think this is now implemented more generally with Java 8 Collectors in #199, so I'm going to close this. It'll be in Jdbi 3. Let me know if you have renewed interest in picking this up, or if it is actually not the same feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment