Select Page
Update database with Fluent API approach

Update database with Fluent API approach

Update database with Fluent API approach Comments Written by     public Book book(Long bookId, Book book) { return bookRepository.findById(bookId). map(foundBook -> { foundBook.setName(book.getName()); foundBook.setDescription(book.getDescription());...
Update database with Fluent API approach

Dependency Injection Summary

Dependency Injection Summary Comments Written by Buddhi   Summary of dependency injection in Spring Boot. All the necessary dependencies are handed over to the object by spring. It frees the object from resolving the dependencies. It greatly simplifies the code and...
Update database with Fluent API approach

Spring Annotations and Component Scanning

Spring Annotations and Component Scanning Comments Written by   Best practices for defining components and scanning them Annotate the class by including the exact place where to scan for components with @ComponentScan({“com.app.service”,”...