Issues with migratiing from DataNucleus/JDO version v1 to v2
问题 I am using App Engine. I'm trying to upgrade from DataNucleus/JDO version v1 to v2. (JDO2.0 to JDO3.0) My code however has following problems under v2 (and works fine in v1) 1/ The result from a query gives a nullPointerException. Query q = pm.newQuery(Company.class, query); List<Company> companies = (List<Company>) q.execute(); // this should return a non-empty list for (Company company: companies) -> NullPointerException 2/ After persisting an object, I get a serialization error : public