JPA <-> Jackson: trying to work with LocalDateTime objects
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 3 Jul 2016 12:38:04 +0000 (14:38 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 3 Jul 2016 12:38:04 +0000 (14:38 +0200)
SpringJava/JPA/pom.xml

index 1c800b3..0794f92 100644 (file)
                        <artifactId>jackson-databind</artifactId>
                        <version>2.6.4</version>
                </dependency>
+               <!-- 
+                       Jackson dependency required for serializing and deserializing LocalDateTime,
+                       LocalDate, etc, etc objects.
+                -->
+               <dependency>
+               <groupId>com.fasterxml.jackson.datatype</groupId>
+               <artifactId>jackson-datatype-jsr310</artifactId>
+               <version>2.8.0.rc2</version>
+               </dependency>
 
 
                <!--