Some code, that i created and tested using Eclipse and the google
plugin, seems not to run while installed on the App Engine, no matter
what.
I have really no idea what it couldd be, Anyone else an idea?
By the way, the code for all files is listed below.
Main file:
package poaphost;
import jav
What you could do, is check the logs, in your admin panel. They show
which error is generated, and at which line. I had a similar problem
once, and that helped.
On Dec 24, 9:46 pm, "sulaimanmra...@googlemail.com"
wrote:
> Hi,
>
> I've created a GAE web application using Spring 3.0 and Spring
> Se
Yes, it certainly could. For every version of eclipse, there is a
specific update of the Google Plugin you need. For Galileo, you nee
this: http://dl.google.com/eclipse/plugin/3.5
Make sure you've got that one, instead of the 3.4 one or something.
On Dec 24, 10:40 am, Ambiency wrote:
> I have rec
I believe that, in normal situations, App Engine shuts down your
application if it has not had any request for the last 10 minutes. You
could set your cron to run it every five, and it should be good. I
however do not understand how your (Ikai) cron could take up so much
CPU use. I'd profile that.
If your database has been normalized, I'd say you need something these
2 queries:
"SELECT FROM author.id WHERE author.name = nameParam, PARAMETER string
nameParam"
"SELECT FROM books WHERE book.author = idParam, PARAMETERS Key
idParam"
Or something like that. HTH.
On Jan 10, 11:40 pm, fhucho wro
I was just wondering whether I could use an Integer for a primary key
in JDO, as it would be a great convenience in my application.
I couldn't really find an answer to this in the documentation, so I
ask you. Can I?
--
You received this message because you are subscribed to the Google Groups
"Goo
on (as opposed to
> update) with a key that has its id field set is strongly discouraged
> unless the key was returned by a KeyRange."
>
> So basically the answer is still no.
>
> Twig gets around this by converting whatever field you declare as a
> @Key into a String and
back to something smaller by the library).
>
> JeffOn Sat, Jan 16, 2010 at 5:59 AM, Bert Peters
> wrote:
> > Thank you for that information, but that's not what i meant.
> > What i did mean is whether this is correct/possible:
>
> > @PrimaryKey
> > @Persistent(id
I have a problem with testing my app. A class, handled by some other
class, saves only partial updates. Why is this, and what could I do to
prevent it?
The object that is not converted is a serialized List.
--
You received this message because you are subscribed to the Google Groups
"Google App
?
On Jan 19, 2:22 pm, John Patterson wrote:
> On 19 Jan 2010, at 19:43, Bert Peters wrote:
>
> > A class, handled by some other
> > class, saves only partial updates.
>
> I think you'll need to give a bit more context.
--
You received this message because you are su
CurrentBuildDone() {
return currentBuildDone;
}
public void setCurrentBuild(Integer currentBuild) {
this.currentBuild = currentBuild;
}
public Integer getCurrentBuild() {
return currentBuild;
}
}
List buildings is not saved, t
Ok, here is the rest. Sorry about the bad problem definition:
Basically, it's like this.
(cp.base is an instance of the before mentioned Base class)
Integer cb = this.base.getCurrentBuild();
cp.base.setBuildings(cb ,
this.base.getBuildings(cb) + 1);
The type returned is "class java.util.ArrayList". Is there a possible
way to fix this?
On Jan 19, 8:30 pm, datanucleus wrote:
> Look in the log (at DEBUG level) and see if the List field is replaced
> by a wrapper type when you retrieve the overall object from the
> datastore. Alternatively, prin
JDO does not do this too. I think it is a rather annoying bug.
Serializing does not work (use that too myself) and just modifing an
element does not work too, as your program clearly found out. Still
waiting for a fix though...
On Jan 22, 12:50 am, Elias Mårtenson wrote:
> On 22 Jan, 00:26, datan
What you could do is something like this:
public class Employee {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
private Long id;
@Persistent private String department;
@Persistent private String firstName;
@Persistent private String lastName;
}
sta
Did you press CTRL+C inside the cmd prompt window?
On 26 feb, 23:04, brianl wrote:
> Running the development server on Windows 7 64-bit. After CTRL-C of
> the development server still seeing the Java process running in the
> task manager. Have to kill the process from the task manager before
>
If you read on on that page, you'll see that:
QUOTE:
"The development server knows how to simulate the Google Accounts sign-
in facility. When run on your local machine, the redirect goes to the
page where you can enter ANY email address to simulate an account sign-
in."
This explains your problem
I succesfully tested FreeMarker (www.freemarker.org) on App Engine.
Care to add it to the list?
--
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 unsubsc
A while ago there was a problem with arrays and lists, once persisted,
not getting updated properly after a change of a certain value. I have
two questions on that matter.
1. Does that still occur?
2. Does this bug affect (Hash)Maps as well?
Kind regards, Bert Peters.
--
You received this
19 matches
Mail list logo