Hibernate / Hibernate Caching
Role of eternal and maxElementsInMemory in ehcache.
eternal attribute maintains the data freshness and if true it indicates that mappings never expire.
maxElementsInMemory is a count based capacity control that limits the cache size so that you do not exhaust memory of your application by filling up a cache.
More Related questions...