I got an "IllegalArgumentException: Too many indexed properties for
entity" Exception when saving an entity that looks like this:
        ...
        @Persistent
        @Element(dependent = "true")
        @Order(extensions = @Extension(vendorName="datanucleus", key="list-
ordering", value="aDate asc"))
        private List<ClassA> classAList;  //ClassA only contains basic
properties like String and double

        @Persistent
        private double[] list1;
        @Persistent
        private double[] list2;
        @Persistent
        private double[] list3;

When I save an object, that has no more than 10 objects in classAList
and 3600 elements in each of the double[] Arrays list1-3 the error
above occurs in datastore.
I know that there exists a cap for indexed properties per entity of
max 5000. But I though this would only affect list porperties?
My question is, why are double arrays indexed? I thougt only List
Properties would be indexed?
Is double[] handled like List<Double> in app engines datastore?

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