I'm using IdGeneratorStrategy.SEQUENCE for the primary key of a table,
but it appears AppEngine bounces between 2 different sequence
generators as I create new entries. IDs are unique, but not
monotonically increasing. It's possible I've coded something wrong,
but I'm oretty sure this is a bug.
--
E. There is a lot of good information about
> these properties in this
> thread:http://groups.google.com/group/google-appengine/browse_thread/thread/...
>
> But in short, sequences are guaranteed to be unique but not monotically
> increasing.
>
> Hope this helps,
> Max
6 pm, "Max Ross (Google)"
wrote:
> Where are you reading the definition of the contract?
>
>
>
> On Mon, Dec 21, 2009 at 2:41 PM, Philip Tucker wrote:
> > Thanks!
>
> > Unless I'm misreading the documentation for SEQUENCE, that breaks the
> > contr
If I annotate a dependent 1:many relationship with @Order(mappedBy =
"foo"), I get a NPE when I try to remove something from the list. When
I remove the annotation everything works fine. Is this a known
limitation? If not I can post a stack trace and more details.
--
You received this message bec
I have a servlet that returns a JSON string. For some reason it works
fine when I dispatch to a JSP, but sometimes fails when I write
directly to the response.
this works:
req.setAttribute("json", json.toJSONString());
req.getRequestDispatcher("json.jsp").forward(req, resp);
I have a Room class containing a list of Presence classes. Here are
the annotations.
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Room {
private final static Logger LOG =
Logger.getLogger(Room.class.getName());
@PrimaryKey
@Persistent(valueStrategy = IdGenerator
nt.run(SelectChannelEndPoint.java:
396)
at org.mortbay.thread.BoundedThreadPool
$PoolThread.run(BoundedThreadPool.java:442)
On Mar 14, 10:02 pm, "Max Ross (Google)"
wrote:
> Please post your model object definitions and the stack trace.
>
> Thanks!
> Max
>
>
>
> On Sun, Mar 14, 2010
nce.
> TRy to add a index's description.
>
> bye
>
> On 15 mar, 07:59, Philip Tucker wrote:
>
>
>
> > I have a Room class containing a list of Presence classes. Here are
> > the annotations.
>
> > @PersistenceCapable(identityType = IdentityType.APPLI
When I access the nickName field of the userService.getCurrentUser()
object, I don't get the nickName from Google profiles. For example, if
I go to http://www.google.com/profiles/me/editprofile for my account
(ptuc...@gmail.com) my nickName is "Philip", but in AppEngine I get
"ptucker".
--
You re
I have a data file I need to access on the server. If I include it in
my source path on the client I can load it via
ClassLoader.getSystemResourceAsStream. But this breaks on the server
(I'm not sure if the eclipse plugin is even deploying it). What's the
best way to do this? I don't want to incur
vletContext ctx = getServletContext();
> InputStream is = ctx.getResourceAsStream( resourceName );
>
> Do not forget to declare the data file as the resource file in
> appengine-web.xml
> (if it is located outside of the WEB-INF directory):
>
>
>
>
> Vaclav
>
> On Apr 18,
Is it possible to send an email via Transport.send without it sending
a CC: to the FROM: address?
--
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.
To unsub
I'm getting several of these errors on my server today.
com.honkentuber.wordwise.GameServlet newJsonResponse: exception
com.google.apphosting.api.ApiProxy$CapabilityDisabledException: The
API call datastore_v3.Put() is temporarily unavailable.
at com.google.apphosting.runtime.ApiProxyImpl
According to this, "The App Engine datastore maintains an index for
every query an application intends to make."
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Indexes
Does GAE just scan the app Java code for Query.setFilter, or do we
need to do annotate q
I've got a Game object that includes two PlayerGameState objects. Both
are persistence-capable. My query fetches all PlayerGameState objects
for a particular user, then I get the associated game and other
player. The initial fetch is always fast, and the entire operation is
generally lass than a se
new
> index it is "building", it's being applied to existing stuff.
>
> On Apr 30, 12:54 am, Philip Tucker wrote:
>
>
>
>
>
> > According to this, "The App Engine datastore maintains an index for
> > every query an application intends to make.
g? And have
> you tried looking at what's happening via AppStats yet
> (http://code.google.com/appengine/docs/java/tools/appstats.html)?
>
>
>
>
>
> On Fri, Apr 30, 2010 at 1:54 AM, Philip Tucker wrote:
> > I've got a Game object that includes two PlayerGame
On May 4, 3:28 am, "Ikai L (Google)" wrote:
> Query performance is generally a function of how many objects have to be
> returned in the simple case, which seems to be what you are doing here. How
> many PlayerGameStates exist per User?
No more than 10 so far. Like I said, it was only 5 in this c
I've been seeing a handful of these each day on my app. These are very
small messages going only to 1 recipient. I could move mail sending
out of the normal request flow (I think cron jobs are the only option
right now for background processing, yes?) - is that the recommended
remedy?
com.honkentu
> > property. In a relational database, when an index is not present, the
> > > database will do a full table scan.
>
> > > A fetch by Key is always fast. Have you considered storing multiple games
> > > inside a single Game instance? Or simply storing the data you need
a more descriptive error message would help here. I think the real
issue is the class/type of the parameter.
org.datanucleus.exceptions.NucleusUserException: Query requires 1
parameters, yet 1 values have been provided.
at
org.datanucleus.store.query.Query.getParameterMapForValues(Query.ja
FYI, on a Mac I found it in /var/folders/zz/zzzivhrRnAmviuee++-ZXU+
+NMs/-Tmp-/Jetty_127_0_0_1__war.g0qk00/jsp/org/apache/jsp
--
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-appen
is it possible to see history beyond 18 hours in the dashboard? or at
least to export data periodically so I can analyze longer trends?
--
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-app
I'm getting some very confusing behavior regarding indexes in my app.
Maybe someone can help me figure out what's going on.
I have a persistent entity, GameDataV1. I'd pushed several versions of
my app to appspot with no issues until last week. Then, after a push,
all indexes for GameDataV1 were g
I'm seeing some entities in my data store named
__unapplied_write__. I couldn't find any documentation on
this. What is it?
--
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...@
One of my tasks encountered a failure and wasn't retried. I think it's
because the servlet returned a 200 response, but I don't know why it
did since the exception bubbled all the way up to the base servlet. Do
we need to explicitly return a 5xx error code in exception cases for
retries to work?
0
I've just started getting the following error on my server. This query
had been working fine for months, and I haven't changed the indexes
lately. Are there some indexes that just buckle under heavy load or
larger data sets? This particular table contains only 242,604 entries.
The built-in indic
27 matches
Mail list logo