example using memcache with jpa entitymanager on JGAE?

可紊 提交于 2019-12-12 10:03:37

问题


any example on using memcache/general cache with jpa entitymanager on JGAE? or the only way to do it is manually put/set memcache on service layer?


回答1:


DataNucleus docs define adequately how to use the JDO/JPA L2 cache. http://www.datanucleus.org/products/accessplatform_1_1/jpa/cache.html in the case of GAE/J memcache the L2 cache should be "javax.cache".



来源:https://stackoverflow.com/questions/1978428/example-using-memcache-with-jpa-entitymanager-on-jgae

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!