Instantiation « Cache « JPA Q&A





1. Automatic instantiation of EhCache CacheManager?    forum.hibernate.org

Hi, I was experiencing a weird problem using hibernate3 in an application based on the Spring-Framework, which I would regard at least as a design flaw of hibernate: I was trying to use ehCache within my application and provided a configuration-file via Spring framework's EhCacheManagerFactoryBean. This worked well unless I started using hibernate, afterwards my EhCache-Configuration seemed to be ignored. It ...

2. Could not instantiate cache implementation    forum.hibernate.org

I am trying to configure Second level caching using EhCache. I get HibernateException: Could not instantiate cache implementation I have a SUPPLEMENT_LOOKUP table which has one-to-many relationship with SUPPLEMENT table. I have given the mapping file info for the both the tables. Hibernate version: 3.0 alpha Mapping documents: SUPPLEMENT_LOOKUP Mapping Code: ...