About 483,000 results
Open links in new tab
  1. JPA Query Methods :: Spring Data JPA

    Generally, the query creation mechanism for JPA works as described in Query Methods. The following example shows what a JPA query method translates into: Example 1. Query creation from method names. List<User> findByEmailAddressAndLastname(String emailAddress, String …

  2. Spring Data JPA @Query - Baeldung

    Apr 12, 2024 · In this tutorial, we’ll demonstrate how to use the @Query annotation in Spring Data JPA to execute both JPQL and native SQL queries. We’ll also show how to build a dynamic query when the @Query annotation is not enough.

  3. Derived Query Methods in Spring Data JPA Repositories

    Jan 25, 2024 · In this article, we explained the query derivation mechanism in Spring Data JPA. We used the property condition keywords to write derived query methods in Spring Data JPA repositories.

  4. Spring Data JPA Query by Example - Baeldung

    Jan 8, 2024 · In this tutorial, we’ll learn how to query data with the Spring Data Query by Example API. First, we’ll define the schema of the data we want to query. Next, we’ll examine a few of the relevant classes from Spring Data. Finally, we’ll run through a …

  5. Spring Data JPA Tutorial: Introduction to Query Methods

    May 31, 2015 · Spring Data has pretty versatile support for different return values that we can leverage when we are adding query methods to our Spring Data JPA repositories. We can pass parameters to our database queries by using either position …

  6. A Practical Guide to Spring Data JPA Projections & Query Methods

    Feb 12, 2025 · In this article, we’ll explore how to optimize this using projections, DTOs, and different query methods in Spring Data JPA. 1. Key Concepts with Practical Examples. Before diving into...

  7. Derived Query Methods in Spring Data JPA - Atta-Ur-Rehman …

    Oct 4, 2019 · Learn how to create and use the derived query methods in Spring Data JPA to fetch, update, and delete data from a database.

  8. Defining Query Methods :: Spring Data JPA

    Query methods that return multiple results can use standard Java Iterable, List, and Set. Beyond that, we support returning Spring Data’s Streamable, a custom extension of Iterable, as well as collection types provided by Vavr. Refer to the appendix explaining all …

  9. All About Query Methods in Spring Data JPA - Medium

    May 10, 2020 · This is the whole story about Query Methods in Spring Data JPA. As the name suggests, query methods are a set functions that are just like the normal java functions. The main...

  10. Spring Data JPA - Query Creation from Method Names - Java …

    In this article, we will learn how we can create Spring Data JPA query methods by using the query generation from the method name strategy. Spring Data JPA query methods are the most powerful methods, we can create query methods to select records from the database without writing SQL queries.

  11. Some results have been removed
Refresh