title: How to configure JPA 2.0 with Hibernate 3.5.2 to use EHCache as a Level 2 cache and query cache?
body: <p>I found some instructions how to configure pure hibernate to use EHCache. But I can't find any instructions how to configure JPA2.0 EntityManager to use cache. Hibernate 3.5.2 is my JPA2.0 provider.</p>
  
  <p>edit//
  Is <code>@Cacheable(true)</code> enough for entity? Or should I use <code>@org.hibernate.annotations.Cache</code> to configure the entity?</p>