To map a date column value to a Java date in EJB 3.0, use this code:
@Temporal(TemporalType.TIMESTAMP) private java.util.Date publishDate;