brianm/jdbi — pull request #10 by codahale (2011-12-15 23:23:20+00:00)
Title: Add class nesting for ClasspathStatementLocator

This allows `.sql` files for SQL objects which use the default `ClasspathStatementLocator` to be nested under the full class name (e.g., `src/main/resources/com/example/db/SqlObj/methodName.sql`).

This adds a new test for SQL object-specific behavior of `ClasspathStatementLocator`, and all other tests pass.

It definitely shares some behavior with `StringTemplate3StatementLocator` (i.e., `mungify` and the class-relative resource loading), but I'm not sure how you'd like to handle that.