From 61adb46018ed2531213a9a937a11889788c5c5a9 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Thu, 21 Jul 2016 22:05:14 +0200 Subject: [PATCH] Spring JPA: no time for comments --- SpringJava/JPA/spring-jpa-bom/pom.xml | 38 +++++++++++---------- .../example/context/StaticContextHolder.java | 39 ++++++++++++++++++++++ .../example/context/UsernameThreadContext.java | 16 +++++---- .../LocalDateTimeAttributeConverter.java | 34 +++++++++++++++++++ .../domain/audit/MyCustomRevisionListener.java | 9 ++--- .../spring-configuration/configuration.xml | 2 ++ .../liquibase/ddlChangelog.xml | 9 ++--- .../spring-configuration/configuration.xml | 2 ++ 8 files changed, 111 insertions(+), 38 deletions(-) create mode 100644 SpringJava/JPA/spring-jpa-persistence/src/main/java/de/spring/example/context/StaticContextHolder.java create mode 100644 SpringJava/JPA/spring-jpa-persistence/src/main/java/de/spring/example/persistence/converters/LocalDateTimeAttributeConverter.java diff --git a/SpringJava/JPA/spring-jpa-bom/pom.xml b/SpringJava/JPA/spring-jpa-bom/pom.xml index 0cdeef2..a5d1208 100644 --- a/SpringJava/JPA/spring-jpa-bom/pom.xml +++ b/SpringJava/JPA/spring-jpa-bom/pom.xml @@ -76,6 +76,23 @@ 1.7.21 + + + org.springframework + spring-context + ${spring.version} + + + + commons-logging + commons-logging + + + + javax.inject javax.inject @@ -104,21 +121,6 @@ - - org.springframework - spring-context - ${spring.version} - - - - commons-logging - commons-logging - - - @@ -160,7 +162,7 @@ com.fasterxml.jackson.core jackson-databind - 2.6.4 + 2.8.1 @@ -239,7 +241,7 @@ com.fasterxml.jackson.core jackson-databind - 2.6.4 + 2.8.1 -->