@Retention(value=RUNTIME) @Target(value=TYPE) public @interface DraftableElement
Relationships to @DraftableElements (@OneToMany, @ManyToMany etc) are automatically deemed to have Cascade.ALL for save and delete (as well as orphan removal mode).
Copyright © 2016. All rights reserved.