Re: [appengine-java] Re: constructor expressions in JPAQL in GAE

2009-12-22 Thread Bombay Goose
Thanks Datanuclues team. I know it is logical to just blame it on Datanucleus on GAE. But I gave it a benefit of doubt. Anyway, so is there any other way of getting objects with only the properties that I specify? (The second part in the question). Otherwise, it will just be a join and I will ha

Re: [appengine-java] Dynamically create classes using JPA/JDO and bytecode instrumentation

2009-12-21 Thread Bombay Goose
mmend watching the > videos from Google I/O and reading the articles to understand how filtering > and indexing works. This is a pretty good place to start: > http://code.google.com/appengine/articles/datastore/overview.html > > > On Fri, Dec 18, 2009 at 10:12 PM, Bombay Goose wro

[appengine-java] constructor expressions in JPAQL in GAE

2009-12-21 Thread Bombay Goose
Hi all, Need some help in JPAQL in GAE. The JPAQL specs say that you can create objects from a JPA query directly. e.g. I wrote the following code Query q = manager.createQuery("SELECT new com.test.Person(p.id, p.firstName, p.lastName) from Person p"); *List* results = q.getResultList(); It t

Re: [appengine-java] Dynamically create classes using JPA/JDO and bytecode instrumentation

2009-12-18 Thread Bombay Goose
using > the native API and JDO/JPA. > > On Wed, Dec 16, 2009 at 1:30 AM, Bombay Goose wrote: > >> Hello All, >> >> I am doing a feasibility study of whether we can develop our application >> on appengine or not. >> >> Our application has a require

Re: [appengine-java] Re: Dynamically create classes using JPA/JDO and bytecode instrumentation

2009-12-16 Thread Bombay Goose
Thanks Datanucleus team, I want to go ahead with JPA because that is a standard pushed by Sun itself. Follow up question to the JPA - If I add annotations and load the class, I will *NOT* have to *RESTART* the server. If I make changes to XML metadata file, I will have to *RESTART* the server.

[appengine-java] Dynamically create classes using JPA/JDO and bytecode instrumentation

2009-12-15 Thread Bombay Goose
Hello All, I am doing a feasibility study of whether we can develop our application on appengine or not. Our application has a requirement where we have to create tables dynamically, without restarting the application. Is that possible in Appengine? Datanucleus supports this through JDO, with s

[appengine-java] Re: Apache Wink Project Supported on App Engine?

2009-12-15 Thread Bombay Goose
Fuck up is that it does not support a number of things. like aggregate queries. Many to many joins etc. http://code.google.com/appengine/docs/java/datastore/usingjdo.html Look at the end of the page. Same thing applies to JPA also. Man, it gets trickier everyday. - Goose On Sun, Dec 13, 2009 at