add the ehcache to get the entity object