Skip to content

Prashanth Batchu

On Politics, Media, Technology and everything else

  • Home
  • Conferences / Presentations
    • CIOSynergy 2020 – IT trends & predictions
    • QA Financial 2019: Moving to Cloud 2.0 – More to the Cure
  • Army
    • Army Marching Cadences
    • AMEDD Basic Officer Leadership Course (BOLC)
    • DTS Basics (Defense Travel System)
    • Direct Commission Course
    • AMEDD Observer Controller Trainer (OC/T) Course
    • AMEDD 70B Track Phase
    • Army 70D AOC (MIMC – Medical Information Management Course)
  • About me

Category: spring-boot

Java 8 and LocalDate serialization issues with Jackson mapper

July 15, 2017May 3, 2021 Prashanth Batchu

Say you have a LocalDate attribute in one of your models in your Spring based RESTful Web Service and you need your clients to send and receive the LocalDate in some form of yyyyMMdd LocalDate myDate; Simply add the following dependency to your classpath (pom.xml)...

Dealing with JPA Entities backed by SQL Queries that return no unique columns

February 25, 2017May 3, 2021 Prashanth Batchu

Earlier I was working on a Spring Boot application where in I had to join multiple tables and map the returned columns to a JPA entity. But the problem was that none of the returned columns had unique values. Here’s a snippet of how my...

Global Exception handling for Spring MVC

January 30, 2017May 3, 2021 Prashanth Batchu

Proper exception handling in a REST service can help Provide proper HTTP response codes and pertinent error messages to downstream clients Logging custom exceptions can help with analytics (If logs are aggregated through a Log aggregation system such as Splunk, one can easily find out...

Recent Posts

  • Agile Transformation – Motivated individuals are the key
  • Army 70D AOC (MIMC – Medical Information Management Course)
  • DTS Basics (Defense Travel System)
  • AMEDD Observer Controller Trainer (OC/T) Course
  • Putin’s folly

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © Prashanth Batchu

Minimalist Theme by WPVKP.