I am trying to stage a file in snowflake using JdbcTemplate.execute() but I don't know how protect it against sql injection.
private void stageFile(String fpath){
template.execute("PUT file://" + fpath + " @SnowFlakeStage AUTO_COMPRESS=FALSE");
}