Re: [appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-02 Thread romesh soni
Tristan, sorry for the mistake. I wrote the wrong thing ( I realized this at night when I went to bed for sleep) It is field1=1000=field2. A given value will always be between the lower and upper bound (field1 and field2). Thanks Romesh On Sun, May 2, 2010 at 11:20 AM, Tristan

[appengine-java] Delete all Data from Datastore

2010-05-02 Thread Kannaiyan Natesan
I had an data model Agent and stored around 230,000+ records. I want to delete all the data together. How would I do that. Query q = pm.newQuery(Agent.Class); q.deletePersistentAll(); The application is timing out with a google.appengine.runtime.DeadlineExceededError. On the otherhand if I try

[appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-02 Thread jtuchscherer
Sorry to revive this old topic, but I still see this problem in 1.3.3.1 I get it in the following scenario: class Parent {} class Child { private Key id; private Parent mother; private Parent father } Error message: Child has multiple relationship fields of type Parent: father and mother.

Re: [appengine-java] Re: Class XXX has multiple relationship fields of type YYYY

2010-05-02 Thread Michael Shtelma
Hi all, I have looked at twig, I liked it a lot, but there is one issue about many to many relationships. Does Twig support them? Sincerely, Michael Shtelma On Sun, Mar 28, 2010 at 5:25 PM, John Patterson jdpatter...@gmail.comwrote: There are alternatives: Twig, Objectify, SimpleDS, Slim3,

[appengine-java] How to save cache instance?

2010-05-02 Thread lembas
I have the list of city names of my country in my database. It is so rare to add a new city. The list is the same for every user for every session. So I use cache for the list. I want to read the list from DB only for once and to keep it on cache as long as possible. Do I need the following

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Peter Ondruska
code.google.com/appengine/docs/java/config/appconfig.html On May 2, 5:38 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: When deploying a Python app files can be filtered-out from the deployment process (i.e. not uploaded to GAE), as described

[appengine-java] Inheritance, unowned relations and retrieving entities by ID.

2010-05-02 Thread Maxim Cherednik
Hi guys, My situation is like that: 1. I have an abtract class Doc and two classes Order and Report which extend Doc. 2. I have a class Person which can contain ListKeys myDocs. Task: 1. Get Report or Order by ID ( I mean the short one, which I can see in Datastore viewer, for instance

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Jaroslav Záruba
Can you be more specific? I mean where does it say how to mark files do not upload this? Thank you. On May 2, 6:41 pm, Peter Ondruska peter.ondru...@gmail.com wrote: code.google.com/appengine/docs/java/config/appconfig.html On May 2, 5:38 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:

Re: [appengine-java] How to save cache instance?

2010-05-02 Thread Pieter Coucke
You don't even need to use a static field in your servlet, you can use a normal class field, like this: public class MyServlet extends HttpServlet { private Cache cache; public void init(ServletConfig config) throws ServletException { super.init(config); try {

[appengine-java] Re: Skipping files when deploying?

2010-05-02 Thread Jaroslav Záruba
Just to make things clear... Of course I read this piece of documentation, and if you are referring to static-files/exclude, my assumption has been that this just excludes matching files from being treated as static. Now when you posted this URL just to be sure, I actually tested it, and those

[appengine-java] Re: Unowned relationship confusion

2010-05-02 Thread datanucleus
Okey, I got the answer of, what is Unowned relationships are not supported In our example it will through exception. * javax.persistence.PersistenceException: Detected attempt to establish User(2) as the parent of Role(1) but the entity identified by Role(1) has already been persisted

[appengine-java] Re: How to save cache instance?

2010-05-02 Thread lembas
Thank you Pieter. I get it from db and re-cache it if the cached one is null. On May 2, 9:44 pm, Pieter Coucke pieter.cou...@onthoo.com wrote: You don't even need to use a static field in your servlet, you can use a normal class field, like this: public class MyServlet extends HttpServlet {

[appengine-java] datastore-indexes-auto.xml invalid if property name starts with special character like ,*,%

2010-05-02 Thread Marc Hacker
I have property names starting with special characters and when I deploy from eclipse it complains that the index configuration with e.g. property name=*nm direction=asc/ is invalid. I tried escaping amp; for the but that didn't help either. -- You received this message because you are

[appengine-java] multiple applications one data store

2010-05-02 Thread Ali
Hi there, In a Java Application Server like Tomcat or Glassfish, I could deploy multiple war files which could share the database. I was wondering if I could deploy multiple war files, one for each context and use single data store. Is there any work around? Regards Ali -- You received this

[appengine-java] Communicating between Applications in Google App Engine/J

2010-05-02 Thread Harsh
Hi All I would like to know what is the best way to communicate from one application (app A) to another (app B) - both deployed on the Google App Engine. Is HTTP access is the only way to achieve this? If its HTTP - are there any best practices? Thanks in advance Regards Harsh -- You received

[appengine-java] Re: Inequality Filters Are Allowed On One Property Only

2010-05-02 Thread Thomas
I can't imagine what your data is. Is it possible to pre-solve the solution list z for every (x, y) pair and store them like (x, y, list of z). If it is the case, you can use a simple z=somevalue filter to get your single result. Thomas On 5月2日, 下午4時57分, romesh soni soni.rom...@gmail.com wrote:

[appengine-java] insert javascript source in gwt java

2010-05-02 Thread zinkronz network
hello hai, i got javascript script type='text/javascript' nuffnang_bid = 'ad8bbad67c3d4d242ebba049ce4c1c5e'; /script script type='text/javascript' src='http://synad2.nuffnang.com.my/k.js'/script this is like google addsense advertise program. i put this script in the gwt java HTML test = new

[appengine-java] Cron maintenance NOW, Sun 5/2 9-11p PDT

2010-05-02 Thread Wesley C (Google)
This is an alert that the planned cron maintenance is happening now. If you want to be notified of planned/scheduled downtimes, please subscribe to the read-only list at http://groups.google.com/group/google-appengine-downtime-notify ... you can go there now to subscribe as well as get more

[appengine-java] Re: Datastore - entities with package names

2010-05-02 Thread madthanu
low level On May 2, 12:22 am, Tristan tristan.slomin...@gmail.com wrote: are you referring to JDO/JDA or low-level datastore? On Apr 30, 6:42 pm, madthanu madth...@gmail.com wrote: I have my entity class inside a seperate Java package, so the full class name of the entity is something

[google-appengine] Total Stored Data - can someone explain please ??

2010-05-02 Thread Perica Zivkovic
Hi there, I have created small blog on GAE and I'm puzzled about numbers on the dashboard saying that my app is using 0.55 of 101 GB (billing enabled) of Total Stored Data. Thats 550 MB !! If I take a look to the actual usage I see that I have three files in blobstore with total size 17MB and

[google-appengine] Scheduled downtime is not reflected on the system status page though appspot returns 404

2010-05-02 Thread michael kariv
My app on the appspot.com returns 404 error. Downtime notification group (http://groups.google.com/group/google- appengine-downtime-notify) clearly notifies about the downtime. This is a notification to our developers on App Engine that there will be an upcoming cron maintenance period Yet the

Re: [google-appengine] Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
I've learned that indexes may take way more space (many times more) than the data itself. You might consider excluding particular property from indexing` in Java that would be: @Persistent @Extension(vendorName = datanucleus, key = gae.unindexed, value=true) private String unindexedString;

[google-appengine] Re: Got CAS client working with appengine (java)

2010-05-02 Thread Piwaï
Let me quickly add some more info, even if no one answered = the patched jar and the sources are now available in a Google Code Project : http://code.google.com/p/cas-client-appengine/downloads/list On Apr 27, 1:23 pm, Piwaï py.ri...@gmail.com wrote: Hi ! Just wanted to let you know, I was

[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Perica Zivkovic
Jaroslav, thank you for your answer. To be honest if Im using 20MB of objects and that is creating 530MB of indexes I am stopping with GAE today !! Because that will mean that I get from Google 101GB and if I create 200-300MB of objects all my space is gone ??!??! cheers, Perica On May 2,

Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
I believe that it was in this video... http://www.youtube.com/watch?v=tx5gdoNpcZM http://www.youtube.com/watch?v=tx5gdoNpcZM...where a question was asked whether we are charged for space taken by indexes. The question is No. (Explanation has been that it would probably discourage users from using

Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
Oh and keep in mind please that my answer (that indexes are the cause) might be completely wrong as well. I'm a noob! :) 2010/5/2 Jaroslav Záruba jaroslav.zar...@gmail.com I believe that it was in this video... http://www.youtube.com/watch?v=tx5gdoNpcZM

Re: [google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Jaroslav Záruba
the question http://www.youtube.com/watch?v=tx5gdoNpcZM#t=41m10 2010/5/2 Jaroslav Záruba jaroslav.zar...@gmail.com Oh and keep in mind please that my answer (that indexes are the cause) might be completely wrong as well. I'm a noob! :) 2010/5/2 Jaroslav Záruba jaroslav.zar...@gmail.com I

[google-appengine] Re: Datastore Transaction problems in App Engine 1.3.2

2010-05-02 Thread korey_sed
Transactions are only supported across a single entity group. So you cannot do what you want, unless you change your relationship to be an owned relationship which would put the objects in the same entity group. On Apr 10, 6:27 pm, AdamM mautner.a...@gmail.com wrote: Hi, I am developing an

[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread Wooble
On May 2, 3:21 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: I believe that it was in this video...http://www.youtube.com/watch?v=tx5gdoNpcZM http://www.youtube.com/watch?v=tx5gdoNpcZM...where a question was asked whether we are charged for space taken by indexes. The question is No.

[google-appengine] Re: publishing includes .svn directories

2010-05-02 Thread jeffrey
My problem was with my Eclipse install. A new install fixed it, probably some setting somewhere I didn't feel like searching for. But being able to exclude files from upload in Java app in general would be useful. Thanks On Apr 12, 2:47 pm, therealjz thereal...@gmail.com wrote: Exactly what I

Re: [google-appengine] Re: publishing includes .svn directories

2010-05-02 Thread Jaroslav Záruba
+1 so who's gonna file the issue-report? :) On Mon, May 3, 2010 at 1:27 AM, jeffrey jeff...@zemericks.com wrote: My problem was with my Eclipse install. A new install fixed it, probably some setting somewhere I didn't feel like searching for. But being able to exclude files from upload in

[google-appengine] Re: Total Stored Data - can someone explain please ??

2010-05-02 Thread WeatherPhilip
Just go and star the issue http://code.google.com/p/googleappengine/issues/detail?id=2740 Go do it right now. Maybe we can persuade Google to fix this issue. Philip On May 2, 5:08 pm, Wooble geoffsp...@gmail.com wrote: On May 2, 3:21 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: I

Re: [google-appengine] Server failed to serve the requests.

2010-05-02 Thread WeShine Tech
Hello Robert, Thanks a tonn for all your replies. I have checked the front end code last time it failed using the other versions and it works just fine. So the client code is surely OK. I had also cheked for packet loss and the connection also seemed to be good. And Yes I am using a custom

[google-appengine] Cron maintenance NOW, Sun 5/2 9-11p PDT

2010-05-02 Thread Wesley C (Google)
This is an alert that the planned cron maintenance is happening now. If you want to be notified of planned/scheduled downtimes, please subscribe to the read-only list at http://groups.google.com/group/google-appengine-downtime-notify ... you can go there now to subscribe as well as get more

[google-appengine] Re: [Billing rates] Billing is not feasible enough

2010-05-02 Thread Greg
Have you looked at what the equivalent would cost on alternative systems? It probably depends on the mix of services you need, but for me appengine is far less expensive. Don't forget to factor in the cost of your time. With appengine, you don't need to micro-manage email, database or web

Re: [google-appengine] Server failed to serve the requests.

2010-05-02 Thread Robert Kluin
Hi Anupam, I have noticed that, not often but occasionally, there will be issues with redirects on custom domains. At some point last week there was an issue on several of my custom domains, including my apps and my Google Apps email. I was getting 'too many redirect' errors even after