title: Select date query with time format is not working with JDBCTemplate and util.Date
body: <p>I am using Spring JDBCTemplate to conneect DB. When I am selecting date in DB using below query </p>
  
  <p><code>select to_date(valid_to,'DD-MM-YYYY HH24:MI:SS') from composition</code></p>
  
  <p>output is, 31-12-99 23:59:59.</p>
  
  <p>But, when I am using the same with JDBCTemplate like below,</p>
  
  <pre><code>Date d = jdbcTemplate.queryForObject("select to_date(valid_to,'DD-MM-YY HH24:MI:SS') from composition",Date.class);
  </code></pre>
  
  <p>outpt is 2099-12-31 00:00:00.0.</p>
  
  <p>Time is not correct. I also need the same time in Date class. How to get that? </p>