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

  • SEARCH
  • Home
  • 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 7561653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:12:45+00:00 2026-05-30T13:12:45+00:00

The Grails 2.0.0 reference manual shows the following as the default Hibernate cache config

  • 0

The Grails 2.0.0 reference manual shows the following as the default Hibernate cache config

hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='org.hibernate.cache.EhCacheProvider'
}

But if you create a Grails 2.0.0 app, what you actually get is

hibernate {
    cache.use_second_level_cache = true
    cache.use_query_cache = true
    cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory'
}

Can someone explain what the difference between these two is?

  • 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-05-30T13:12:46+00:00Added an answer on May 30, 2026 at 1:12 pm

    CacheProvider is a legacy, deprecated way of defining which second-level cache implementation to use, as indicated in its javadoc. The new way is to use a region factory.

    See http://docs.jboss.org/hibernate/core/3.6/javadocs/org/hibernate/cache/package-summary.html for details.

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

Sidebar

Related Questions

When I take a look at the great looking Grails Reference Documentation (http://grails.org/doc/latest/) and
I have the following Grails domain class: class Product { String name Float basePrice
I'm trying to reference a class within IntelliJ IDEA 9.0.2 in a Grails project
Every reference to excluding properties from Grails scaffolded views revolves around adding them to
I'm currently working with Grails 1.3.7, and I have the following domain classes connected
In grails, is there a way in the i18n file to reference a constant
Grails tends to write out the URL for everything that uses its tags as
The Grails framework has a lot of constructs/features that allows for adhering to the
In Grails, one can 'bindData' in controller: Book b = new Book() bindData(b, params)
i upgraded my grails 1.0.4 + acegi 0.4.1 project to grails 1.1 with acegi

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.