title: Spring, Annotation for Creating Current Date in Hibernate?
body: <p>in my Spring Application using JPA Hibernate Annotions.</p>
  
  <p>In that mysql Database have table and one column called <code>CreateDate</code></p>
  
  <p>This column value will be added when record is inserted.</p>
  
  <p>So is their any annotation for creating current Date and time?</p>
  
  <p>other wise in our Hibernate bean writing setter method in that add </p>
  
  <pre><code>    private Date currrent;
      public void setCurrent(Date current)
      {
        this.current = new Date();
      }
  </code></pre>