What are the hibernate cache?

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.

Guess you like

Origin www.cnblogs.com/remta/p/12088809.html