Thanks for your reply.
I was wondering if there is a way to directly call a procedure and bind variable to it using my .sql.db file with dropwizard.
e.g my .sql.db file contains below text
findById() ::= <<
select employee_id,employee_name from t_employee where manager_id > :id
>>
My interface file is
@ExternalizedSqlViaStringTemplate3
public interface EmployeeDAO {
@SqlQuery
List<Map<String, Object>> findAll(@Bind("id") long id);
}
This gives me a List<Map<String,Object>>>
In my file I am binding the variable :id and get the result
Can I achieve the same thing for a procedure call.Is it possible?I could not find any direct example for proc calls.
Any help is appreciated
Regards
Sathish