Re: [appengine-java] Datastore server error

2012-03-23 Thread Marcel Manz
Please star these issues: http://code.google.com/p/googleappengine/issues/detail?id=6571 http://code.google.com/p/googleappengine/issues/detail?id=7131 -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on th

Re: [appengine-java] Datastore server error

2012-03-21 Thread Aswath Satrasala
I have been have the same Datastore Viewer error with my appid 'vs-accounting'. It is configure as M/S. I am having this trouble for over 1.5 days. This application is in production. I don't know what to do now :( Error: Server Error The server encountered an error and could not complete your

[appengine-java] datastore

2012-03-13 Thread chhavi tyagi
plz give me a very simple example to save a name in datastore. like u have a text box in index.html and a button and wen u click on the button name gets saved on datastore. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view

Re: [appengine-java] Datastore has no entities in the Empty namespace

2012-03-11 Thread kwanja9999
Sent from my BlackBerry® by dtac. -Original Message- From: heri Sender: google-appengine-java@googlegroups.com Date: Sun, 11 Mar 2012 00:56:09 To: Google App Engine for Java Reply-To: google-appengine-java@googlegroups.com Subject: [appengine-java] Datastore has no entities in the

Re: [appengine-java] Datastore server error

2012-03-11 Thread kwanja9999
Sent from my BlackBerry® by dtac. -Original Message- From: "wakk...@hotmail.com" Sender: google-appengine-java@googlegroups.com Date: Sat, 10 Mar 2012 09:03:33 To: Reply-To: google-appengine-java@googlegroups.com Subject: [appengine-java] Datastore server error Hi, My appl

Re: [appengine-java] Datastore server error

2012-03-11 Thread kwanja9999
Sent from my BlackBerry® by dtac. -Original Message- From: "wakk...@hotmail.com" Sender: google-appengine-java@googlegroups.com Date: Sat, 10 Mar 2012 09:03:33 To: Reply-To: google-appengine-java@googlegroups.com Subject: [appengine-java] Datastore server error Hi, My appl

[appengine-java] Datastore has no entities in the Empty namespace

2012-03-11 Thread heri
hy I want to ask why my google app didn't show any entity actually I had create the entity this is the result in webpage /admin Datastore has no entities in the Empty namespace. You need to add data programatically before you can use this tool to view and edit it. -- You received this message be

[appengine-java] Datastore server error

2012-03-11 Thread wakk...@hotmail.com
Hi, My application is address-generator-singapore.appspot.com, however the Datastore Viewer seems to have gone awry. I can't view it at all; all that happens when I click it is a server error and a link returning me to the applications screen. I've done research and it seems this problem is pr

[appengine-java] Datastore access is horribly slow on dev server if you have more than few objects in it

2012-02-03 Thread ruslan
How do you guys test your project on dev server if you need to have more than few objects in Datastore ? The fact that GAE SDK for Java keeps Datastore in memory is just killing me. I can't produce reliable code if I can't test it on my machine. I wonder how other engineers deal with it. Could yo

[appengine-java] Datastore Admin and federated login

2012-01-31 Thread Francois Masurel
The datastore admin doesn't seem to be working with Federated login : Error: Not FoundThe requested URL /_ah/login_required?continue=http://ah-builtin-python-bundle-dot-latest-dot-vncts1.appspot.com/_ah/datastore_admin/ was not found on this server. Anyone knows if this will be fixed anytime s

[appengine-java] DataStore ApiDeadlineExceededException

2012-01-13 Thread deltaaruna
Hi all In my local datastore I have about 16 records and it will go 40+ records in future. But when I try to query the datastore following exception comes com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call datastore_v3.RunQuery() took too long to respond and was

[appengine-java] Datastore backup

2012-01-10 Thread JT
Hi, What options do I have to backup my big data based data store? Thanks. -- 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-java@googlegroups.com. To unsubscribe from this grou

[appengine-java] Datastore API for free applications.

2011-12-28 Thread Anupam
Hello, I am using GWT+GAE(Java). I am using Datastore api's to upload file data in csv format to my application. I use blobstoreService.createUploadUrl to get a blobstore URL. After I post to this URL(Along with a few of my parameters), the server responds with error 500. The files I am try

