hibernate三級緩存(查詢緩存)

hibernate三級緩存(查詢緩存)java 查詢緩存是跨session的。緩存 1.配置hibernate.cfg.xml,打開查詢緩存session <property name="cache.use_query_cache">true</property> spa 2.java anotationhibernate public void testQueryCache() { Sessio
相關文章
相關標籤/搜索