File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EhCache and the fly likes CACHING in hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Caching » EhCache
Bookmark "CACHING in hibernate" Watch "CACHING in hibernate" New topic
Author

CACHING in hibernate

Priyanku Dasgupta
Greenhorn

Joined: Aug 12, 2013
Posts: 1
Hi All,

i was trying to use ehcache in one my applications and wanted to know how to find out the actual size of cache required(in MB)?

<cache name="Employee"
maxElementsInMemory="500"
eternal="true"
timeToIdleSeconds="0"
timeToLiveSeconds="0"
overflowToDisk="false"
/>
Sam Jimzz
Greenhorn

Joined: Apr 30, 2011
Posts: 28

It depends on your application., for more about generic EhCache memory configuration look HERE


God Loves You and will never love you less.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CACHING in hibernate