Spring Data Commons

Spring Data Commons provides the basic abstractions behind Spring Data modules. We will use Spring Data JPA as an example to illustrate these abstractions.

Some of the important interfaces in Spring Data Commons are listed as follows:

   Repository<T, ID extends Serializable>   CrudRepository<T, ID extends Serializable> extends Repository<T, ID>   PagingAndSortingRepository<T, ID extends Serializable> extends      CrudRepository<T, ID>

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.