在JGAE上使用jpa entitymanager使用memcache的示例? [英] example using memcache with jpa entitymanager on JGAE?

查看:124
本文介绍了在JGAE上使用jpa entitymanager使用memcache的示例?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关在JGAE上使用jpa entitymanager的memcache / general cache的示例吗?或者唯一的方法是手动在服务层上放置/设置memcache?

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?

推荐答案

DataNucleus文档充分定义了如何使用JDO / JPA二级缓存。
http://www.datanucleus.org/products/accessplatform_1_1/ jpa / cache.html
在GAE / J memcache的情况下,L2缓存应该是javax.cache。

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".

这篇关于在JGAE上使用jpa entitymanager使用memcache的示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