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: jpa

Implementing custom methods for H2 Embedded Database

March 11, 2017May 3, 2021 Prashanth Batchu

If you want to use an Embedded database such as H2 to unit test your code, you will need to implement your method manually in H2 if it doesn’t supply one out of the box. You can use Jooq to do this this public class...

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...

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.