Have you tried using @Temporal? Refer the copy of the ejb3 persistence API
found at Hibernate's site (http://www.hibernate.org/hib_docs/ejb3-api/).
Rance
mraible wrote:
>
> I'm not sure as I haven't tried to use a Timestamp in a project with
> annotations. Maybe it has something to do with th
I'm not sure as I haven't tried to use a Timestamp in a project with
annotations. Maybe it has something to do with the dialect? You
might try changing to use a MySQL5InnoDBDialect.
Matt
On 5/6/07, jlukar <[EMAIL PROTECTED]> wrote:
Hi,
I am using AppFuse 2.0 and my POJO annotated as @Entity
Hi,
I am using AppFuse 2.0 and my POJO annotated as @Entity.
this field:
public Timestamp getTimestamp() {
return timestamp;
}
gets created as column type "datetime" eventhough Hibernate is supposed to
underestand Timestamp.
What I am trying to do is to use mysql "timestamp"