[appengine-java] Re: Eclipse GAE plugin problem with Datanucleus enrichment

2010-02-03 Thread Guser
Joe, I copied your class, and get the same exception. One thing I see you're doing is attempting to annotate a method, when you should be annotating properties. I also see you don't have an @Id, or @Basic property annotations. I'm know to this, too, but I hope it helps. Guser On Feb 2, 2:58 pm,

[appengine-java] Re: non-deterministic datastore behaviour while unit testing

2010-02-03 Thread Markus Scheidgen
There are no build errors or missing dependancies. I use the regular buildpath containing only the App Engine SDK Library, JUnit3 Library, JRE System Library plus the external jars: ... eclipse\plugins\com.google.appengine.eclipse.sdkbundle.

[appengine-java] cron / app versions confusion

2010-02-03 Thread phraktle
Hi, There appears to be a bug - or at least undesired behavior - regarding cron jobs. Let's say there's a test and a production (the active) version of an app. If you add a cron job to cron.xml in test, one would expect that job is bound to that specific version. Instead what I'm seeing: - the

Re: [appengine-java] cron / app versions confusion

2010-02-03 Thread Kasper Hansen
Hi, It's the same with data. Data is for all versions. I don't want to say this is a bug, because in some regards it's nice that data is shared, but in other situations it's not. It would be nice to be able to compartmentalize an app somehow. :-) Kasper On Wed, Feb 3, 2010 at 11:40 AM, phraktle

[appengine-java] GWT Plugin fails to operate in Firefox and Google Chrome

2010-02-03 Thread Mikey87
Hello, I have been having many issues trying to get Firefox and Chrome to operate properly with the GWT Plugin for the browsers. The only browser that I am not having issues with is Explorer, it works but is very slow. I have been doing the GWT tutorials for a project and I just wondered if

[appengine-java] Re: GWT Plugin fails to operate in Firefox and Google Chrome

2010-02-03 Thread Mikey87
Sorry posted in wrong discussion group. On Feb 3, 11:29 am, Mikey87 mwhit...@live.co.uk wrote: Hello, I have been having many issues trying to get Firefox and Chrome to operate properly with the GWT Plugin for the browsers. The only browser that I am not having issues with is Explorer, it

[appengine-java] Re: Incorrect number of entities returned

2010-02-03 Thread aswath satrasala
I did further investigation on my unittest (code is pasted in my previous email). The second transaction block is not persisting the SecurityGroup Entity. If I add the following line with in txn block, securityGroup = pm.getObjectById(SecurityGroup.class, securityGroup.getId()); I see the

Re: [appengine-java] cron / app versions confusion

2010-02-03 Thread John Patterson
Cron jobs always execute against the default version. A feature I use a lot to compartmentalise data with Twig is versioned datastores. It basically just prepends a version number to the Entity kind for all instances stored or queried with that session. So effectively you have multiple

[appengine-java] how to share local_db.bin to others

2010-02-03 Thread dreamy
we have 4 membership in google app engine project. we code in local Machine and manager source by subverion, in devolop ,when some one create a record(eg.create a company object) but others membership can't use this company object. is there any way to share local_db.bin to each other or all

[appengine-java] Localization parameters

2010-02-03 Thread Grégoire Galinand
Hi, i've got a little problem with localization settings when i deploy my applications. I'm in france and when i format a date with a simpledateformat, i've got a offset of 2 hours with my french clock. How can i define my localizations parameters for my application ? Thanks Grégoire --

[appengine-java] Re: Unsupported method contains while parsing expression:

2010-02-03 Thread Ftaylor
There actually seems to be a mistake in the documentation: // Give me all Employees with lastName equal to Smith or Jones Query query = pm.newQuery(Employee.class, :p.contains(lastName)); query.execute(Arrays.asList(Smith, Jones)); Surely it should be: //

[appengine-java] Re: Unsupported method contains while parsing expression:

2010-02-03 Thread Ftaylor
Wow that mistake in the documentation wasted days of my time. Thankyou datanucleus. On Feb 3, 5:40 pm, Ftaylor finbarrtay...@googlemail.com wrote: There actually seems to be a mistake in the documentation: // Give me all Employees with lastName equal to Smith or Jones     Query query =

[appengine-java] add a new INT-type @Persistent to a existing talbe

