Second level cache

I tried to configure usage of second level cache for Hibernate under JBoss.

I tried EH Cache configuration and Hibernate-jboss configuration. However, in both cases logging of org.hibernate.SQL has produced multiple records when activating NamedQuery multiple times.

I also added QueryHint org.hibernate.cacheable=true to the query, but that didn't help either.

How can i verify that cache is working and objects are cached ?

(cache log showed that cache has been initialized at a region with my EAR file)

Thank you for your interest!

We will contact you as soon as possible.

Want to Know More?

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com
Thank you for your interest!

We will contact you as soon as possible.

Let's talk

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com