我目前正在 GAE 中开发,我必须使用 JDO 进行这样的查询:
SELECT table1.column1, table2.column2 FROM table1, table2 WHERE table1.column1 = table2.column1;
我试过这个,但它不会工作:
String query = "select from "+Assessment.class.getName()+ "a, "+
Project.class.getName()+" p where a.projectId == p.id && p.owner=='"+owner+"'";
这是有效的还是真的不支持?如果这是有效的,为什么它不起作用呢?如果不是,我应该怎么做才能完成这项工作?
谢谢!