Hibernate集合映射中的inverse屬性以及cascade級聯

Inverse屬性 Inverse屬性,是在維護關聯關係的時候起作用的。          表示控制權是否轉移。(在一的一方起作用)   Inverse , 控制反轉。 Inverse = false  不反轉;   當前方有控制權 True  控制反轉; 當前方沒有控制權   只在集合映射中才能使用。 注意:<one-to-many /> 和<many-to-one />中並沒有這個屬性 維護關
相關文章
相關標籤/搜索