我想知道jdbi sql api处理sql查询究竟是什么用于调试目的.我的接口类如下
public inteface myinteface{
@SqlQuery("select :c1 from tablename where cond = :cd")
String returnMeValue(@Bind("c1") String c1, @Bind("cd") Integer cd);
}
Run Code Online (Sandbox Code Playgroud)
后来在另一个班级中称为 String result = myinterfaceclassobject.returnMeValue("Name",1);
我没有得到预期的答案,所以我想看看实际上是什么进入SQL查询.那么有什么方法可以获得最终处理的查询吗?