【发布时间】:2017-04-02 10:34:16
【问题描述】:
我正在尝试使用 objectify 和 GAE(Java,标准环境)将一些数据存储在 Google 的数据存储中。 当不使用 objectify 时,文档中提到了准备好的查询,以便从数据存储中保存和检索数据。 见:GAE docs
像这样使用Objectify时有没有类似SQL注入的漏洞:
List<Car> cars = ofy().load().type(Car.class).filter("year >", 1999).list();
或者像这样:
ofy().save().entity(thing1).now();
Thing th = ofy().load().key(thingKey).now();
提前致谢
【问题讨论】:
标签: java google-app-engine google-cloud-datastore objectify