Re: Trouble understanding how to lookup objects that have a Datastore Identity by their PK (if the PK is not identified in the model)


Andy
 

You mean it obeys the JDO API. Since the "id" for a datastore-identity case as input to pm.newObjectIdInstance has to be the toString() form of the datastore id class then that is to be expected (that you would get back from calling pm.getObjectId()).

The JDO API is managed by the Apache JDO group, which is where you should address any improvement requests.

Join main@datanucleus.groups.io to automatically receive all group messages.