Git Product home page Git Product logo

hibernate-springcache's Introduction

Hibernate SpringCache

DevOps By Rultor.com Build Status Maven Central Reference Status Dependency Status Javadoc Quality Gate

Hibernate SpringCache is a Hibernate cache implementation that backs to the Spring Cache abstraction. In other words, setup caching once in Spring then use it from Spring and Hibernate so configuration isn't duplicated.

This project has been submitted to Hibernate for inclusion: hibernate/hibernate-orm#1639

Quick Start

  • Minimum requirements โ€” You'll need Java 1.8+, Hibernate 5.2.6+, and Spring 4.3+. Spring Boot 1.4+ is optional.
  • Download โ€” Depend on this libary using, for example, Maven:
  <dependency>
    <groupId>com.integralblue</groupId>
    <artifactId>hibernate-springcache</artifactId>
    <version>[INSERT VERSION HERE]</version>
    <type>jar</type>
  </dependency>
  • In application.properties, add: spring.jpa.properties.hibernate.cache.region.factory_class=com.integralblue.hibernate.cache.springcache.SpringCacheRegionFactory
  • If using Spring Boot, that's it - com.integralblue.hibernate.cache.springcache.SpringCacheRegionFactoryAutoConfigure will take care of the rest.
  • If not not using Spring boot, the com.integralblue.hibernate.cache.springcache.SpringCacheRegionFactoryBeanPostProcessor bean post processor must be registered (add it as a bean using Spring Java or XML configuration).

hibernate-springcache's People

Contributors

candrews avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.