Re: [appengine-java] Datastore write operations

2011-12-21 Thread Ikai Lan (Google)
Can you post your class definition? -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter.com/ikai On Wed, Dec 21, 2011 at 4:39 PM, Mukesh Joshi wrote: > I am doing a simple prototype to figure out the app engine datastore using > *JDO*. > > The protoype include

[appengine-java] Datastore write operations

2011-12-21 Thread Mukesh Joshi
I am doing a simple prototype to figure out the app engine datastore using * JDO*. The protoype included a single entity/table (Stock) with following attributes: Code, Name, Group and Type - all Strings Also, there is a cron job with backend to download a zip file, unzip it, parse and upload i

Re: [appengine-java] Datastore indexes

2011-12-16 Thread Carter Maslan
you have to run through the code path locally (not just compile) to get auto generated indexes. then use vacuum index to delete old indexes once you are certain you have defined all your indexes in datastore-indexes.xml On Dec 16, 2011, at 8:03 AM, Gaël wrote: > > Running Eclipse, I don't

[appengine-java] Datastore indexes

2011-12-16 Thread Gaël
Running Eclipse, I don't see all indexes in the datastore-indexes.xml file (I see only one..), and I also don't have any datastore-indexes- auto xml file. But all my queries are running fine on the app engine, and when I take a look at my "Data Store Indexes" page in the admin console, I see all

[appengine-java] Datastore Admin 302 error

2011-12-06 Thread Kyle Baley
I'm trying to copy data from one app to another with the Datastore Admin console and when I do, I get: Fetch to https://appid.appspot.com/remote_api failed with status 302 I suspect strongly that it's an authentication issue and that the URL is redirecting to the Google login page. I have the

[appengine-java] datastore viewer : "Oops! We couldn't retrieve your list of Kinds. Please try again later."

2011-11-07 Thread koma
datastore always EMPTY, but i KNOW there are entities STORED. I can see from my logs and from the application frontend that in the namespace "koma.be", I have at least 1 Customer kind. For more than 24H I have the error "*Oops! We couldn't retrieve your list of Kinds. Please try again later.*

[appengine-java] Datastore Admin

2011-10-12 Thread Shash Joshi
I cannot get the data store admin to work for last 48 hrs, does anyone knows of any issues? -- 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-java@googlegroups.com. To unsubscribe

[appengine-java] Datastore Reads Quota How to know wich request to improve?

2011-10-04 Thread Guillaume B.
Hello, I reach some limits on the datastore read quotas and I would like to improve my code to limit this but I cannot find any log to know wich request must be improve something like Datastore Reads Usage /dowrite.do 14% /doread.do 12% /myprofile.do 1% Or is there some java API so I

Re: [appengine-java] datastore - order by query in a many to many model

2011-10-03 Thread Ikai Lan (Google)
Hi Gabriel, Ah, you're hitting the first bump in learning to think non-relationally. Rather than creating 3 models, what about creating a List of categories for each Podcast and just storing that on the podcast? The tradeoff is that it won't be easy to rename a podcast category, but that shouldn't

[appengine-java] datastore - order by query in a many to many model

