0

How to config entities(options and options_values) to when save Option entity, then Options_values enitity list in Option entity also save records in DB and auto delete Options_values records in DB not exist Options_values enitity list?

this is erd enter image description here options_values enity enter image description here options entity

  • Welcome! I think what you are refering to is cascading. Check [this](https://stackoverflow.com/questions/13027214/what-is-the-meaning-of-the-cascadetype-all-for-a-manytoone-jpa-association) out. – mrkachariker Oct 31 '22 at 17:52
  • Please [edit] to convert your images of text into actual text. [See here](https://meta.stackoverflow.com/a/285557/20170164) for why. – rainbow.gekota Nov 01 '22 at 03:54

0 Answers0