package com.netcracker.repositories;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

/**
 * @author Oveian Egor
 */

@Repository
public class BasicDAO {

    @Autowired
    private JdbcTemplate template;

    String sql = "SELECT JOB_TITLE FROM JOBS WHERE MIN_SALARY = 20000";

    public String getSome() throws DataAccessException {
        return this.template.queryForObject(sql,null,String.class);
    }
}
@@ -436,9 +436,9 @@
 Y = 
-2
+1
 0000

Check commit