title: SQL exception : non supported token at position 3 JAVA
body: <p>I'm getting java.sql.sqlEception : non supported token SQL92 token ant position 3 exception for a simple select query.</p>
  <p>please find the query below.</p>
  <pre><code>SELECT contract from contract_table
  </code></pre>
  <p>sql.properties</p>
  <pre><code>FETCH.CONTRACT=SELECT contract from contract_table
  </code></pre>
  <p>contractDAOImpl</p>
  <pre><code>public class ContractDAOImpl implements ContractDAO{
      
      @Value(&quot;${FETCH.CONTRACT}&quot;)
      private String fetchContract;
      
      @Autowired
      private JdbcTemplate jdbc;
      
      public JdbcTemplate getjdbc(){
          return jdbc; 
      }
      
      public void setjdbc(JdbcTemplate jdbc){
          this.jdbc=jdbc; 
      }
      
      public List&lt;ContractEntity&gt; getValue(){
          Connection conn=null
          PreparedStatement stmt=null;
          Resultset res=null;
      
          conn=jdbc.getConnection();
          stmt=conn.PreparedStatement(fetchContract);
          res=stmt.executeQuery();
      }
  }
  </code></pre>