I'm trying to use CascadeType.REMOVE on a @OneToMany relationship, and it works with FetchType.EAGER but not with FetchType.LAZY, I don't know if it's a bug or not?
The spec says "The remove operation
is cascaded to entities referenced by X" so it might be better to have the corresponding references instantiated in memory.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.