Get the App
SLTechnology News&Howtos  ›  Database  › 

Cascade and inverse (hibernate)

Shulou Source: shulou.com Published: 2022-06-01 08:19:53 11月10日 Update

Cascade is whether the actions on one table are cascaded (affected) to the other in two tables.

Inverse true means that the relationship between the two tables is the responsibility of the other party, which is generally responsible for multiple parties, that is, only the (inverse=false) party changes the relationship between the two tables will be updated to the database. This function can improve efficiency. The so-called relationship is the value of the foreign key. If the value relation of the foreign key is changed, it will change.

Tags: Two that is one side function action only each other efficiency data database influence update Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB vpn NVidia macOS Shulou Technology