I have two classes with unowned relationship. I am making tenant key as a
key field in the MasterUserLogin. How can I make them belong to the same
entity group
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Tenant {
@PrimaryKey
@Persistent(valueStrategy =
Stephen, you're right. I tested setRange(1200, 1500) and I get an
exception.
I'd like to understand more about that. Why datastore limits the first
parameter (skip) and not also the second?
I was thinking that the limit of a query was 1000 items. I was wrong.
So, I can get 5000 items with
On http://code.google.com/intl/nl/appengine/kb/java.html#performance
there is info how to write a listener to log loading requests.
Would it also be possible to log how much time a loading request
caused?
--
You received this message because you are subscribed to the Google Groups
Google App
Glad to see google appengine has a blob store. Mildly annoying that it uses
the same name as the jclouds blobstore api, as it will make code confusing.
At least you lowercased the 's' in store :p
If you'd like to see the first blobstore in google appengine, have a look
here:
http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Serializable_Objects
Serializable objects can be stored as a field of an entity using
@Persistent(serialized=true). However, the GData ContactEntry object
does not appear to be marked as serializable, so you will probably
have
http://wikis.sun.com/display/Jersey/Overview+of+JAX-RS+1.0+Features
I'm using JAX-RS (Jersey 1.1.5 version) to provide clients with a
GData/AtomPub style REST api to their data stored in the App Engine
datastore, allowing both XML and JSON CRUD requests to GET, POST, PUT,
DELETE data.
(Though
I second this question.
Jorge Gonzalez
On Dec 2, 1:19 pm, king kingalpha...@gmail.com wrote:
Jason, do you have a timeline for when:
1. the cursor feature will be available?
2. the data download feature be available for JAVA (not Python).
On Oct 21, 10:54 am, Jason (Google)
On 17 Dez., 23:11, Ikai L (Google) ika...@google.com wrote:
When you say it doesn't work, do you mean that it does not retrieve the
entity?
right, no entity was found.
Can you try creating a Key with the id instead of passing the ID
directly?
I tried the second link but instead of adding new developer to the
exising app there was only option for adding new app and I did it.
Is it possible to add new 'user/developer/email' to the existing
application if the email is in domain handled by Google Apps?
Cheers,
Lukasz
--
You received
I have the following code snippets (remove exceptions code for
brevity) which is based on the example on
http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#RetrievingAllCalendars
String appName = companyName-appName-1.0;
CalendarService
App Engine team:
Thanks for introducing BlobstoreService. It looked like it was going
to solve a major impediment in an application I am prototyping, but I
hit the wall (again) with only being able to regurgitate blobs during
an http response, and not do anything useful with them in the cloud.
I
maven-gae-plugin 0.4.2 has just been released (http://code.google.com/
p/maven-gae-plugin)
The main features are upgraded/cleaned dependencies, also there are
couple of small bug fixes.
You can check the GWT example project (uses GAE 1.3.0 and GWT 1.7.1).
Running hosted mode from maven should be
Added as feature request:
http://code.google.com/p/googleappengine/issues/detail?id=2536
http://code.google.com/p/googleappengine/issues/detail?id=2536Stuart
On Fri, Dec 18, 2009 at 11:16 AM, Stuart Moffatt stuartmoff...@gmail.comwrote:
App Engine team:
Thanks for introducing
Users interested in better BlobstoreService, please star the issue so it
gets more attention:
http://code.google.com/p/googleappengine/issues/detail?id=2536
Stuart
On Fri, Dec 18, 2009 at 11:23 AM, Stuart Moffatt stuartmoff...@gmail.comwrote:
Added as feature request:
Thanks for the response drone. We are trying to determine what we can do to
make this smoother. I think that a lot of people would like to see the
plugin relax the war folder constraint. Specifically allowing a user to
specify an arbitrary path to their war folder.
On Fri, Dec 18, 2009 at
I'd like to make an e-mail forward by GAE with Resent-To/Resent-From
header.
I tried the client Java program with JavaMail that I made,
and got the suitable result.
I applied ...
mail.host: smtp.gmail.com
mail.smtp.auth: true
mail.smtp.socketFactory.port: 465
I have just compiled and executed the Google Calendar sample from
http://code.google.com/p/gdata-java-client/downloads/list (version
1.40.1) locally without using any GAE stuffs. EventFeedDemo.java
private static void printUserCalendars(CalendarService service)
throws IOException,
I am using the app engine SDK 1.3.0 with the latest Google Eclipse
plugin.
Currently, in order to be able to run queries on attributes of the
parent object I have to embed parent object into a child. So, I have
created the following classes
@PersistenceCapable(identityType =
All requests have their durations logged in the admin console. Was there
something more you wanted than that?
On Fri, Dec 18, 2009 at 3:42 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
On http://code.google.com/intl/nl/appengine/kb/java.html#performance
there is info how to write a
On Fri, Dec 18, 2009 at 3:50 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
Now that I'm looking at the example code on
http://code.google.com/intl/nl/appengine/kb/java.html#performance to
distinguish normal request from loading request I'm wondering if the
usage is correct...
The
This past Wednesday, the App Engine team hosted the latest session of
its bimonthly IRC office hours. A transcript of the session and a
summary of the topics covered is provided below. The next session will
take place on Wednesday, January 6th from 7:00-8:00 p.m. PST in the
#appengine channel on
Yes, I did like this and works without problems...thank for the
response!
On 17 Dec, 09:42, Raphael André Bauer raphael.andre.ba...@gmail.com
wrote:
hey henry,
the gwt frontend code looks like java, but it is crosscompiled. that's
the reason why the imports cannot be found - it's technically
Yep. Finally came to the same conclusion. Thanks for your reply Andy.
On Dec 18, 2:15 am, andy.booth andy.booth...@googlemail.com wrote:
http://code.google.com/appengine/docs/java/datastore/dataclasses.html...
Serializable objects can be stored as a field of an entity using
By using the appropriate URLs as shown on the example,
// The base URL for a user's calendar metafeed (needs a username
appended).
private static final String METAFEED_URL_BASE = http://
www.google.com/calendar/feeds/;
// The string to add to the user's metafeedUrl to
If you're using com.google.appengine.api.datastore.Key for your primary keys,
it has a getParent() method which returns null when the object doesn't have a
parent. Also, your code is fetching a List of Entity, and Entity also has a
getParent() which returns null if there is no parent.
m
My understanding is that the only way objects can be in the same entity group
with GAE is they have a parent/child relationship (or grandparent/grandchild
etc.).
aswath satrasala wrote:
I have two classes with unowned relationship. I am making tenant key as
a key field in the
Try making the parent's primary key be Key instead of String.
Eugene Kuleshov wrote:
I am using the app engine SDK 1.3.0 with the latest Google Eclipse
plugin.
Currently, in order to be able to run queries on attributes of the
parent object I have to embed parent object into a child.
If you're deploying a new version that relies on indexes that haven't been
built yet, you should be able to deploy this to a non-default version. This
way, the indexes get built eventually but your application won't be serving
index errors in the meantime. Then, when the indexes are built, make
Regarding the question about better performance by writing entities in
different entity groups; that's not an option if you're using JDO is it,
doesn't JDO require a transaction around writes?
Jason (Google) wrote:
This past Wednesday, the App Engine team hosted the latest session of
its
It shouldn't be needed, since according to the docs [1], the Key
type is only required to record parent relation in the child.
But I tried it anyways and got pretty much the same exception:
Exception in thread main java.lang.ArrayIndexOutOfBoundsException: 0
at
I'm using freemarker as a template engine, but can't figure out how to
get the dev server to accept changes in my templates. I have to
restart the dev server.
Research shows that the JRuby project has some success with this.
Does anyone have any advise?
--
You received this message because you
A quick test is if you can visit yourapp/remote_api in the web
browser--it should work if you log in as an admin, well it should say
This request did not contain a necessary header but not any other
errors.
On Dec 16, 2:52 pm, lembas keremo...@gmail.com wrote:
I get exactly the same error when I
Hi.
Thank you for following.
Movement might be different depending on the entry method in JDO.
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-j...@googlegroups.com.
Thanks DataNucleus team and Toby.
Sorry, but I have some more questions
1. How do I delete a particular table dynamically? would just unloading the
class do it? Iin that case, what if there are changes to the dynamic table,
i.e. column addition/dropping, wouldnt that require unloading the class
Could you not split your query into two? The first to find the parent
and the second to return all children with an ancestor query.
Alternatively, Twig makes embedding objects very simple. If you use
the AnnotationTypesafeDatastore you can achieve the above with a
single annotation:
@Component
35 matches
Mail list logo