Getting the next hour in java
<p>Please provide the code getting next hour from database. For example i am getting a timestamp  from the database as:</p>

<pre><code>    String sqlupdate = "select UploadedDate from CAF_Entry where Status='new' and Reference=0   order by UploadedDate limit 1";
    System.out.println("sql query"+sqlupdate);
    Statement stupdate = con.createStatement();
    ResultSet rsupdate = stupdate.executeQuery(sqlupdate);
    if(rsupdate.next())
    {
      date22=rsupdate.getTimestamp("UploadedDate");
      String stringdate=date22.toString();`
</code></pre>

<p>I am getting the date <code>2012-11-12 10:30:00</code></p>

<p>How do I get the next hour, such as <code>2012-11-12 11:00:00</code>?</p>
