title: time in java and hibernate
body: <p>I am new with hibernate. I have an table in my DB (mySQL) with "startTime" column. It's type is time.<br>
  I downloaded org.joda.time package and use Period type, but this doesn't work and throws exception: 10954 <code>[main] ERROR org.hibernate.property.BasicPropertyAccessor - expected type: org.joda.time.Period, actual value: java.sql.Time</code>.</p>
  
  <p>Which type should be the member in my java code? </p>