 25 | Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not ... the database. If you remove the FetchType everything works. Best regards Markus Thank you for this report. Please try build 2.7.2_09. doppelrittberger |
 13 | =CascadeType.ALL) MyEntity field2;
@OneToMany(fetch=FetchType.EAGER) List field3 |
 9 | of all attributes for which FetchType.EAGER has been specified have been loaded, this method returns LoadState ... of all attributes for which FetchType.EAGER has been specified have been loaded, this method returns ... all attributes with FetchType.EAGER have been loaded, this method returns LoadState.NOT_LOADED |
 6 | ; public Double usedSolutionObjectTypeVersion; @OneToMany(fetch= FetchType.LAZY) @Index public List actions = new ArrayList(); @OneToMany(fetch=FetchType.LAZY) @Index public List childNodes = new ArrayList(); @OneToMany(fetch=FetchType.LAZY) public List |
 5 | Annotation Element javax.persistence.Basic FetchType fetch (Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy ... value: javax.persistence.FetchType.EAGER Since: JPA 1.0 |
 5 | Annotation Element javax.persistence.ElementCollection FetchType fetch (Optional) Whether the collection should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement ... strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 2.0 |
 5 | for which FetchType.EAGER has been specified have been loaded, this method returns LoadState.LOADED ... with FetchType.EAGER have been loaded, this method returns LoadState.NOT_LOADED. If the provider |
 5 | ; } Since: JPA 1.0 FetchType fetch (Optional) Defines whether the value of the field or property ... .persistence.FetchType.EAGER Since: JPA 1.0 boolean optional (Optional) Defines whether the value |
 5 | 2.0 FetchType fetch (Optional) Whether the collection should be lazily loaded or must be eagerly ... : javax.persistence.FetchType.LAZY Since: JPA 2.0 Class targetClass (Optional) The basic or embeddable |
 5 | to no operations being cascaded. Default value: {} Since: JPA 1.0 FetchType fetch (Optional ... is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY |