[appengine-java] about count query

2010-04-27 Thread Joe Fawzy
Hi all i am using JDO and i want to count the number of entities so which is more efficient using a count quert, eg: select count (this) from User or key only query select id from User then get the count using resultList.size(); by the way , i know that the recommended way on appengine is to p

[appengine-java] persisting primitive list using JPA

2010-04-27 Thread Joe Fawzy
Hi all GAE JPA implementation level is version 1 which does not support list of primitives and i want to port my JDO code to JPA so how can i convert @Persistent private List tags; to its JPA counterpart which work on appengine as a list property not a blob(not using serialization) and if possible

[appengine-java] maximum size of a datastore API call response

2010-04-27 Thread Joe Fawzy
Hi all in the doc , section "Quotas and Limits" i found "maximum size of a datastore API call response"= 1 MB what does this mean? does it mean that the query result cannot exceed 1 MB , so what about the rest of the result, does the JDO layer take care of this and handle it transparently or what?

[appengine-java] Which is more efficient? single query or a key only query followed by batch get

2010-04-27 Thread Joe Fawzy
Hi all the title says it all... which one is more efficient in: cpu usage time consumption thanks Joe -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com

[appengine-java] Re: Does AppEngine really include JPA Support

2010-04-27 Thread Joe Fawzy
Hi dear it seams that u r new to appengine please take enough time to understand the datastore concepts as it is not a RDBMS and yes appengine JPA code is not 100% portable, you have to do some work (both on the domain layer and the dao layer) to port RDBMS jpa code to appengine and the reverse Joe

[appengine-java] Re: about count query

2010-04-28 Thread Joe Fawzy
it is supported ,use it u can find several posts about it in this group joe On Apr 28, 4:47 am, Chau Huynh wrote: > On Wed, Apr 28, 2010 at 5:24 AM, Joe Fawzy wrote: > > select count (this) from User > Since when app engine support group operation? ;-) > > > > >

[appengine-java] setting mail sender address to Google apps address

2010-05-03 Thread Joe Fawzy
Hi all i deployed my application on appengine, set my domain name to point to it through google apps as described and now google apps also manage my email addresses such as i...@my-domain.com so, is it possible to use this address to send emails using the mail api currently i got illegalArgumentEx

[appengine-java] when session expires in the data store

2010-05-08 Thread Joe Fawzy
Hi i have thausands of entries in my ah_SESSION data store table, it dates several days back it does not expire or delete, i think it is non sense to keep all the sessions even that expired in the web container in the data store if it expires , when it expires? and how to trigger that if it doe

[appengine-java] what options when serialVersionUID change

2010-05-08 Thread Joe Fawzy
Hi all using JDO for persistence i have a data store class A which persist its child B as serializable (blob object) what is my options when the serialVersionUID change? do i have to delete all instances of A and recreate them or what? how application versions deal with this? can applying new ver

[appengine-java] About memcache specs

2010-05-08 Thread Joe Fawzy
Hi all i was wondering how many MB will appengine give an app in memcache capacity? i know that it depends and it cannot be determined i do not need exact figure but a rough approximation , as i am trying to reduce application load time by storing common data in memcache, so i would like to kno

[appengine-java] Re: when session expires in the data store

2010-05-08 Thread Joe Fawzy
: > I think you should do some cron job. > > I think keeping expired sessions can be an useful feature. You can dump > session to your local disk and analyze them. For example you can log some > user actions to sessions and then analyze them offline. > > 2010/5/8 Joe Fawzy > &

[appengine-java] Re: when session expires in the data store

2010-05-08 Thread Joe Fawzy
e-java/browse_thread/th... > and if you need hint on code for cleaning up expired sessions let me > know. I can post the source. > > On May 8, 3:54 pm, Joe Fawzy wrote: > > > > > > > Hi dear > > > actually the session data cannot be analyzed that easy as it is

[appengine-java] is the 1000 file limit still apply

2010-05-11 Thread Joe Fawzy
Hi is the 1000 file limit still apply? is that number for static files or for all files including class files? how to overcome it? use jar? can i upload my war file? thanks Joe -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To po

[appengine-java] @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) without @PrimaryKey

2010-05-14 Thread Joe Fawzy
Hi all can i use @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)on ordinary field(non key fileld ,i.e. without @PrimaryKey) that's because my domain class in a child in parent-child relationship so its primary key cannot be of type Long , but i still wanna a unique long number generated

[appengine-java] Does the new OpenID and OAuth work only with google accounts?

2010-05-14 Thread Joe Fawzy
Hi all Does the new OpenID and OAuth work only with google accounts? cannot i use my own account management or my user object? please clarify Joe -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to

[appengine-java] Re: IllegalArgumentException: ETA too far into the future

2010-05-16 Thread Joe Fawzy
Hi docs says it is 30 days from new Date() value Joe On May 16, 1:43 am, derkent wrote: > oops the bug was in my code instead of a delay or countdown, I was > giving a time value, so the delay would have been something like 2010 > years. > > I would still be curios to know what max eta is though.

[appengine-java] estimated number of entries in memcache

2010-05-27 Thread Joe Fawzy
Hi all i know that memcache is documented as an unreliable storage that means that nothing is guarenteed BUT i am asking about your experience using it i have a service with a public api , i want to monitor usage of this api by each user, obvious i cannot go to the datastore on every request to up

[appengine-java] Re: estimated number of entries in memcache

2010-05-28 Thread Joe Fawzy
Hi any one used memcache here?!!! please i need some help any comment will be greatly appreciated thanks a lot Joe On May 27, 11:14 pm, Joe Fawzy wrote: > Hi all > i know that memcache is documented as an unreliable storage that means > that nothing is guarenteed > BUT i am askin