The Complete Reference: Grouping dataset using JPA and Criteria Builder
Authors: Sachin Shridhar Padhye
DOI: https://doi.org/10.37082/IJIRMPS.v13.i3.232604
Short DOI: https://doi.org/g9q35t
Country: USA
Full-text Research PDF File:
View |
Download
Abstract: This paper presents high level design of grouping data on its and its children’s attribute using Java Persistence API (JPA) and criteria builder future. Grouping of the data set is defined as view of the data set based on unique value of one or more attributes. This paper describes the design and approach to construct grouping criteria dynamically. Grouping criteria can be defined in JSON format and then JSON will be parsed to create grouping query run time. JPA is implemented by many leading OR mapping tools, which represents data Object Oriented Programming Models. Criteria builder API provides a way to construct SQL queries dynamically against data objects
Keywords:
Paper Id: 232604
Published On: 2025-06-23
Published In: Volume 13, Issue 3, May-June 2025