Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8623237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:14:08+00:00 2026-06-12T07:14:08+00:00

I have configured ehcache for hibernate 2nd level cache to use a Terracotta server.

  • 0

I have configured ehcache for hibernate 2nd level cache to use a Terracotta server. Everything is working fine, except the UpdateTimestampsCache for the query cache is just not showing up in the Dev Console. We are using Hibernate 3.6.10 and ehcache 2.6.0.

I am seeing all entity, collection, query and the StandardQueryCache, but not org.hibernate.cache.UpdateTimestampsCache. I know the timestamp cache exists and is being used because I can see the stats on it using the the metrics lib instrumented in.

Any ideas?
Thanks!

Here’s my ehcache.xml config

<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
    updateCheck="false" 
    name="Hibernate-CacheManager"
    monitoring="autodetect"
    dynamicConfig="true">    

<terracottaConfig url="localhost:9510" />

<defaultCache
    eternal="false"
    overflowToDisk="false"
    maxElementsInMemory="50000"
    timeToIdleSeconds="7200"
    timeToLiveSeconds="0">

    <cacheDecoratorFactory 
        class="com.yammer.metrics.ehcache.InstrumentedEhcacheFactory" />

    <terracotta/>
</defaultCache>


<cache
    name="org.hibernate.cache.UpdateTimestampsCache"
    eternal="false"
    overflowToDisk="false"
    maxElementsInMemory="500"
    timeToIdleSeconds="7200"
    timeToLiveSeconds="0">

    <cacheDecoratorFactory 
        class="com.yammer.metrics.ehcache.InstrumentedEhcacheFactory" />

    <terracotta/>

</cache>

<cache
    name="org.hibernate.cache.StandardQueryCache"
    eternal="false"
    overflowToDisk="false"
    maxElementsInMemory="50000"
    timeToIdleSeconds="7200"
    timeToLiveSeconds="0">

    <cacheDecoratorFactory 
        class="com.yammer.metrics.ehcache.InstrumentedEhcacheFactory" />

    <terracotta/>

</cache>
</ehcache>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T07:14:09+00:00Added an answer on June 12, 2026 at 7:14 am

    Recopying answer from: http://forums.terracotta.org/forums/posts/list/0/7554.page#36815

    Hibernate does not maintain statistics for the UpdateTimestampsCache cache up to Hibernate 4.0.0. This explains why the cache does not show up in the terracotta dev console.

    This is filed as bug https://hibernate.onjira.com/browse/HHH-5326

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to use Ehcache Cache Server and have it be configured with
I have Hibernate with 2nd level cache provided by Ehcache. I have Parent and
I have configured my Business Application to use Windows Authentication. From everything that I
I have an JPA/Hibernate/Spring/Tomcat web application with second level data cache enabled for performance
I have configured Service Broker communication between two SQL Server 2008 instances using Windows
I have configured my application to use the Service configuration Local in the development
I have configured Apache httpd to work as a forward proxy server. How can
setting up shiro session cache with ehcache+terracotta ,putitng these configs in config.groovy - security.shiro.sessionDAO
I have configured APC Cache for YII application but when I put a variable
I have configured my apache 2.2 server as a simple forward proxy using mod_proxy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.