JBoss Community

Question about EJB 3 Entity Caching

created by Andrig Miller in EJB3 - View the full discussion

You used to be able to specify the entities you wanted to cache in the persistence.xml, but all the documentation has now been changed to use the @Cache annotation.

 

Is the persistence.xml file capability still there?  I cannot remember the syntax, since its not in the documentation anymore, but if you can still do this, I would like to know the syntax again.

 

Thanks.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community