Skip to content

SrinivasPT/edgebnb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edge BnB - Microservices

With Spring Cloud - JPA - Mapstruct - SQL Server

To have the CRUD working, ensure that

  • Mapstruct has collection strategy - ADDER_PREFERRED
  • While setting the collection, on the entity, use the addAll collection method to set the new list
  • On the entity, have the OneToMany Cascade type as ALL
  • All the entities have the version attribute
  • Retrieve the record before updating the record

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published