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?