I have few tables with very few entries in them and they will never change dynamically . so i want to cache the whole table in memory to reduce load on DB. I can easily achieve that by a static Map and populating the map in a static block.
i was wondering whether the same is possible in a more effective way by Ehcache + hibernate?