-
Book Overview & Buying
-
Table Of Contents
Spring System Design in Practice
By :
In this chapter, we have seen the way to handle data on your services. Although the examples here were all tied to SQL databases, Spring Data provides similar approaches for all major databases. We will look at non-SQL implementations as well throughout the book. But, in essence, the basic template will be found in the extensions for other databases: you need to add the dependency for supporting the other database, then look for which repository types you have available. Some repositories will be more high-level, providing a lot of stuff out-of-the-box for you to use (just as JpaRepository did). Other repositories will provide more low-level options for you to have finer control over the way you interact with your database.
In the next chapter, we will switch gears to talk more about security issues and how to properly implement access control to your application. That is it for this chapter. See you in Chapter 8!