geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed Imran" <mimran1...@gmail.com>
Subject Re: Error when using EJB / persistence
Date Mon, 30 Jun 2008 08:40:53 GMT
Hi you are missing the Temporal annotation, i.e.

@Temporal(value = TemporalType.TIMESTAMP)
@Column(name="TIME_STAMP")
       public java.sql.Date getTimeStamp() { return timeStamp; }

Regards,

Imran


2008/6/27 purdticker <corey_f@rocketmail.com>:

>
> Looks like that was the problem after all... conversion issues.  For some
> reason this date column is actually a varchar.
>
> No more help on this thread required :)
>
> --
> View this message in context:
> http://www.nabble.com/Error-when-using-EJB---persistence-tp18161971s134p18164045.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message