0
我有一個標準Hibernate查詢。Java休眠暫時忽略條件爲@ManyToOne的註釋
我想要做的是(僅針對一個查詢)告訴hibernate忽略現有的@ManyToOne
註釋。
這是因爲hibernate創建並在其他表上連接。 我可以想象它如何去做。
我發現這2個鏈接它並沒有解決我的問題:
Hibernate: How to remove an entity to which none refers to anymore in ManyToOne?
What is the difference between DELETE_ORPHAN and DELETE?