Hibernate reverse engineering procedure generated @Temporal(TemporalType.TIMESTAMP) for DateTime

Posted by EugeneP on Stack Overflow See other posts from Stack Overflow or by EugeneP
Published on 2010-04-07T10:20:48Z Indexed on 2010/04/07 10:23 UTC
Read the original article Hit count: 601

Filed under:
|
|

Fields in a DB were of type DATETIME (mysql).

Why was it generated as a timestamp and will it be regenerated

during object persistence? That is not a desired scenario in my case,

seeing that as not a timestamp field means that it should only be set via setter,

no generation needed, I dont really understand why it did not generate it as Date type!

© Stack Overflow or respective owner

Related posts about java

Related posts about hibernate