This is probably an easy one, but I can't find any docs about it.
I'm getting dates out of my MySQL database as Unix timestamps. Formatting controls on my field definition don't seem to help.
Yet that field comes out (in the output of the REST/JSON view that Roo built for me) as "1321385595"Code:@Column(name = "recovery_date", columnDefinition = "DATETIME") @Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(style = "M") private Date recoveryDate;
EDIT: Sigh. 47 views, 0 replies. Guess it's NOT an easy one?


Reply With Quote