2

I'd like to force eclipselink to invalidate the whole cache every hour. There is "expiry" attribute for @Cache annotation but I do not want to specify it on every entity because I want it to be the same for all of them. Is there a way to do it globally, e.g. in persistence.xml?

Update: also, is it already possible to set expiry setting per entity in persistence.xml?

Lukasz Lichota
  • 243
  • 1
  • 4
  • 10

1 Answers1

0

On first part of the question: http://dev.eclipse.org/mhonarc/lists/eclipselink-users/msg08292.html

Lukasz Lichota
  • 243
  • 1
  • 4
  • 10