Sorry for my question about the problem again but datanucleus gave you a solution to solve the problem. I have the same problem that i got an JDOObjectNotFound exception when i try to fetch with getObjectById.
Can you explain what to do to get a solution for this ? On May 15, 8:12 am, vijay <[email protected]> wrote: > HI All, > > @ datanucleus > yeah i missed that, it solved my problem.Thanks! > > @Alyxandor and others > my category class look something like > > @PersistenceCapable(identityType = IdentityType.APPLICATION, > detachable="true") > public class Category { > @PrimaryKey > @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > Long id; > �...@persistent > private String primary_name; > �...@persistent > private Set<String> names; > �...@persistent > private Set<Long> childrens; > �...@persistent > private Long parent; > > } > > I am using autoindexing, Do you see a problem with it? > > On Wed, May 13, 2009 at 7:46 PM, Alyxandor < > > [email protected]> wrote: > > > Is that the whole Category class, or is there more? > > > Because, if you have a persistent field with a null value, it gets > > skipped by index operations. > > > The low-level query will succeed because an equality test on the > > primary key uses the default, built-in automatic index table, whilst > > all other queries use different index tables based on your index- > > definitions. ANY OBJECT WITH A NULL VALUE FOR A PERSISTENT FIELD IN > > ANY JDO / JPA QUERY WILL BE SKIPPED. Check your admin console, and > > post what the actual data listed there says. > > > Are you using auto-indexing? What does your datastore-indexes.xml > > look like? How did you Annotate Category? > > > ...I'm still fairly fresh with appengine, so take my advice with a > > couple grains of salt, hopefully a master of the arts will find this > > thread and tell you exactly what's wrong. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
