5 ways to find data with Spring Data

Greg L. Turnquist
5 min readJul 28, 2022

Spring Data provides all kinds of ways to interact with your data store. But do you know them ALL? Odds are, you haven’t seen them all.

And you may be suffering from wasting your time on some queries because of it.

In this article, find out ALL the ways you can access your data, and see which one is for YOU!

1 —Custom finders

The simplest and most eye-catching solution (to me) is your ability to write a custom query WITHOUT WRITING any, well, query, is this:

--

--

Greg L. Turnquist

Sr. Staff Technical Content Engineer at CockroachDB • YouTube Content Creator at https://youtube.com/@ProCoderIO • Best-Selling Author • Coffee Lover