Class SqlObjectClasspathSqlLocator

java.lang.Object
org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
All Implemented Interfaces:
SqlLocator

public class SqlObjectClasspathSqlLocator extends Object implements SqlLocator
Locates SQL in .sql files on the classpath for use with SqlQuery. Given a class and method name, for example com.foo.Bar#query, load a classpath resource name like com/foo/Bar/query.sql and use it with the annotation. The contents are then parsed, cached, and returned for use by a statement.
See Also: