[hibernate-dev] Calendar in hbm and timestamp in database field

Thamayanthi k thamayanthi.g at gmail.com
Thu Dec 11 14:18:42 EST 2008


Hi,

    I have database column with timeStamp and my pojo and hbm uses datatype
for property as Calendar.

    How the time will be saved and how it will be converted back
internally?. While testing i found that, data which is in database + 1 hr,
is returned backed.

Thanks
Thamayanthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-dev/attachments/20081211/5d44f121/attachment.html 


More information about the hibernate-dev mailing list