I've posted two questions on hibernate forum https://forum.hibernate.org/viewtopic.php?f=1&t=1007167&p=2436159
I got no answers till now, so may be this community will be so kind to help me.
For future ref, see:
Btw, if you're using Hibernate 3.5 or higher, I'd recommend using Infinispan as 2LC instead. It's much faster, easier to configure
Thank you for the link on ref, I've looked over it. And again it says, that you have to manually set your query cachable. It's understandable. But what with entities cache?
Does annotation @Cache on entities is used only to specify caching transaction type/region etc., but it cannot turn on cachable feature for them?
BTW, Jboss cache is selected by the customer. Can you use it in clustered transactional production env?
|Retrieving data ...|