Thursday, March 24, 2011

problem inserting timestamp into the database

The equivalent hibernate type for Date is date, time, timestamp.

So check your hibernate level of mapping the date fields.
<property name="createDate" type ="timestamp">...</property>

No comments:

Post a Comment