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
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.Digital badges are yours to keep, forever.
YOU MIGHT ALSO LIKE
PEOPLE WHO VIEWED THIS ALSO VIEWED THESE