# hibernate-redis
**Repository Path**: chaomc/hibernate-redis-1
## Basic Information
- **Project Name**: hibernate-redis
- **Description**: hibernate 2nd level cache privder using redis
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2017-06-15
- **Last Updated**: 2024-11-24
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Hibernate-redis
A library for using Redis as a second level distributed cache in Hibernate.
This is an open source project.
version : 1.0.0-SNAPSHOT
## Feature
* Implement hibernate entity & query results cache using redis
* Implement read-write strategy locking with [SETNX](http://redis.io/commands/setnx)
## System Requirements
JDK 1.6 or above.
## Using Hibernate-redis
* checkout this source
git clone git@github.com:Jongtae/hibernate-redis.git
* install locally using maven' install commend:
mvn install -DskipTests
* add dependency in your project pom.xml:
net.daum.clix
hibernate-redis
* configurate hibernate properties like this :
true
true
net.daum.clix.hibernate.redis.RedisRegionFactory
"redis.host"
* set your additional redis properites optionally
"redis.port"
"redis.timeout"
"redis.password"
## License
This software is licensed under the Apache 2 license, quoted below.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.