paint-brush
Improving your experience with Criteria API using Builder pattern and JPA Static Metamodel - Part IIby@alexandermakeev
823 reads
823 reads

Improving your experience with Criteria API using Builder pattern and JPA Static Metamodel - Part II

by Alexander Makeev12mOctober 3rd, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this tutorial, we continue implementing an extension for the Criteria API using the Builder pattern and JPA Static Metamodel Generator. In this part, we will improve the BaseQuery interface to allow you to use the **or/and** predicates with a nested sub-path chain, providing us the ability to switch from this block of code:. listOfOrders = criteriaApiHelper.select(Order) to listOf-Orders. The full source code is available over on GitHub.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Improving your experience with Criteria API using Builder pattern and JPA Static Metamodel - Part II
Alexander Makeev HackerNoon profile picture
Alexander Makeev

Alexander Makeev

@alexandermakeev

Senior SWE at Layermark

Learn More
LEARN MORE ABOUT @ALEXANDERMAKEEV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Alexander Makeev HackerNoon profile picture
Alexander Makeev@alexandermakeev
Senior SWE at Layermark

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite