title: TemporalType.TIMESTAMP whit java.util.Date don't function (hibernate version 3.2.7.ga)
body: <p>I have this in a class</p>
  
  <pre><code>@Temporal(TemporalType.TIMESTAMP)
  @Column(name = "data_creazione")
  private Date dataCreazione;
  </code></pre>
  
  <p>the object is saved if i put null on db on data_creazione
   I do:</p>
  
  <pre><code>Date data=new Date();
  newAccordo.setDataCreazione(data);
  </code></pre>
  
  <p>and also instead:</p>
  
  <pre><code>newAccordo.setDataCreazione(new Timestamp(data.getTime()));
  </code></pre>
  
  <p>but the object don't be saved. I look for what put in query and is '2014-07-11 16:40:04' that is a normal date time. if i put it manualy it work.
  in the db I try to put datetime and timestamp but don't write inside db anyway.</p>
  
  <p>if i put:</p>
  
  <pre><code>@Temporal(TemporalType.TIME)
  </code></pre>
  
  <p>he write in db the date and the time, but after when I stamp it in jsp I see only right time and the date from util.date start. so i can't use this escamotage.
  I think the problem can be in hibernate version.</p>
  
  <p>what do you think?</p>