🗊Презентация Spring data. Familiar and consistent programming model for data access

Нажмите для полного просмотра!
Spring data. Familiar and consistent programming model for data access, слайд №1Spring data. Familiar and consistent programming model for data access, слайд №2Spring data. Familiar and consistent programming model for data access, слайд №3Spring data. Familiar and consistent programming model for data access, слайд №4Spring data. Familiar and consistent programming model for data access, слайд №5Spring data. Familiar and consistent programming model for data access, слайд №6Spring data. Familiar and consistent programming model for data access, слайд №7Spring data. Familiar and consistent programming model for data access, слайд №8Spring data. Familiar and consistent programming model for data access, слайд №9Spring data. Familiar and consistent programming model for data access, слайд №10

Вы можете ознакомиться и скачать презентацию на тему Spring data. Familiar and consistent programming model for data access. Доклад-сообщение содержит 10 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





Spring data
Описание слайда:
Spring data

Слайд 2





Spring data		
 Familiar and consistent programming model for data access.
Описание слайда:
Spring data Familiar and consistent programming model for data access.

Слайд 3





Features	
Powerful repositories.
Dynamic query derivation from method names.
Easy spring integration.
Описание слайда:
Features Powerful repositories. Dynamic query derivation from method names. Easy spring integration.

Слайд 4





Modules
Spring data commons.
Spring data jpa.
Spring data mongodb.
Spring data redis.
Spring data cassandra.
Spring data gemfire.
Spring data rest.
Описание слайда:
Modules Spring data commons. Spring data jpa. Spring data mongodb. Spring data redis. Spring data cassandra. Spring data gemfire. Spring data rest.

Слайд 5





Dependency
<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
Описание слайда:
Dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency>

Слайд 6





Repository interfaces
-Repository
-CrudRepository
-PagingAndSortingRepository
-JpaRepository
Описание слайда:
Repository interfaces -Repository -CrudRepository -PagingAndSortingRepository -JpaRepository

Слайд 7





Example
@Repository
public interface EmployeeRepository extends CrudRepository<Employee, Long> {

  Employee findByFirstName(String firstName);

  List<Employee> findByLastName(String lastName);
}
Описание слайда:
Example @Repository public interface EmployeeRepository extends CrudRepository<Employee, Long> { Employee findByFirstName(String firstName); List<Employee> findByLastName(String lastName); }

Слайд 8





Method naming convention
find…By, read…By, query…By, count…By, and get…By:
findDistinctPeopleByLastnameOrFirstname
findByLastnameAndFirstnameAllIgnoreCase
findByLastnameOrderByFirstnameDesc
queryFirst10ByLastname
findTop3ByLastname
Описание слайда:
Method naming convention find…By, read…By, query…By, count…By, and get…By: findDistinctPeopleByLastnameOrFirstname findByLastnameAndFirstnameAllIgnoreCase findByLastnameOrderByFirstnameDesc queryFirst10ByLastname findTop3ByLastname

Слайд 9





Async repositories
Future<User> findByUsername(String username);
CompletableFuture<User> findByUsername(String username);
Описание слайда:
Async repositories Future<User> findByUsername(String username); CompletableFuture<User> findByUsername(String username);

Слайд 10





Auditing
@CreatedDate
Описание слайда:
Auditing @CreatedDate



Похожие презентации
Mypresentation.ru
Загрузить презентацию