Package org.jdbi.v3.sqlobject.locator
Class AnnotationSqlLocator
java.lang.Object
org.jdbi.v3.sqlobject.locator.AnnotationSqlLocator
- All Implemented Interfaces:
- SqlLocator
Locates SQL on the SQL method annotations like 
@SqlQuery("foo"). This is the default SqlLocator.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlocate(Class<?> sqlObjectType, Method method, ConfigRegistry config) Locates and returns the SQL for the given SQL Object type and method.
- 
Constructor Details- 
AnnotationSqlLocatorpublic AnnotationSqlLocator()
 
- 
- 
Method Details- 
locateDescription copied from interface:SqlLocatorLocates and returns the SQL for the given SQL Object type and method.- Specified by:
- locatein interface- SqlLocator
- Parameters:
- sqlObjectType- the SQL object type
- method- the method
- config- the config registry
- Returns:
- the SQL for the given method.
 
 
-