Use below Java code:
private static final PersistenceManagerFactory pmfInstance =
JDOHelper.getPersistenceManagerFactory("transactions-optional");
Category c1 = new Category();
c1.setCategoryId("FISH");
c1.setDescription("<image src=\"../images/fish_icon.gif\"><font
size=\"5\" color=\"blue\"> Fish</font>");
c1.setName("FISH");
pm.makePersistent(c1);
Run it as Google Web Application in Eclipse on Windows.
I think the App Engine persistent the data to the disk, any one know
where is it? Or am I wrong?
--
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 [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-java?hl=en.