karanpal-dhillon / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

Support Extent/Query with sub-classes across multiple Kinds #187

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Returning an Extent with sub-classes is currently unsupported;
see 
http://www.google.com/codesearch/p?hl=en#79kbA0UmWLw/trunk/src/org/datanucleus/s
tore/appengine/DatastoreManager.java&q=return new DefaultCandidateExtent 
package:http://datanucleus-appengine\.googlecode\.com&sa=N&cd=1&ct=rc&l=250

Instead of silently ignoring the parameter, an exception should be thrown so 
that it is clear the operation is not supported.

Original issue reported on code.google.com by arnold.m...@gmail.com on 12 Jan 2010 at 8:40

GoogleCodeExporter commented 8 years ago

Original comment by max.r...@gmail.com on 12 Jan 2010 at 9:36

GoogleCodeExporter commented 8 years ago
Or better still just implement it correctly so the user gets subclasses too when
asked. Since the datastore doesn't support that in one call then use the 
information
present in DataNucleus to do a query for all subclasses and merge the results 
together.

Original comment by googleco...@yahoo.co.uk on 13 Jan 2010 at 8:48

GoogleCodeExporter commented 8 years ago
How soon is this feature expected to be implemented. My intention was to use 
inheritance exactly for this reason. From my own perspective, there's not much 
point in having inheritance supported if one can't query entities using extent.

Any implemention estimation envisaged?

Original comment by killian....@gmail.com on 6 Feb 2011 at 9:53

GoogleCodeExporter commented 8 years ago

Original comment by googleco...@yahoo.co.uk on 28 Feb 2012 at 2:07