title: Read value from application.properties into Spring Batch Reader?
body: <p>I am developing <strong>Spring Batch Oracle 12c</strong> example, in this reader, I wanted to pass value 60 as a placeholder, if this value changes in future, I should be able to handle it from the application.properties file rather than using it in the sql query as hardcode value.</p>
  
  <pre><code>&lt;bean id="myReader" class="org.springframework.batch.item.database.JdbcCursorItemReader" scope="step"&gt;
  &lt;property name="dataSource" ref="dataSource" /&gt;
  &lt;property name="verifyCursorPosition" value="false" /&gt;
  &lt;property name="fetchSize" value="50" /&gt;
  &lt;property name="sql"&gt;
      &lt;value&gt;
              &lt;![CDATA[
              SELECT data.Acc_NUM, data.FD_NUM FROM FD_DATA data, BATch_JOB_RUN B,
              CASE WHEN (data.crte_dt + 60 &gt; sysdate) then 'YES' else 'NO' End DONT_CONSIDER
              WHERE data.ONLINE_ID is NULL and data.updt_dt &gt; B.RUN_DT    
              ]]&gt;
      &lt;/value&gt;
  &lt;/property&gt;
  &lt;property name="rowMapper"&gt;
      &lt;bean class="com.XXX.XXX.mapper.BankDataVOMapper"
          scope="step" /&gt;
  &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>