Turns out to be working fine. The problem was that I used Compass framework
to retrieve the entity but instructed Compass to save date component only in
the index.

Sorry for the noise!

On Tue, Mar 15, 2011 at 2:42 AM, captain <[email protected]> wrote:

> Hi Cheng,
>
> Need to see more code. Can you provide the way you create and watch
> your timestamp?
>
> Cheers
>
> On Mar 14, 5:55 pm, Cheng Wei Lee <[email protected]> wrote:
> > Hi GAE/J gurus,
> >
> > I am using Google App Engine with Java, JDO for persistence. I have my
> > Activity object withtimestamp declared as Persistent and of type
> > java.util.Date.
> >
> > public class Activity ...
> > { ...
> >   @Persistent
> >   private Date timestamp;
> > ...
> >
> > }
> >
> > All Activities stored in the database are seen with correct date but time
> > information is always zero. e.g Tue Mar 14 00:00:00.
> >
> > Is there any know issue? I'm currently using GAE 1.4.0
> >
> > Many thanks!
> >
> > Cheng
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Lee Cheng Wei

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to