title: Timestamp#equals() fails if Timestamp is mapped to/from Database
body: <p>I am using <code>DATETIME</code> in my MS SQL Database to store date and time.</p>
  
  <p>Java to Database: <code>preparedStatement.setTimestamp(2, insertObj.getTimestamp());</code></p>
  
  <p>Database to Java: <code>selectedObj.setTimestamp(result.getTimestamp("datetime"));</code></p>
  
  <p>Comparing them in my unit tests with <code>insertObj.timestamp.equals(selectedObj.timestamp);</code> randomly returns true or false.</p>
  
  <p>Is this a known issue and how can I fix this?</p>