Please enable JavaScript.
Coggle requires JavaScript to display documents.
Spring Boot (Annotations (ORM (Id (Custom Generator, Configure & Use…
Spring Boot
Annotations
ORM
Id
Custom Generator
Configure & Use the Custom Generator
Table
Column
Entity
Repository
Repository query keywords
JSQL
Param
Modifying
Query
Native SQL
Use
Test
Autowired
Transactional
Rollback
Relations
OneToMany
mappedBy
cascade
All
Detach
Merge
Persist
Refresh
Remove
fetch
EAGER
LAZY
ManyToOne
JoinColumn
Issue
Spring Boot 1
to
Spring Boot 2
findOne(…) ->
findById(…).get()
save(Iterable) ->
saveAll(Iterable)
findAll(Iterable<ID>) ->
findAllById(…)
delete(ID) ->
deleteById(ID)
delete(Iterable<T>) ->
deleteAll(Iterable<T>)
exists() ->
existsById(…)
new PageRequest() ->
PageRequest.of()
server.context-path->
server.servlet.context-path
Section 9 Lecture 68:
Error
Import package wrong
use import repository :
import org.springframework.data.domain.Pageable;
Blog
Spring Boot Crud JAP
Microservice & Rest API
10 Best Practices for Better RESTful API
Paging & Sorting