2

Is there a difference between using Ehcache as Hibernate's second-level cache provider and distributing it with Terracotta, and using terracotta-hibernate-cache and terracotta-hibernate-agent?

DeejUK
  • 12,891
  • 19
  • 89
  • 169

1 Answers1

2

The short answer is the latter is deprecated and you should use the former. terracotta-hiberante-cache & others predate the Ehcache acquisition. In the meantime ehcache (clustered with terracotta or not) has had much investment done in and provide you with better results...

Alex Snaps
  • 1,230
  • 10
  • 10
  • Excellent, thanks! That's what I guessed, but wasn't quite sure. I'd been using the Ehcache/Terracotta docs, and only stumbled across terracotta-hibernate-cache *after* implementing it! – DeejUK Jan 26 '12 at 07:39