Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究包含多对一关系的项目。我想知道是否必须使用级联类型来持久化一个实体,从而持久化另一个实体,或者我应该单独持久化每个实体吗?哪种方法是最好的?