Session and hibernate SessionFactory two buffers
where Session is built-in cache and can not be uninstalled, the transaction is valid range, usually called a cache;
SessionFactory also called secondary cache, external cache and the cache built into default is not open, do not support the distributed cache; instead for distributed cache can redis.
What are the hibernate cache?
Guess you like
Origin www.cnblogs.com/remta/p/12088809.html
Ranking