title: Query Oracle DB for timestamps when you know milliseconds
body: <p>I'm currently getting the error:</p>
  
  <pre><code>java.sql.SQLException: ORA-01843: not a valid month
  </code></pre>
  
  <p>which I assume is to do with the way I am setting a timestamp...</p>
  
  <p>So I have a query like this :</p>
  
  <pre><code>select * from A_TABLE where A_TIMESTAMP_COL &lt; '1252944840000'
  </code></pre>
  
  <p>But it doesn't work...and I don't want to have to convert it to a date ideally. Is there some special syntax to tell Oracle that this is a timestamp?</p>