Steven Schlansker

Results 296 comments of Steven Schlansker

Would it be simpler to simply change your SQL to emit an array? ```java Entity(int id, Collection servers) select id, array[server1, server2] from servers... ```

> org.jdbi.v3.core.extension.NoSuchExtensionException: Extension not found: interface org.jdbi.v3.sqlobject.ColumnNamesTest$EntityDao Perhaps `SqlObjectPlugin` isn't getting registered?

I've updated that exception message with a hint to register SqlObjectPlugin.

This is a great feature request that I've been considering on and off over the years. Unfortunately it's a pretty big one - I don't want to promise it'll get...

I'm not sure I understand the intent of this expression. You write `AND (... ESCAPE '\\' )` which sure looks like an unterminated single-quoted expression, since you have escaped what...

Why don't you bind your `c:\` path into a bound parameter? This issue does not affect you unless you template your values into the SQL string, which is not secure...

Hi @6u5t4v, the `RowMapper` interface is for binding directly to JDBC primitives which do not have Jdbi's high level array support. Instead, you could implement a `RowViewMapper` which has more...

I see that unfortunately docs on `RowViewMapper` itself are missing but the RowView concept is touched on here: http://jdbi.org/#_resultbearing_reducerows and there's some javadoc: http://jdbi.org/apidocs/org/jdbi/v3/core/mapper/RowViewMapper.html

Yes, sorry this isn't clear - but `beforeExecution` does exactly mean before *statement* execution. If the statement cannot be created, then it is never ready to execute, and so the...