Add JdbcOperationsSessionRepository

This commit provides implementation of SessionRepository based
on Spring's JdbcOperations interface.

@EnableJdbcHttpSession annotation is provided to ease the
configuration, together with spring-session-jdbc BOM and schema
creation scripts for all major databases.

Fixes gh-364
This commit is contained in:
Vedran Pavic
2016-02-22 22:47:23 +01:00
committed by Rob Winch
parent 091d0d8d9f
commit cd38e307e0
37 changed files with 2363 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
apply from: JAVA_GRADLE
apply from: TOMCAT_6_GRADLE
tasks.findByPath("artifactoryPublish")?.enabled = false
sonarRunner {
skipProject = true
}
dependencies {
compile project(':spring-session-jdbc'),
"org.springframework:spring-web:$springVersion",
"com.h2database:h2:1.4.191",
jstlDependencies
providedCompile "javax.servlet:javax.servlet-api:$servletApiVersion"
testCompile "junit:junit:$junitVersion"
integrationTestCompile gebDependencies
}