public String getUsernameBySapCode(StringsapCode){
String sql = "SELECT username FROM users WHERE sap_code=?";
String uname=(String)jdbcTemplate.queryForObject(sql,newObject[]{sapCode},String.class);

return uname;

}