http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/b2d502bc03c83155#
--~--~-~--~~~---~--~~
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
Hi Toby,
I've just realised that I probably over-wrote the app with a new
version yesterday. Did you get what you need? (If not, I can easily
re-deploy and resend the ID.)
Cheers,
Kris
On Oct 19, 8:30 pm, Toby Reyelts to...@google.com wrote:
Kris,
Can you send us your app id (privately if
Sequence:
tx.begin();
,,, persist Entity group A
tx.commit();
tx.begin();
.. persist Entity group B
tx.commit();
works without any problem as designed.
You have to provide more details to tell something.
--~--~-~--~~~---~--~~
You received this message because
Hi,
I had around 250,000 entities of a type, yesterday i wrote a cron to delete
them. Today, I notices that entities are not getting deleted, so, I stopped
the cron and started deleting entities manually, after deleting a number of
entities (around 50k), suddenly all the entities of all the types
Hi,
I am a daring person and I have written an JSF2 web application in
Scala (built with maven). Everything is working fine in the dev server
and when I deploy I can see the first page. However, if there is a
validation problem or I want to navigate to another page I get a blank
page.
On the
yes, i was able to read a file directly from a folder data/abc.csv using
normal java APIs. I didn't configure it as a resource or static file.
-Sanjith.
On Tue, Nov 3, 2009 at 4:15 AM, Jason (Google) apija...@google.com wrote:
You should be able to read it if you put it in your war directory
yeah I realized that. Since I was trying to read a big .csv file, I spit it
to three parts and read it thrice.
thanks for the reply Jason.
-Sanjith.
On Wed, Nov 4, 2009 at 12:56 AM, Jason (Google) apija...@google.com wrote:
Hi Sanjith. All App Engine requests must return within 30 seconds or
If i am adding a new column to existing table, how do i migrate
existing values?
Okie.
I have a table called User with columns First_Name, Last_name, email.
And in some point i am adding a new column say DoB.
When i query the existing values, i am getting exception like entity
DoB is not present.
App Engine's DataNucleus plugin doesn't support the setCandidates method
Jason/Max, DataNucleus can do all of that for you, I'm sure I've
mentioned this before.
Here I'll even donate you some code that you can plug into your
JDOQLQuery.performExecute() method
code
if
I've used the merging of transient objects approach for a while as
described in
http://timepedia.blogspot.com/2009/04/google-appengine-and-gwt-now-marriage.html
and it works quite fine. I only subsituted the proposed implementation
of copying fields by dozer.
However, I am still thinking to
here u can find Netbeans plugin for App Engine
http://kenai.com/projects/nbappengine/pages/NBInstall
On Nov 3, 5:52 pm, raju k alias (billa) oxfordr...@gmail.com
wrote:
Thank for the java version
Is there any plugin for netbeans IDE
--~--~-~--~~~---~--~~
You
I was wondering - say a user from South Africa and a user from the U.S
hits a webapp deployed on GAE. Do those users expirience the same
speed of loading the site, downloaing images, etc., or GAE servers
located in one data center (for example, California), and the
nearest users will enjoy from
If i change my authenticate filter to
query.setFilter(ContactInfo.email == emailParam password ==
passwordParam);
I now get this error.
javax.jdo.JDOUserException: Identifier ContactInfo.email is unresolved
(not a static field)
On Nov 3, 9:32 pm, Max Ross (Google)
Why is BookFK trying to use Datastore Identity ? (as the message says)
identityType=IdentityType.APPLICATION would be recommended
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To
Ok i figured it out now. I was trying to refer to the classname
ContactInfo in my filter rather than the object name in my User class
contactInfo. The difference in case for the leading 'C' was the
culprit.
On Nov 4, 10:19 am, IlyaE ilyaelk...@gmail.com wrote:
If i change my authenticate filter
Maybe I didn't word my problem very well.
Let me describe it again:
Data push:
1. I am bulkloading data to an app using python appcfg and custom
bulkloaders.
2. The custom bulk loaders are pushing data from a CSV.
3. The models of the data being pushed have simple names in python (no
package
BookFk is an embedded class intended to be used by entities like
Chapter and others. It is NOT intended to be a standalone entity or
have a Primary Key. So, when I try your fix I get the following
compile error:
SEVERE: Class struts2.example4.BookFk has application-identity and no
Thanks, Jason. Indeed it did work when I tried it yesterday, though
my recollection is that I tried it a few times over a couple of days
last week, so it gave the impression of something less transient going
on. But, indeed it works now!
Thanks,
Jed
On Nov 2, 3:10 pm, Jason (Google)
BookFk is an embedded class intended to be used by entities like
Chapter and others.
Needs a PK either way. Pick a field, any field.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
Needs a PK either way. Pick a field, any field.
Or just set embeddedOnly as true ... if you really never want to
persist one of those in its own right
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App
I have the same problem with JSF 2.0,and I am looking for some
solutions ,too.
On Sep 5, 11:52 am, Traveler1980 jshar...@gmail.com wrote:
Hi All,
I recently upgraded an app that I'm working on from MyFaces 1.1.6 to
JSF (Mojarra) 1.2_13 with Facelets. I used the jars (el and jsf) from
this
in my application a servlet stores the user's details when she starts
with the application as follows
User user=new User();
HttpSession session=req.getSession();
user.setUser(userName);
user.setRole(user);
session.setAttribute(user, user);
RequestDispatcher
Hi All,
My crontab is defined in the following way:
?xml version=1.0 encoding=UTF-8?
cronentries
cron
url/cron/sendnotifs/url
descriptionSend notification at 9 every Mon, Tue, Wed, Thu, Fri/
description
scheduleevery mon,tue,wed,thu,fri 09:00/schedule
I'm newbie...
I want to use JSON on server-side to do something... But I can't...
Please help me!
--~--~-~--~~~---~--~~
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
Should I be creating a DatastoreService for each session, or are
they inexpensive enough that I can have one for each Kind? I realise
that for transactions, the latter doesn't work.
A related question is how threadsafe is an instance of
DatastoreService?
Hi All,
I created a JDO class, which had some attributes, and I created some
CRUD operations, all of them worked correctly.
Then I added a new attribute in the JDO class, and then set value to
it and persisted it as usual when I executed CRUD operations. The
problem is that I cannot retrieve
If you're calling print or println many times in your servlet, then it makes
sense, although the resource savings you net may not be significant.
In general, it's acceptable to use the default PrintWriter.
- Jason
On Mon, Nov 2, 2009 at 7:18 AM, Raphael André Bauer
Great news, Eugene! Can you please submit it to the open source projects
page by following the instructions at the bottom of
http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects
?
- Jason
On Sun, Nov 1, 2009 at 8:55 PM, edragoev drag...@gmail.com wrote:
Hi Pradheep. The library that you are using is attempting to spawn a new
thread which is not permitted by App Engine's sandbox. You will have to
either disable multithreading via configuration, if the library exposes
this, or use another library.
The Google Accounts API that is referenced in the
It looks like your system may not have Java configured correctly or
otherwise can't invoke the javac compiler needed to compile your
application.
java.io.IOException: Cannot run program javac.exe: CreateProcess error=2
You may want to search the web for similar error messages, which might help
Datanucleus, both suggestions worked but I like the embeddedOnly
best in order to avoid a dummy key on every FK class!
Bryce, I no longer get the error above...I just added
embeddedOnly=true to the PersistanceCapable tag in BookFk class.
You're right, I could use the collection technique on the
Unfortunately, the solution I proposed does not allow for adding additional
filters when querying for all Campaigns with FundingOganization ABC. If
this is a requirement, you'll have to consider several options -- either
doing the filtering in memory, which is reasonable if you only expect a
Did your path always include the one \ delimiter with all of the other
separators being /?
- Jason
On Mon, Nov 2, 2009 at 7:45 PM, Vik vik@gmail.com wrote:
Hie
Today all of a sudden when i tried to deploy my app to GAE throws errors:
An internal error occurred during: Deploying
Rusty, Thanks for the code sample! How do you decide when to use key
type of Key vs String?
On Nov 4, 1:45 pm, James H james.hollier...@gmail.com wrote:
Datanucleus, both suggestions worked but I like the embeddedOnly
best in order to avoid a dummy key on every FK class!
Bryce, I no longer
Typo (I think):
- Query q = new Query(package.MyClass) // manually pass full package
name
should be:
- Query q = new Query(SELECT * FROM package.MyClass) // manually pass
full package name
Stuart
On Wed, Nov 4, 2009 at 4:43 PM, Stuart Moffatt stuartmoff...@gmail.comwrote:
Nick,
Nick,
Can you clarify what you mean by 'java loader' and 'hosted mode'?
My java loader is a servlet which loads a CSV from disk, processes it and
persists entities to the datastore. The CSV has the values for the
properties I want my entity to have. The CSV and the data it points to is in
On Wed, Nov 4, 2009 at 11:31 PM, Stuart Moffatt stuartmoff...@gmail.comwrote:
Nick,
Can you clarify what you mean by 'java loader' and 'hosted mode'?
My java loader is a servlet which loads a CSV from disk, processes it and
persists entities to the datastore. The CSV has the values for
Nick,
Pretty much, except kind() is a method for Model classes, not loaders. Like
this:
class Foo(db.Model):
@classmethod
def kind(self):
return 'my.Foo'
The above kind() method makes more sense (in the model instead of the
loader). Was not aware of it as the docs don't give
http://gae-java-persistence.blogspot.com/2009/11/unindexed-properties.html
--~--~-~--~~~---~--~~
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
Hi Max
Thx for the answer, especially the correction on the transaction
implementation.
The solution I'd arrived at is to use Guice to instantiate my DsS with a
scope of @RequestScoped. Do you see any problems with that approach?
best
Roy
On Wed, Nov 4, 2009 at 7:02 PM, Max Ross (Google)
Thinking out loud here:
When you use that encoded string format you can use it wherever you'd use Key.
The apparent advantage of using the encoded string format is that your dto
isn't exposing GAE's Key. With the encoded string your service layer can be
oblivious about GAE's Key, without
41 matches
Mail list logo