Hi,
I noticed that simple persist operations on a local web app (running from
Eclipse) is VERY slow.
For example, if I'm persisting an object in a servlet, it takes a very long
time for it to actually persist in the DB.
I'm persisting objects with the following code.
public static <T> T makePersistent(T object) {
PersistenceManager manager = getPersistenceManager();
try {
return manager.makePersistent(object);
} finally {
manager.close();
}
}
When this code is called from a servlet. most of the time by the time the
servlet ends and redirects to my page, the object is still not in the
database.
Sometimes the object is never persisted in the database.
If I debug my application, and give it more time on the thread by suspending
a breakpoint, the object eventually does get persisted. But it takes several
seconds.
I've experienced this on multiple machines, and multiple operating systems.
Is this a known issue and is there some kind of workaround for this ?
Regards,
Davy
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/EZ5x-tZbz5gJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.