I have the Java object with a method "getUser" which will do a query, for example "select * from user when table.name= $param1"
The method have the parameter "Map<String, String> params" , for example "params.add("param1", "Den")"
I want to store the query in other file, for example GetUser.sql
When running the program I change the query.
How do this?
I won't found a framework