Hibernate/Spring Cache Integration

Integration for org.springframework.cache.Cache into Hibernate as a second-level caching service

Лицензия

Лицензия

Категории

Категории

Hibernate Данные ORM
Группа

Группа

com.integralblue
Идентификатор

Идентификатор

hibernate-springcache
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Hibernate/Spring Cache Integration
Integration for org.springframework.cache.Cache into Hibernate as a second-level caching service
Ссылка на сайт

Ссылка на сайт

https://github.com/candrews/hibernate-springcache
Организация-разработчик

Организация-разработчик

jcabi.com
Система контроля версий

Система контроля версий

https://github.com/candrews/hibernate-springcache

Скачать hibernate-springcache

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.integralblue/hibernate-springcache/ -->
<dependency>
    <groupId>com.integralblue</groupId>
    <artifactId>hibernate-springcache</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.integralblue/hibernate-springcache/
implementation 'com.integralblue:hibernate-springcache:2.0.0'
// https://jarcasting.com/artifacts/com.integralblue/hibernate-springcache/
implementation ("com.integralblue:hibernate-springcache:2.0.0")
'com.integralblue:hibernate-springcache:jar:2.0.0'
<dependency org="com.integralblue" name="hibernate-springcache" rev="2.0.0">
  <artifact name="hibernate-springcache" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.integralblue', module='hibernate-springcache', version='2.0.0')
)
libraryDependencies += "com.integralblue" % "hibernate-springcache" % "2.0.0"
[com.integralblue/hibernate-springcache "2.0.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.hibernate : hibernate-jcache jar 5.3.3.Final
org.springframework : spring-context jar 4.3.6.RELEASE
org.springframework : spring-orm Необязательный jar 4.3.6.RELEASE
org.springframework.boot : spring-boot-autoconfigure Необязательный jar 1.4.2.RELEASE

test (2)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-test jar 1.4.2.RELEASE
org.hibernate : hibernate-testing jar 5.3.3.Final

Модули Проекта

Данный проект не имеет модулей.

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: https://github.com/hibernate/hibernate-orm/pull/1639

Quick Start

  • Minimum requirements — You'll need Java 1.8+, Hibernate 5.3.3+, and Spring 4.3+. Spring Boot 1.4+ is optional. Use version 1.x of this project for Hibernate 5.2 support.
  • 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).

Версии библиотеки

Версия
2.0.0
1.0.2
1.0.1
1.0.0