Working with Spring Data JPA: Custom Queries
Spring Data JPA 2.5.2
| Intermediate
- 7 Videos | 1h 50s
- Includes Assessment
- Earns a Badge
Through this course, explore how to map your own SQL queries to methods in a CrudRepository and leave the implementation of running the queries and processing the results to the Spring Framework. You'll investigate the use of @Query annotation to map simple select queries to methods in a CrudRepository and learn how the rest of the workaround connections, query executions, and processing of results is handled by Spring. This course will also help you discover named queries and how to add complexity to your query by substituting parameters that can be supplied when calling your methods. Once you are finished with this course, you'll have the skills to build efficient, robust, and easy-to-maintain applications by reducing the amount of boiler-plate code required.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this courseapply the @Query annotation to map queries to be run against a database to a method in a CrudRepositorydefine custom queries that bind to parameters passed to a CrudRepository methodconfigure update and delete operations in a CrudRepository
-
define custom queries that can be referenced by names in a CrudRepositorydefine named queries in an XML file and a Java source filesummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 12sUP NEXT
-
2.Applying Custom Queries with the @Query Annotation11m 14s
-
3.Defining Custom Queries with Parameters12m 52s
-
4.Configuring Update and Delete Operations9m 29s
-
5.Using Named Queries from a Properties File10m 22s
-
6.Defining Named Queries in XML and Java Files12m 34s
-
7.Course Summary2m 8s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.