开发者

Grails Date Timestamp

I have mapped a Date field in one of my models. If I store the date everything looks fine in the database but if I read the value I am getting all values -2 hours from the actual date field. The 开发者_Go百科field in Mysql is DateTime and I saw in the debugger that grails is converting my Date(util) into sql.Timestamp.

What I am doing wrong here?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