That is intentional, the App Engine datastore only supports a single primary
key field so we enforce this restriction in the JDO/JPA implementation as
well.  The limitations are described in detail here:
http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Keys

On Tue, Oct 27, 2009 at 8:54 AM, Larry Cable <larry.ca...@gmail.com> wrote:

>
>
>
> On Oct 27, 1:14 am, datanucleus <andy_jeffer...@yahoo.com> wrote:
> > It's a typo in PM proxy. Fixed in DN SVN thx (in DN 2.0, since DN 1.1
> > is not developed now). Obviously you could just use a *normal* PM
> > instead of a proxy PM.
>
> thanks Andy...
>
> while I have your attention ... :) actually I think this one
> belongs to Jason ...
>
> there is a bug in org.datanucleus.store.appengine.MetaDataValidator in
> the
> validatePrimaryKey() method that causes JDO classes
> with multiple primary keys (and supporting object id class) classes to
> fail validation on 1st access ...
>
> thre method throws an exception if there is more than one
> field in the class annotated as a primary key ...
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to