Re: [appfuse-user] Timestamp, Hibernate annotation and MySQL

2007-05-11 Thread Rance
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

Re: [appfuse-user] Timestamp, Hibernate annotation and MySQL

2007-05-07 Thread Matt Raible
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

[appfuse-user] Timestamp, Hibernate annotation and MySQL

2007-05-05 Thread jlukar
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"