2010-02-03 Thread Love Yao
my demo fist, public class CommentTheme { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String theme; } then for (int i = 20; i 0; i--) { CommentTheme

[appengine-java] Re: add a new INT-type @Persistent to a existing talbe

2010-02-03 Thread datanucleus
so What is the problem! String can have null values and int can't perhaps ? If you'd used Integer then all would have been fine. All records in the datastore don't have that field. PS. You DO NOT need to put @Persistent on a field of basic Java type like String, int, long, etc, despite what the

[appengine-java] Tutorial : GWT UiBinder with JAX-RS Jersey and Objectify on Google App Engine @ http://wp.me/PnkVx-1S

2010-02-03 Thread Iqbal Yusuf Dipu
Tutorial : GWT UiBinder with JAX-RS Jersey and Objectify on Google App Engine @ http://wp.me/PnkVx-1S Iqbal -- 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] 1.3.1 SDK Prerelease - help us verify

2010-02-03 Thread Ikai L (Google)
Hello App Engine Developers, As part of our ongoing efforts to improve release quality and transparency, we will start prereleasing SDKs for early testing. We hope this gives developers a chance to participate in our release process by trying out new changes and sending feedback. As of this

[appengine-java] Re: Performance of count entity

2010-02-03 Thread David Chandler
Or would this would be more efficient if all you need is a count? DatastoreService.prepare(query).countEntities(); I don't know the answer, but I've been wondering the same thing... /dmc http://turbomanage.wordpress.com On Feb 2, 10:05 pm, Max thebb...@gmail.com wrote: Hi, I am designing my

[appengine-java] Re: Datastore migration

2010-02-03 Thread Alex
Moritz, Take a look at this article if you haven't done it yet. http://code.google.com/intl/en/appengine/articles/update_schema.html It gives some recommendations that could be applicable to your task. Eventhough, it was written for Python, the same principals apply to Java. I'm also currently

[appengine-java] Problem solved //Re: Can't compile Guestbook demo modified as in the video

2010-02-03 Thread SD
It's me again. Just started from scratch: opened a new workspace, configured Eclipse to point to JDK, built guestbook guided by appengine docs, set up DataNucleus... and Voila All is working now, the question is closed. On Feb 2, 4:52 pm, SD shared.diar...@gmail.com wrote: Any deployable demo

[appengine-java] Re: change timezone of date that is already persisted

2010-02-03 Thread mar_novice
Ok. That would be a good advice. On Feb 2, 5:10 am, Ikai L (Google) ika...@google.com wrote: The way to do this is to create a series of tasks that update each entity one by one. The question I'd like to ask, however, is why you'd want to do this. It's typically best practice to store time

[appengine-java] Re: Help!!.. FinalizableReferenceQueue$SystemLoader loadFinalizer: Not allowed to access system class loader.

2010-02-03 Thread mar_novice
Some people said that it is not a problem and we can just ignore it. On Jan 30, 2:33 am, chiappone chiapp...@gmail.com wrote: I am noticing the same issue, were you able to figure the cause? On Dec 6 2009, 6:12 pm, mar_novice mariocape1...@gmail.com wrote: I've noticed that there are some

Re: [appengine-java] 1.3.1 SDK Prerelease - help us verify

2010-02-03 Thread Takashi Matsuo
Hi Ikai, Cool! It might be trivial but, I've filed an issue with SDK 1.3.1 prerelease. http://code.google.com/p/googleappengine/issues/detail?id=2721 -- Takashi Matsuo Kay's daddy On Thu, Feb 4, 2010 at 7:05 AM, Ikai L (Google) ika...@google.com wrote: Hello App Engine Developers, As part

[appengine-java] Re: Two ManyToOne relationships in one class

2010-02-03 Thread Wong
I guess I have to opt for option 1. As the Venue and Person have already been persisted (e.g. Venue(12087) and Person(1)) before a Tip is created (posted on a venue by a person). In this case, I have to use one owned one-to-many relationship (between Venue and Tips) and one unowned one-to-many

Re: [appengine-java] Re: Two ManyToOne relationships in one class

2010-02-03 Thread John Patterson
If a Person and a Venue only ever have one Tip then you can re-put them with the parent child relationship you want. But if I understand what you are trying to do here that is not a correct representation? On 4 Feb 2010, at 12:25, Wong wrote: I guess I have to opt for option 1. As the