@Entity
public class Blobx {
private String name;
private BlobKey blobKey;
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Key id;
//getters and setters
}
@Entity
public class Userx {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private...
i am trying to persist two entities(with one to many relationship) using jpa but on persit it throws an exception
java.lang.IllegalArgumentException: out of field index :2
i'm struck.
...
Instead of [email protected] or [email protected] I would like to use
[email protected].
can this be one when using app-engine xmpp service,
when own-domain is using google apps for mail service
This would be a great option if available.
We feel many getting worried to add when they find @appspot.com at end,
also when they s...
I'm playing with the project appengine-rest-server to create the REST webservices for all the existing models. I got a strange error, the first time I query the browser: http://localhost:8080/rest/metadata/user, it gives me the result:
<xs:schema>
−
<xs:element name="user">
−
<xs:complexType>
−
...
Is it possible to open a file on GAE just to read its contents and get the last modified tag?
I get a IOError: [Errno 13] file not accessible:
I know that i cannot delete or update but i believe reading should be possible
Has anyone faced a similar problem?
os.stat(f,'r').st_mtim
...
I'm using xml.sax with unicode strings of XML as input, originally entered in from a web form. On my local machine (python 2.5, using the default xmlreader expat, running through app engine), it works fine. However, the exact same code and input strings on production app engine servers fail with "not well-formed". For example, it happ...
I am very new to jsp and google appengine , but still I can do something if I get some basic idea , I wanna create an user registration form with fields like name, user id , password, confirm password, etc,. using google appengine datastore feature. and I wanna retrieve user information . Please help me ..
Thanks in advance.
Thanks f...
I am going through the various Google AppEngine tutorials sometimes, and I just noticed something odd in a StackOverflow question about favicon.ico - specifically this question: http://stackoverflow.com/questions/887328/favicon-ico-not-found-error-in-app-engine
- url: /favicon.ico
static_files: media/img/favicon.ico
upload: media...
Is a PolyModel-based class able to be used as a SelfReferenceProperty ?
I have the below code :
class BaseClass(polymodel.PolyModel):
attribute1 = db.IntegerProperty()
attribute2 = db.StringProperty()
class ParentClass(BaseClass):
attribute3 = db.StringProperty()
class ChildClass(BaseClass):
parent = db.SelfReferenceP...
I want to develop a GAE application using python, but I fear that Google will be the only company able to host the code. Is it possible to run a GAE app on a private server or other host?
(Note that a previous version of the question incorrectly referred to GWT).
...
What would be the simplest implementation of an A/B testing system running on App engine?
I'm especially keen towards performance implications of using Datastore for back-end (with looong query times), and database design.
...
Hi,
I'm trying to use memcache to cache data retrevied from the datastore. Storing stings works fine. But can't one store an object? I get an error "TypeError: 'str' object is not callable" when trying to store with this:
pageData = StandardPage(page)
memcache.add(memcacheid, pageData, 60)
I've read in the documentation that it r...
Hi all,
I have an application running on GAE/J that streams video from AWS S3.
I need a solution for protecting the video from being stolen and I found that pre-signed URLs might be it (??).
How can I create pre-signed URLs from GAE/J or there's a better solution to secure the videos?
thanks
...
as pointed out on the overview page of blobstore api page
An app can read a Blobstore value a portion at a time using an API call.
can anybody provide a snippet doing exactly that?
...
Hi,
I have this code that works just fine on the development server but
when I deploy the application, the session isn't created.
What am I doing wrong?
HttpSession session = req.getSession(true);
session.setAttribute("loggedIn", new String("true"));
Edit:
The sessions are enabled.
What I realized now is that the _ah_SESSION v...
I know that each recipient counts toward the Recipients Emailed (billable) quota and I can't send to more than is my daily quota.
But is there a limit how many recipients can a single email have?
For example can a single email created and sent through App engine Mail api have 8000 recipients?
...
What is the easiest way to use the Amazon Product API on the Google App Engine? How do you work around the socket limitations of Google App Engine?
...
I have a Google Web Toolkit application that I am deploying to Google App Engine. In the deployed application, I am getting a JavaScript error Uncaught TypeError: Cannot read property 'f' of null. This sounds like the JavaScript equivalent of a Java NullPointerException.
The problem is that the GWT JavaScript is obfuscated, so it's impo...
For various reasons, I need a unique running integer id for my entities stored on the Google AppEngine. The automatically generated key sort of has this behaviour, but it doesn't start from 1 (or 0) and doesn't guarantee that the generated integer part will come from a continuous sequence.
What would be the best way to efficiently impl...
Anyone know how I can use httponly cookies for sessions and cookies on the app engine?
In the javadoc for the Cookie class, http://java.sun.com/javaee/6/docs/api/javax/servlet/http/Cookie.html#setHttpOnly(boolean) ,
there is a setHttpOnly method.
I get a compiler error when trying to use it when developing for app engine though.
The...