[appengine-java] Re: Not able to write string arrays in data store

2010-03-12 Thread datanucleus
You mean you now have ArrayListArrayList, as opposed to the array mentioned in your first post ? ArrayListArrayList is not a supported property type. ArrayList is. You could obviously add a dummy class (e.g MyTempClass) as persistable with the other ArrayList in it as a field so the original

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-12 Thread Jeff Schnitzer
On Thu, Mar 11, 2010 at 8:56 PM, John Patterson jdpatter...@gmail.com wrote: But for typesafe changes large or small Twig supports data migration in a much safer, more flexible way than Objectify.  Read on for details. You are increasing my suspicion that you've never actually performed schema

Re: [appengine-java] Unable to upload app: Error posting to URL:

2010-03-12 Thread Chummar Maly
How where to specify the proxy settings ?. On Thu, Mar 11, 2010 at 3:25 PM, Ikai L (Google) ika...@google.com wrote: Yes, you will have to specify your proxy settings. On Tue, Mar 9, 2010 at 8:32 AM, WillSpecht willspe...@gmail.com wrote: I am getting the following error when trying to

[appengine-java] Re: Objectify - Twig - approaches to persistence

2010-03-12 Thread Nacho Coloma
You are increasing my suspicion that you've never actually performed schema migrations on big, rapidly changing datasets. You are increasing my suspicion that you like to make inflammatory   remarks without thinking them through just for the sake of trolling.   I have one question more or

[appengine-java] Re: Help with modeling JDO persistent classes

2010-03-12 Thread objectuser
One way to do this would be to duplicate A.name on the associated Bs. class A { Long id; String name; ... } class B { Long id; Long Aid; Long Aname; ... } Then you'd be able to do your select on just the B entity group and it would work. On Mar 10, 2:59 am, kattus

[appengine-java] Re: Do I need unowned relationships to accomplish this...?

2010-03-12 Thread objectuser
How about something like this? class User { Long id; ... } class Deck { Long id; Long userId; ... } class Card { Long id; Long deckId; ... } Then inserting a card into the deck is a simple insert and finding all cards in a deck is a single query. The same for adding a deck to

[appengine-java] Error when deleting entities - Id cannot be zero

2010-03-12 Thread Pavel Byles
I'm trying to delete all entities in my datastore but I receive the following error: javax.jdo.JDOUserException: One or more instances could not be deleted... NestedThrowablesStackTrace: java.lang.IllegalArgumentException: id cannot be zero... Caused by:java.lang.IllegalArgumentException: id

[appengine-java] App Engine Bug

