title: different date format in java after fetching from oracle
body: <p>In my db <code>max date is as : 27-FEB-12</code></p>
  
  <p>when i am fetching data by java from db that is:</p>
  
  <pre><code>select to_char(max(CREATE_DT),'dd-mm-yyyy') from PROFILE_DETAILS;
  </code></pre>
  
  <p>gives me <code>2012-02-27 00:00:00.0</code></p>
  
  <p>How can i convert it to: <code>27-FEB-12</code>( i am trying to use indian date format)</p>
  
  <p>Any idea please</p>