-
Bug
-
Resolution: Done
-
Major
-
1.3.2.Final
-
None
Given two classes Foo and Bar the following deletion code is generated for bidirectional OneToOne relationship between them:
FooBean.java
Foo foo = deletableEntity.getFoo();deletableEntity.setBar(null);this.entityManager.merge(foo);
BarBean.java
Example bar = deletableEntity.getBar();deletableEntity.setFoo(null);this.entityManager.merge(bar);
This is incorrect - the setters on the deletableEntity should not be invoked.