When working with @ElementCollection of an embeddable type, currently TEMP nodes are persistent after the transaction commit. Also the "embedded" nodes are not deleted when removing the corresponding assocation; Only the relationship is removed, leaving the "embedded" node dangling behind.
|