Add support for a @FoldWith annotation #69

wants to merge 2 commits into


None yet

3 participants

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.


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