title: MySQL datetime not returning time
body: <p>I have a MySQL db with a table containing a <code>datetime</code> column. </p>
  
  <p>However, I cannot find a way in Java to return this as some sort of <a href="http://docs.oracle.com/javase/6/docs/api/java/sql/Time.html" rel="nofollow"><code>Time</code></a> object within Java. </p>
  
  <p>I can call <code>resultset.getString("Date")</code> and it will return the <code>datetime</code>, but this is no good as there is no way to compare dates, etc., on the string.</p>
  
  <p>I can also call <code>resultset.getDate("Date")</code>, but this doesn't return the time at all.</p>