2011-10-03 Thread gabriel munteanu
Hi, I have the following model [pseudo code]: db.Model("podcast", { name: StringProperty, description: TextProperty, homePageURL: StringProperty, addedDate: DateProperty }); db.Model("category", { name: StringProperty, podcastsNumber: IntegerProperty }); db.Model("podcastcateg

[appengine-java] Datastore Reads

2011-10-01 Thread Doug
Good Morning, I am working to tune my application to make the most efficient use resources. Over the last several days I have been trying to reduce the number of 'datastore reads' that are needed, but I have been having trouble determining what a datastore read is. My initial assumption was t

[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed *** Query like this: Query query = session.createQuery("select u from User u order by u.age"); query.setFirstResult(10); query.setMaxResults(30); = 30 read ops (first 10 skipped) or 40 read ops (GA

[appengine-java] Datastore APIs new pricing - Query (FirstResult/MaxResults)

2011-09-26 Thread Peter Dev
Datastore APIs new pricing - Query (FirstResult/MaxResults) http://code.google.com/appengine/kb/postpreviewpricing.html#two_entities_fetched_operations_consumed - one more question. Query like this: Query query = session.createQuery("select u from User u order by u.age"); query.setFirstResult(10);

Ang.: [appengine-java] DataStore query without transaction - Spring 2.5 + JPA

2011-08-29 Thread Apturity
I just got the OpenEntityManagerInViewFilter to work (in Eclipse, have not deployed yet ) after having struggled for several days. Do you use the EMF class from http://code.google.com/intl/sv-SE/appengine/docs/java/datastore/jpa/overview.html ? If so, that might cause your problem since it cr

[appengine-java] DataStore exception during at commit: IllegalStateException: Transaction is in state COMPLETION_IN_PROGRESS

2011-08-19 Thread An Hong
Hi, I'm using Objectify to write to the datastore. Within a transaction I get an exception like below. Can someone explains what the error means? TIA An Hong Problem accessing /resources/item/4/share. Reason: Transaction is in state COMPLETION_IN_PROGRESS. There is no legal transition out

Re: [appengine-java] datastore statistics vs quota usage (again)

2011-08-19 Thread mark-ns
Hi Ikai, Thanks for the reply. Nope, the two indexed fields are a jodatime LocalDate (actually persisted as a string via an Objectify type converter) and a string. I've verified that the other properties are not indexed by trying to query against them in the datastore viewer console. I have

Re: [appengine-java] - datastore owned parent to child query capabilities

2011-08-16 Thread Ikai Lan (Google)
No, there isn't. You'll have to figure out a way to create indexes. How about a list property on the parent entity? Think denormalization: in App Engine you're using best off storing the same data multiple times. -- Ikai Lan Developer Programs Engineer, Google App Engine plus.ikailan.com | twitter

Re: [appengine-java] datastore statistics vs quota usage (again)

2011-08-15 Thread Ikai Lan (Google)
Are either of the indexed fields List properties? That still wouldn't explain the difference - my guess is it's just out of date. These numbers are calculated asynchronously. There was a recent bug related to this where the display is wrong, but for billing purposes you should still be billed for t

[appengine-java] datastore statistics vs quota usage (again)

2011-08-05 Thread mark-ns
Hi, I saw another post where a user was asking a similar question to this, but he didn't seem to have quite the same scale of discrepancy as me:- I have the following datastore statistics: Total number of entities Size of all entities 39,307 12 MBytes And here ar

[appengine-java] - datastore owned parent to child query capabilities

2011-08-03 Thread sam
Is there an example to query parent list based on filter criteria based on child attributed. Parent has list of children. Not one child. I have seen examples of parent having one child and basic filter on parent attributes but not using child attributes where child is a list inside parent. -- Yo

[appengine-java] Datastore access deadlock

2011-07-28 Thread Eduardo Garcia Lopez
Hi, since last week I am experiencing a very serious problem in my application. Probably since I deployed for the first time after the new SDK 1.5.2 was released. The application is locking during 30 seconds (then it raises an timeout Exception) just doing a single query. The query starts ru

Re: Отг: Re: [appengine-java] Datastore Replication Options - can not be changed once app id is created

2011-07-22 Thread Marcel Overdijk
I also don't understand why we cannot switch. A lot of people are requesting this (including myself). On Jul 22, 7:14 am, Miroslav Genov wrote: > I have the opposite situation :). My app is using master/slave and I want to > migrate it to use the multi-master replication. > > Is there are any ide

Отг: Re: [appengine-java] Datastore Replication Options - can not be changed once app id is created

2011-07-21 Thread Miroslav Genov
I have the opposite situation :). My app is using master/slave and I want to migrate it to use the multi-master replication. Is there are any idea the re-using of application id's to be enabled at some point of time or maybe someway of migration the datastore from master/slave to multi-master a

Re: [appengine-java] Datastore Replication Options - can not be changed once app id is created

2011-07-21 Thread Ikai Lan (Google)
No, you cannot reuse the application ID. What is the reason you do not want to use high replication? Reliability and consistent performance are beneficial, even to small applications. Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http:/

[appengine-java] Datastore Replication Options - can not be changed once app id is created

2011-07-20 Thread dreamer
For now this option can not be changed once app id is created. Is there any possibility of changing this in future. I created small education site, for this "high replication" is not really necessary. Only way seems to create another application id, but I like old app id. Another issue, even if

[appengine-java] Datastore doing nothing in dev environment

2011-07-18 Thread Paul Schmidt
down votefavorite ** Indigo on Windows 7 Pro 64bit Just bringing up an app for the first time; my datastore code is a close copy of various examples out there, and is just trying to save a single simple obje

[appengine-java] DataStore Statistics not updated for at least 2 days

2011-07-15 Thread lp
hi all the database stats have NOT been updated for at least 2 days. it says last updated 19:10:27 but clear what day it happened. what can be done to get them updated? -lp -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To vie

Re: [appengine-java] [DataStore] A parent cannot be established or changed once an object has been persisted

2011-07-09 Thread Sébastien Tromp
In the test case, tests 1 and 3 are basically the same scenario, except that in test 1 the object is detached, while in test 3 I still work with the attached object. And test 1 fails, while test 3 passes. /** Failing test */ @Test public void testBasicPlayerRankingPersistence() {

Re: [appengine-java] [DataStore] A parent cannot be established or changed once an object has been persisted

2011-07-08 Thread Sébastien Tromp
Hello, Thanks for your answer. My question was really to understand why the tests included are failing. As far as I understand, there is no parent defined in my Ranking entity, so I expect the Player to which it belongs to be created when the Player is being persisted. I have included the core of

Re: [appengine-java] [DataStore] A parent cannot be established or changed once an object has been persisted

2011-07-08 Thread Christopher Merrill
It is not clear (to me) exactly what question you are asking. Are you asking if it is possible to change the parent of a datastore entity after it has been created? AFAIK, the answer is no, because the parent is an inherent part of the identity of the entity...which also cannot be changed. You have

Re: [appengine-java] datastore query access failure

2011-07-07 Thread David Chandler
> What am I missing? A stack trace /dmc On Thu, Jul 7, 2011 at 3:26 PM, SwaminathanG wrote: > Hello, > > I am trying to query the datastore from server side code > > But it throws an exception '500 error' even while accessing the method. > > But we can insert into the datastore through other m

[appengine-java] datastore query access failure

2011-07-07 Thread SwaminathanG
Hello, I am trying to query the datastore from server side code But it throws an exception '500 error' even while accessing the method. But we can insert into the datastore through other method. What am i missing? public String[] getStocks() throws NotLoggedInException { checkLoggedIn();

[appengine-java] Datastore keeps trying to use index to sort after index definition was deleted

2011-06-28 Thread japi
I have a plain looking entity that just stored the String id of a product ("7369-45D"), the String value of a currency ("USD"), of the double value of he price (15.55), and i used to be able to sort the table without any problems. Then i decided to give indexes a try ... index table where

Re: [appengine-java] Datastore Viewer - Server Error

2011-06-10 Thread Amit Pandey
Anyone? On Wed, Jun 8, 2011 at 7:32 PM, Amit Pandey wrote: > I'm also getting the same error. > > Any workarround for this??? > > Thanks, > Amit > > On Fri, Apr 22, 2011 at 1:57 PM, Charms Styler > wrote: > >> I keep getting the following message when ever I Click on the *Datastore >> Viewer*

Re: [appengine-java] Datastore Viewer - Server Error

2011-06-08 Thread Amit Pandey
I'm also getting the same error. Any workarround for this??? Thanks, Amit On Fri, Apr 22, 2011 at 1:57 PM, Charms Styler wrote: > I keep getting the following message when ever I Click on the *Datastore > Viewer* link at the Admin Control Panel. How can I view my App data?? > >

[appengine-java] Datastore and lists

2011-05-18 Thread IlyaE
I'm having some architectural problems. On the net i read that saving and retrieving datastore entities are much faster than JDO objects so i've decided to go that route. Do I need to create model object if i'm doing a datastore? I haven't found a reason yet but i'm curious if i do. How do i c

[appengine-java] Datastore viewer server error

2011-05-17 Thread dreamer
Hi, I am browsing the entities using Data store viewer in my app admin. It thew error while browning one entity, what I found is there null value for email field. Any work around please ? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" g

[appengine-java] Datastore Viewer - Server Error

2011-04-22 Thread Charms Styler
I keep getting the following message when ever I Click on the *Datastore Viewer* link at the Admin Control Panel. How can I view my App data?? * * Server Error A server error has occurred. Return to Applications screen » -- Yo

[appengine-java] Datastore Stats for High Replication

2011-04-15 Thread leo
Is it just me unlucky or Datastore Statistics are not implemented yet for HR datastore? I mean not programmatically (did not test yet) but on the Apps page: https://appengine.google.com/datastore/statistics?&app_id=s~...version_id=... -- You received this message because you are subscribed to th

[appengine-java] Datastore - best way to insert/update a record

2011-04-08 Thread Peter
Folks, In my GAE datastore, the "Users" table contains two fields - email addr and counter. Each time a user accesses a specific object, I need to increment the counter. The logic is as follows: 1. SELECT Email, Counter FROM Users Where Email = emailAddr 2. If record not found, create one and s

[appengine-java] Datastore needs index definition for built-in indices

2011-03-31 Thread Ice13ill
Hello, my application uses a full text search implementation based on a list of keywords (properties) and a default sort order. So all my queries contains equality filters on 2,3 string fields and matching words (strings) agains the List of keywords (the input search text is split by " "). This que

[appengine-java] Datastore not responding intermittently

2011-03-17 Thread emurmur
We are testing a update to our app on a couple of qa instances (applications, not just JVMs) of AppEngine. Both are getting DeadlineExceededException pretty often. However, we have only a single user hitting the database and it has little data in it - basically, there is no contention for the

[appengine-java] Datastore throwing exception while putting entity.

2011-03-11 Thread dalchand choudhary
Hi, I am using App Engine Locally with eclipse and while operating put on datastore using Iterable object (datastrore.put(entityList)) I am getting this Exception. com.google.appengine.api.datastore.DatastoreFailureException: handle 16 not found at com.google.appengine.api.datastore.Datastore

[appengine-java] datastore viewer and/or remote_api help

2011-02-19 Thread decitrig
When trying to view the datastore for my app, I get the very terse "A server error has occurred." Nothing in the logs. Searching around the form here suggests that I might have Email or Link elements with invalid contents, and I should use remote_api to download everything & fix it. Fair enough.

[appengine-java] datastore query offset=1 fails; offset=2 works

2011-02-13 Thread David Donohue
I am querying app engine (1.3.8) datastore in local development environment. Querying is working great, until I tried paginating thru a result set. I have 3 entities, with values A, B, C When I query with offset=0, I get entities A, B, C. When I query with offset=1, I get the same When I query

[appengine-java] Datastore viewer not working

2011-01-18 Thread Fabs
Hello all I am using Tapestry 5.0.19 with the java app engine SDK 1.4.0. When I attempt to access the local datastore admin tool at http://localhost:/_ah/admin, the result is that the request is sent to tapestry and the home page is displayed. It would be convenient to be able to use the data

Re: [appengine-java] Datastore doesnot stote @embedded List

2011-01-13 Thread Michael Kankkonen
Hi, Forgot to say that some simple type property like string. In my case I change long value when saving modified blob field. br, -michael 2011/1/13 Khor Yong Hao > Try em.refresh() before em.persist() > > On Thu, Jan 13, 2011 at 6:36 PM, frank wrote: > >> Hello, >> >> I try to store an embed

Re: [appengine-java] Datastore doesnot stote @embedded List

2011-01-13 Thread Michael Kankkonen
Hi, I had little bit same kind of problems with Blob field that you have with your list. When I change the blob content it didn't save. I get it solved so that I change something in "parent entity" and did the save after that - then it started to work. In your case I think that if this is somehow

Re: [appengine-java] Datastore doesnot stote @embedded List

2011-01-13 Thread Khor Yong Hao
Try em.refresh() before em.persist() On Thu, Jan 13, 2011 at 6:36 PM, frank wrote: > Hello, > > I try to store an embedded List in an Entity. > I runs without errors, but no elements of the List are stored > > Thanks for your help. > > here is the code: > > @Entity > public class Cont implements

[appengine-java] Datastore doesnot stote @embedded List

2011-01-13 Thread frank
Hello, I try to store an embedded List in an Entity. I runs without errors, but no elements of the List are stored Thanks for your help. here is the code: @Entity public class Cont implements Serializable {private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = Gener

[appengine-java] Datastore: Keys

2011-01-06 Thread Thiago
Hi, everybody. I'm new to GAE and I've been reading a few books/tutorial about it. However, something is still not clear to me. It always describes that a key would have a reference to the entity parent. So, if I have the following entity User, when it is persisted the Image will have a key saying

[appengine-java] Datastore Backup and Restore (for Java)

2011-01-04 Thread Eurig Jones
Hi, What are the options people are using currently for backup / restoration of their app datastores? There seems to be a few issues raised about it, but no concrete alternatives for it (for Java) as far as I can see. Regards, Eurig Jones http://www.chesspresso.net -- You received this message

[appengine-java] Datastore metadata property query (SDK 1.4)

2010-12-13 Thread Benjamin Muschko
Hi, I was trying out the new 1.4 SDK datastore metadata queries. Querying for kinds works perfectly fine with this query and I get back results: Query query = new Query(Query.KIND_METADATA_KIND); PreparedQuery preparedQuery = DatastoreServiceFactory.getDatastoreService().prepare(query); List kind

[appengine-java] DataStore embeds equals signs ("=") into saved file

2010-12-04 Thread Max
Hi, My GAE application strips attachments from inbound emails and saves them as byte[]. Objectify translates the byte[] to a com.google.appengine.api.datastore.Blob (does not utilize BlobStore). For some files, it embeds equal signs in places where the original document doesn't have any equa

[appengine-java] Datastore viewer unavailable

2010-11-09 Thread Cyrille Vincey
Has some of you already experienced permanent unavailability of the admin UI datastore viewer ? It's been 2 days I cannot access my data through the UI now... I have no quota limitation, nor activity load, and offline jobs execution (mapreduce mainly) is ok. Any clue ? -- You received this messa

Re: [appengine-java] datastore viewer's GQL

2010-10-28 Thread pman
thx - it work. -- 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. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegrou

Re: [appengine-java] datastore viewer's GQL

2010-10-28 Thread Ikai Lan (Google)
I'm guessing this is a custom rolled User object. Here's how you'd likely do it: SELECT * FROM User where __key__=KEY('User', 100100) -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://t

[appengine-java] datastore viewer's GQL

2010-10-27 Thread pman
i have following record in the datastore. datastore ABC === ID/Name title message user === and the user is the object. how to run GQL to filter a particular user's record - user (ag1udW1iZXJzaaD9wejAxcgsLEgRVc2VyG

[appengine-java] Datastore viewer error + cant delete

2010-10-25 Thread Eran
Hi, Can anyone help : In the app engine management screen, pressing the datastore viewer brings an error screen with no details. So, I started searching for corrupt data , and after writing some code found possible instances in the data store where items with duplicate primary keys seem to be comm

[appengine-java] Datastore query for embedded classes

2010-10-18 Thread hendrix.jason
I have two @PersistenceCapable classes: Document.java: http://pastebin.com/3MbEk8qw DocumentSearchKeyValue.java http://pastebin.com/QuUzZrLf How would I create a query that would return all "Document" objects that, in their "documentSearchKeyValues" field, contain a "documentSearchKeyValue" havi

Re: [appengine-java] Datastore latencies problems

2010-10-18 Thread Miroslav Genov
Does the selected kind has any relationships to another kind ? Do you have many conditional statements in your query ? I don't think that anyone could help you with this information. Please provide some more information about the definition of your entities and also whether you are using JDO,

[appengine-java] Datastore latencies problems

2010-10-18 Thread Ice13ill
Hello, I need some help from the app engine team. I'm having problems when accessing the datastore for my application. The runquery requests cat take about 10 to 25 seconds, and sometimes i get DeadlineExcededException or 500 error code. I was wondering if this is happening to other developers or

Re: [appengine-java] Datastore, Java, JSP, JSON, AJAX, Web Page. Is it going to work?

2010-10-06 Thread andy stevko
Hi x_maras, re: using email as a primary key http://code.google.com/appengine/docs/java/users/overview.html The User object exposes a unique user ID that is guaranteed to be stable for the lifetime of the user's account, even if the email address is changed. You can use this value in a datastore

[appengine-java] Datastore, Java, JSP, JSON, AJAX, Web Page. Is it going to work?

2010-10-06 Thread x_maras
Hi, I am new to GAE and I want to make a web application page on it. I was used to work with PHP for web applications but lately I am struggling to get in the thinking of a GAE web application. After reading tutorials and trying to do different things I came up with a thinking how I want my proje

[appengine-java] Datastore, Java, JSP, JSON, AJAX, Web Page. Is it going to work?

2010-10-06 Thread x_maras
Hi, I am new to GAE and I want to make a web application page on it. I was used to work with PHP for web applications but lately I am struggling to get in the thinking of a GAE web application. After reading tutorials and trying to do different things I came up with a thinking how I want my proje

[appengine-java] (datastore) One large query vs lots of small ones

2010-09-02 Thread Thomas P.
Good morning, I have to fetch about 100 items from the datastore and I considered doing it this way: select from ... where x == 5 || x== 9 || x==30 || x==2 || x==0 || x==150 || ... The thing is ... I would have to append lots of "x == ... ||". This could be 100, in the most cases less than 10 bu

[appengine-java] Datastore Backup in JAVA

2010-08-29 Thread Star25
Can anyone tell me how to backup the Datastore in JAVA -- 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. To unsubscribe from this group, send email to

[appengine-java] Datastore Not Persisting Object and No Error That I can find

2010-08-27 Thread Shaun
I have the following code: public String addBankAccountTransaction(String lBankAccountTransactionJson) { log.info("\n\nBankAccountActions::addBankAccountTransaction:start"); GsonBuilder gsonb = new GsonBuilder(); DateDeserializer ds = new DateDeser

[appengine-java] Datastore - Duplication in saving unowned one-to-one relationship

2010-08-25 Thread Rodrigo Sol
Hi, Probably this is a newbie question, but I spent a whole day searching for a solution without success. I want to create an one-to-one relationships between two entities (City and Costumer). I have a form where I create new costumers. When I save this new costumer into the datastore a new "regi

Re: [appengine-java] Datastore.

2010-08-04 Thread Ronmell Fuentes
Hi, for sure. you can use tools writen in python such as: appcfg.py or bulkloader.py, they work perfectly, are useful and easy to use. Rgds. Ronmell F. 2010/8/4 Caram > Hello! > > Can we access the datastore of an applicattion out of the Google site > (appengine.google.com/datastore/explorer)

[appengine-java] Datastore.

2010-08-04 Thread Caram
Hello! Can we access the datastore of an applicattion out of the Google site (appengine.google.com/datastore/explorer) ? Thanks! Caram.: -- 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-java] datastore querying Lists

2010-08-02 Thread Anton
Hello I was wondering how to make a query, I have objects with a List property and I want to get those objects which this List property contains any element of my parameter List, example: class A { List names; } and when querying I have a List paramNames, so I need to get objects that have an

[appengine-java] Datastore and Polymorphic support getObjectByID(Parent.class, childKey)

2010-07-12 Thread Doug Daniels
I'm trying to model a polymorphic relationship in JDO, List where each GameRound could be either a TextRound or PictureRound. I've followed the documentation and modeled the association as a List as described: http://code.google.com/appengine/docs/java/datastore/relationships.html#Polymorphic_Rela

[appengine-java] Datastore questions

2010-07-05 Thread Bert Peters
A while ago there was a problem with arrays and lists, once persisted, not getting updated properly after a change of a certain value. I have two questions on that matter. 1. Does that still occur? 2. Does this bug affect (Hash)Maps as well? Kind regards, Bert Peters. -- You received this messag

Re: [appengine-java] DataStore, ApplicationError: 3: Unexpected error, please try again

2010-06-22 Thread Alfred Fuller
This can happen when you add the same entity to the put(or delete) request more than once (same by .equals). If this is the case, your put actually succeeded. This should be fixed soon, however I would suggest checking your code to figure out why you are putting the same entity multiple times (if i

[appengine-java] DataStore, ApplicationError: 3: Unexpected error, please try again

2010-06-18 Thread Toby
Hello, I am lately getting errors of this kind: Response: com.google.apphosting.api.ApiProxy$ApplicationException: ApplicationError: 3: Unexpected error, please try again. at com.google.apphosting.runtime.ApiProxyImpl $AsyncApiFuture.rpcFinished(ApiProxyImpl.java:293) at com.google.net.rpc.RpcStu

Re: [appengine-java] datastore Category type/class... vs. String

2010-06-14 Thread Ikai L (Google)
The difference is the XML representation in the Python version when you call toXml on the db.Model: http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_to_xml The Java version exists for feature parity and type-safety (if you are into that sort of thing). It's not more

[appengine-java] datastore Category type/class... vs. String

2010-06-12 Thread Jaroslav Záruba
This is probably a silly question... few of them How does Category differ from good old String? Does it take less space in the datastore or is it stored as String? And if one had only tens of tags, would it be any good to tag entities rather using numbers and translate them afterwards? (Would it

[appengine-java] Datastore stats

2010-06-07 Thread keyurva
I am querying the __Stat_Kind__ kind. It does not return me entities about kinds that currently exist in the datastore but it includes entities about kinds that I had deleted more than a week ago. I am not so much concerned about it returning me the non-existent kinds - the doc does mention this s

Re: [appengine-java] Datastore will not complain if child of owned 1to1 relationship is of type String

2010-06-07 Thread Ikai L (Google)
How are you building the child key? Are you using KeyFactory.Builder? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/KeyFactory.Builder.html You'll

[appengine-java] Datastore design

2010-06-07 Thread Marcel Overdijk
I've the following scenario. a) Registered users can post recipes (we anticipate on 5000 different recipes) b) Each recipe is part of 1 or more categories (we anticipate 100 different categories) c) Registered users can vote for recipes d) Registered users must select the country they live in 1)

[appengine-java] Datastore Performance Growing Pains

2010-06-04 Thread Peter Ondruska
http://googleappengine.blogspot.com/2010/06/datastore-performance-growing-pains.html "So until performance has returned to a state we are proud of, and that you are satisfied with, your applications will not be charged for Datastore CPU costs effective on your May 31st bill. When we are convinced

[appengine-java] Datastore will not complain if child of owned 1to1 relationship is of type String

2010-06-03 Thread Didier Durand
Hi, I made a very simple test case for 1to1 owned relationship: 1 child object with a String as key 1 parent object with a Key as key and the child as additional property At compile time and run time, the DS does not complain for such a construct altough http://code.google.com/appengine/docs/j

[appengine-java] Datastore - update a non-root entity does nothing

2010-05-19 Thread Xuel
Hello everybody ! I've been working with the wicket-gae-template which provides a good entry in gae, however I have a big issue : I have 3 entities, Astre, Region and Colon ; Astre has a list of Region ; Region has a list of Colon. Astre { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStr

[appengine-java] Datastore Statistics not updated for 3 days

2010-05-09 Thread Toby
Hello, I have some trouble with the Administration Console. Everything is very slow. Sometimes I get error page. The Datastore Statistics say: Last updated 3 days, 17:59:52 ago on the right it says that there is at least one update per day. So I am puzzled. Maybe my application got corrupted? W

[appengine-java] Datastore - entities with package names

2010-05-01 Thread madthanu
I have my entity class inside a seperate Java package, so the full class name of the entity is something like my.package.myEntity How do you use GQL to do a select when the class name is this? The following did not work: SELECT * FROM my.package.myEntity Thanks, Thanu -- You received this mes

Re: [appengine-java] Datastore cursor return value question - CursorHelper.getCursor(List)

2010-04-30 Thread Chau Huynh
Thank you Ikai On Fri, Apr 30, 2010 at 4:29 AM, Ikai L (Google) wrote: > You'll have to do another query since we don't "peek ahead" to see if > you're at the end of the query result or not. You can optimize this, > however, by doing a keys only query so you don't have to fetch the entities: > >

  1   2   >