Getting started with Spring Data Specifications
View in browser
reflectoring

Hey there,

As you probably know, subscribing to this newsletter comes with a welcome present. You get a 50% discount on my book "Get Your Hands Dirty on Clean Architecture". I noticed that many subscribers didn't take advantage of this, so here's another chance: use this link to get my book for just $5. It's worth way more than even the original price.

And now have fun with this week's article.

Cheers,

Tom

Getting Started with Spring Data Specifications

Spring Data is a great tool to implement database queries. We can just name a method the right way and it will get the data we want from the database. Or, we can write a custom query and put it into a @Query annotation for more complex use cases.

That's well and good, but it doesn't scale when we need very dynamic queries. The number of methods we have to build would grow exponentially. This new article is about Specifications, which provides an API on top of the Criteria API that helps us build atomic predicates that we can combine to queries dynamically.

Read more

And here are this week's links to other interesting topics I found:

    • Sorry, no links this week, I didn't take enough time to read :(
    reflectoring

    37 Mountain View Cr.
    NSW, 2125 West Pennant Hills
    Australia

    You received this email because you signed up on our website or made a purchase from us.

    Unsubscribe