In my spring boot application I have my query in an external file (sql.properties
) and reading it in DAO
@Value("${queries.selectValue}")
private String selectQuery;
Is this the right way ? Any security issues here
In my spring boot application I have my query in an external file (sql.properties
) and reading it in DAO
@Value("${queries.selectValue}")
private String selectQuery;
Is this the right way ? Any security issues here