2010-03-12 Thread Henning
Hello, if I have a servlet only the admin has access to and I logged in/ registered to App Engine with my Google apps account there is no way to run this servlet although I am an admin because it wants me to authenticate/login as admin with my regular Google account (it does not support the

Re: [appengine-java] Re: How exactly do the App Engine Logs work?

2010-03-12 Thread Don Schwarz
I'm not sure that we document or guarantee this anywhere, but we currently seem to be preserving these for 90 days. I don't know how feasible it is to retrieve all 90 days of data via appcfg, though. On Thu, Mar 11, 2010 at 8:50 PM, Spines kwste...@gmail.com wrote: Thanks for your help Don.

[appengine-java] Re: Spring MVC - File upload problem

2010-03-12 Thread amit
Is there any demo in spring mvc also ? On Mar 2, 7:22 am, yjun hu itswa...@gmail.com wrote: hi, i got a demo here.http://hapeblog.appspot.com/blog.shtml?id=2002 On Tue, Mar 2, 2010 at 4:36 AM, Sebastian Cartier sebi.cart...@gmail.comwrote: Hi my first solution i wrote isn't working

[appengine-java] Re: App instance recycling and response times - is there solution?

2010-03-12 Thread xcdesz
This is NOT just a problem with Spring -- stop talking like optimization is going to fix things. It takes too much time for a naked servlet to load (i.e; 5-10 seconds). The only jars that I have are for JPA. On Jan 12, 8:32 pm, Jeff Schnitzer j...@infohazard.org wrote: I've been thinking about

[appengine-java] Re: Flash arcade game GAE based

2010-03-12 Thread Ahmed Khalifa
thanks for the great help .. the problem is that GAE provided an excellent online developping platform that allowed me to upload my code and update the versions of the game and test it on daily basis .. it was a great disappointment to know that sandbox restrictions prevent me from opening a

[appengine-java] Re: How do I write data in my Google App Engine Datastore to com.google.appengine.api.datastore.Text

2010-03-12 Thread Jake
Hey, I presume setMethod() refers to a getter/setter. So, your persisted class would look like: @Persistent Text text; public void setText(String s) { this.text = new Text(s); } public String getText() { return this.text.getValue() } The App Engine API is your friend:

[appengine-java] Re: Cryptography on App Engine

2010-03-12 Thread Spines
I ended up just using javax.Crypto. If I try out bouncy castle in the future I'll post the results here. On Mar 12, 10:24 am, Ikai L (Google) ika...@google.com wrote: It's not on our Will it play page: http://groups.google.com/group/google-appengine-java/web/will-it-play... This doesn't mean

Re: [appengine-java] Re: Objectify - Twig - approaches to persistence

2010-03-12 Thread Jeff Schnitzer
Scott: Nacho is the author of SimpleDS. Schema migration is something that Hibernate and RDBMSes actually do rather poorly. The typical process is to prepare a series of scripts (ALTER TABLE and then any relevant data transmogrification), shut down the application, run the scripts, then bring

[appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Pavel Byles
Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles pavelby...@gmail.com wrote: I'm trying to delete all entities in my datastore but I receive the following error: javax.jdo.JDOUserException: One or more instances could not be deleted... NestedThrowablesStackTrace:

Re: [appengine-java] Memory Leak in the EntityManagerFactory?

2010-03-12 Thread Max Ross (Google)
Thanks for the report David, this certainly seems suspicious. There is at least one memory leak I'm aware of but it's related to transactions so that's probably not what you're bumping into. Have you tried taking a heap dump to see what exactly is building up? On Fri, Mar 12, 2010 at 1:27 PM,

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Max Ross (Google)
What version of the sdk are you using? On Fri, Mar 12, 2010 at 1:36 PM, Pavel Byles pavelby...@gmail.com wrote: Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles pavelby...@gmail.com wrote: I'm trying to delete all entities in my datastore but I receive the following error:

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Pavel Byles
GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: What version of the sdk are you using? On Fri, Mar 12, 2010 at 1:36 PM, Pavel Byles pavelby...@gmail.com wrote: Anyone? On Fri, Mar 12, 2010 at 8:41 AM, Pavel Byles

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Max Ross (Google)
Which version of the App Engine SDK? On Fri, Mar 12, 2010 at 1:43 PM, Pavel Byles pavelby...@gmail.com wrote: GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: What version of the sdk are you using? On Fri, Mar

Re: [appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread Pavel Byles
1.3.1 On Fri, Mar 12, 2010 at 4:51 PM, Max Ross (Google) maxr+appeng...@google.com maxr%2bappeng...@google.com wrote: Which version of the App Engine SDK? On Fri, Mar 12, 2010 at 1:43 PM, Pavel Byles pavelby...@gmail.com wrote: GWT: 2.0.3 On Fri, Mar 12, 2010 at 4:38 PM, Max Ross

[appengine-java] DataNucleus: java.lang.IllegalArgumentException: Invalid MTJ Project

2010-03-12 Thread haole
There have been numerous posts on the subject of a NullPointerException popping up when the DataNucleus Enhancer runs. At one point, I was able to make this problem go away, and now, it is AGAIN preventing me from running my project. I've seen about 5 different explanations for what's happening.

[appengine-java] Re: DataNucleus: java.lang.IllegalArgumentException: Invalid MTJ Project

2010-03-12 Thread haole
removing all of the jars from my user-defined library for gdata and including only those that i need (core, client, calendar) seemed to fix the problem. i remember reading somewhere about how long classpaths can cause this problem. is this going to be fixed? is the complexity of my app going to

[appengine-java] Re: Error when deleting entities - Id cannot be zero

2010-03-12 Thread thierry LE CONNIAT
HI, I have try your function deleteAllMyType it's functions well, the differenxces are in my class of object : @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Picture { private static final Logger log = Logger.getLogger(Picture.class.getName());

[appengine-java] Re: JPA enhancement problem (DataNucleus)

2010-03-12 Thread thierry LE CONNIAT
Hi, I had this problem, and after try to clean your project and rebuild it . bye On 12 mar, 19:34, Rajeev Dayal rda...@google.com wrote: Hi there, Can you provide the full error message that you're seeing when you get this error? Also, can you navigate to the Error Log (Window - Show View -

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-12 Thread John Patterson
On 12 Mar 2010, at 16:28, Jeff Schnitzer wrote: Look at these graphs: http://code.google.com/status/appengine/detail/datastore/2010/03/12#ae-trust-detail-datastore-get-latency http://code.google.com/status/appengine/detail/datastore/2010/03/12#ae-trust-detail-datastore-query-latency Notice

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-12 Thread John Patterson
On 13 Mar 2010, at 11:00, Jeff Schnitzer wrote: On Fri, Mar 12, 2010 at 4:26 PM, John Patterson jdpatter...@gmail.com wrote: It's hardly FUD to point out that every extra query counts. In GAE, you can measure the price (in $) of every single request. In the applications I have developed,

Re: [appengine-java] Objectify - Twig - approaches to persistence

2010-03-12 Thread Jeff Schnitzer
On Fri, Mar 12, 2010 at 8:35 PM, John Patterson jdpatter...@gmail.com wrote: On 12 Mar 2010, at 16:28, Jeff Schnitzer wrote: Look at these graphs: http://code.google.com/status/appengine/detail/datastore/2010/03/12#ae-trust-detail-datastore-get-latency