As stated before my application is using Hibernate/Hibernate-Search in a read-only way. If I use ehcache the normal way (enabling it globally for Hibernate & Hibernate-Search) I could end up with wrong data in the cache as all data is changed via normal SQL statements outside of Hibernate. A non up-to-date version is ok for my Hibernate-Search part, but not for the sites relying on normal Hibernate-Code.
This could also be relevant to have in normal Hibernate -ORM . This would leverage some problems legacy users are facing (as described above).
|