• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

SpringBoot JPA Methods or query to perform arithmetic operations with Postgres columns

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am a beginner with SpringBoot and accessing postgres table with multiple columns along with two timestamp with timezone columns(start time and end time). Besides retrieving all columns I also want to display time taken in seconds(end time - start time). I am extending PagingAndSortingRepository (findAll) for retrieving with paging and sorting. Please suggest the required solution. Will be using ReactJS for presentation.
 
reply
    Bookmark Topic Watch Topic
  • New Topic