title: Database query vs java processing
body: <p>Is it better to make two database calls or one database call with some java processing?</p>
  
  <p>One database call gets only the relevant data which is to be separated into two different list which requires few lines of java.</p>