André
2009-05-10 00:43:11 UTC
Hi all,
I've configured an entity attribute as follows:
- Data Type: "java.util.Date" (in "general" tab);
- Persistent Data Type: "Timestamp" (code "TS", in "Detail" tab);
But "preview" tab displays the generated annotation above the attribute:
- @Temporal(TemporalType.DATE)
Am I doing something wrong? I think that should be
"@Temporal(TemporalType.TIMESTAMP)".
Thanks,
André.
I've configured an entity attribute as follows:
- Data Type: "java.util.Date" (in "general" tab);
- Persistent Data Type: "Timestamp" (code "TS", in "Detail" tab);
But "preview" tab displays the generated annotation above the attribute:
- @Temporal(TemporalType.DATE)
Am I doing something wrong? I think that should be
"@Temporal(TemporalType.TIMESTAMP)".
Thanks,
André.