Multiple Class in JDO Query
- by Dan Delgado
Hello,
I'm currently developing in GAE and I have to query like this using JDO:
SELECT table1.column1, table2.column2
FROM table1, table2 WHERE
table1.column1 = table2.column1;
I tried this one but it won't work:
String query = "select from "+Assessment.class.getName()+ "a, "+
Project.class.getName()+" p where a.projectId == p.id && p.owner=='"+owner+"'";
Is this valid or this really isn't supported yet?
If this is valid, why is it not working then?
If it isn't, what should I do to make this work?
Thank you!