[appengine-java] Cannot to read the file under /WEB-INF/classes/

2011-07-16 Thread Love Yao
I want to read the config.xml in my webRoot /WEB-INF/classes/ config.xml. All is OK in localhost. but when deploying to GAE, it cannot find the xml: /base/data/home/apps/mainloveplay/4.35187093106408/base/data/home/ apps/mainloveplay/4.35187093106408/WEB-INF/classes/config.xml (No such

[appengine-java] Love Yao wants to chat

2011-06-29 Thread Love Yao
--- Love Yao wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-b0c4b49ec3-fa4e9ecfc6-e-SR4LxENUHBYkPjANs5OIWWJFs You&#x

[appengine-java] Re: Problem in Serializing ArrayList - JDO- GWT - GAE/J

2010-05-23 Thread Love Yao
first YOU make your BO and DTO one class,I do not think it is a good idea and org.datanucleus.sco.backed.ArrayList? try to use Java,util.* On May 23, 7:03 pm, "mklarm...@googlemail.com" wrote: > i am having the same issue here. > > -- > You received this message because you are subscribed t

[appengine-java] Re: About LocalDatastoreServiceTestConfig

2010-05-21 Thread Love Yao
Yes. I try setStoreDelayMs(1000) all data gone! On May 21, 3:25 pm, bufferings wrote: > Hi LoveYao > > I think this is strange, too. > > The setStoreDelayMs(1) leaves the data in the file, > and the setStoreDelayMs(1000) clears the data. > > Why don't you submit an > issue?http://code.google

[appengine-java] About LocalDatastoreServiceTestConfig

2010-05-20 Thread Love Yao
the docs: Config for accessing the local datastore service in tests. Default behavior is to configure thelocal datastore to only store data in-memory and not write anything to disk. tearDown() wipes out all in-memory state so that the datastore is empty at the end of every test. yes

[appengine-java] add a new INT-type @Persistent to a existing talbe

2010-02-03 Thread Love Yao
my demo fist, public class CommentTheme { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent private String theme; } then for (int i = 20; i > 0; i--) { CommentTheme commentTh