Hi,
My application uses Objectify 2.0.2 to interact with datastore (great
framework)
My local datastore is about 65Mb
When stopping the server and running it again in the environment
development (eclipse), the local datastore seems to has been emptied
even though the local_db.bin is always about 65Mb
Looks like there is some sort of corruption issue but I don't know
what I'm doing wrong since I'm only interacting with datastore with
read queries.
Any Ideas ?
Olivier
PS : here's my DAO :
public class EdbDAO extends DAOBase {
static {
ObjectifyService.register(Attribute.class);
ObjectifyService.register(Category.class);
ObjectifyService.register(Group.class);
ObjectifyService.register(Equipment.class);
ObjectifyService.register(Effect.class);
ObjectifyService.register(Bonus.class);
ObjectifyService.register(Fit.class);
ObjectifyService.register(FitProxy.class);
ObjectifyService.setDatastoreTimeoutRetryCount(3);
}
public Iterable<FitProxy> getFits(EsiShipFilter filter) {
Query<FitProxy> query = ofy().query(FitProxy.class);
String groupName = filter.getGroupName();
String race = filter.getRace();
double dps = filter.getDps();
double effHp = filter.getEffHp();
boolean pvp = filter.getPvp();
boolean pve = filter.getPve();
long score = filter.getScore();
if (pvp)
query.filter("pvp",true);
if (pve)
query.filter("pve", true);
if (groupName!=null)
query.filter("groupName", groupName);
if (race!=null)
query.filter("race", race);
if (dps!=0)
query.filter("maxDps >=" , dps);
if (effHp!=0)
query.filter("effectiveHp >=", effHp);
query.limit(filter.getLimit());
query.offset(filter.getOffset());
filter.setCountResult(query.countAll());
return query.fetch();
}
}
--
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.