Hi Andy,

Why don't you try a 3rd party package with an intermediate level of
abstraction: they enforce types.

See Google recommandations at
http://code.google.com/appengine/docs/java/datastore/overview.html#Introducing_the_Java_Datastore

I personally use Objectify.

regards

didier

On Apr 22, 6:23 am, Andy <[email protected]> wrote:
> Hi,
>
> I am trying to get away from JDO and now into Low Level API.  I find that
> the Low Level API is much more flexible except one thing.  I have a
> challenge on enforcing or checking data type for each entity property.  So
> if I don't want to hard code the data type or using reflection, how do I do
> that?  e.g. creationDate is a Date type when saving it as a property of an
> entity but where should I define it as a Date type so I don't have to cast
> every single type?
>
> Thanks,
>
> Andy

-- 
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