I have a class:

    @PersistenceCapable
    public class X{
        @Persistent
        @Order(extensions = @Extension(vendorName = "datanucleus", key
= "list-ordering", value = "date desc"))
        private List<Race> list;

        @Persistent
        private Float value;
    }

When I try to make:

    PersistenceManager pm = PMF.get().getPersistenceManager();
    try {
        X x = pm.getObjectById(X.class, id);
        x.setValue(listObject.getValue().floatValue());
        x.getList().add(listObject);
    } finally {
        pm.close();
    }

I'm expecting that in my X object I will add a listValue and set the
value of 'value'. But the result is only adding the value in the list,
ignoring the setting of ghe value!

Is there anything wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to