About lazy

31-40 of 118Refresh
Forum
6

Performance issues on aggregate query

; 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
JPA Doc
5

ElementCollection.fetch

on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 2.0
JPA Doc
5

javax.persistence.Basic

protected String name; Example 2: @Basic(fetch=LAZY) protected String getName() { return name ... on the persistence provider runtime that the value must be eagerly fetched. The LAZY strategy is a hint
JPA Doc
5

javax.persistence.ElementCollection

must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 2.0 Class targetClass (Optional) The basic or embeddable
JPA Doc
5

javax.persistence.Lob

, and except for string and character-based types defaults to Blob. Example 1: @Lob @Basic(fetch=LAZY) @Column(name="REPORT") protected String report; Example 2: @Lob @Basic(fetch=LAZY) @Column(name
JPA Doc
5

javax.persistence.ManyToMany

on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY
JPA Doc
5

javax.persistence.OneToMany

fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 1.0 String mappedBy The field that owns the relationship. The field
JPA Doc
5

ManyToMany.fetch

on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 1.0
JPA Doc
5

OneToMany.fetch

on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.LAZY Since: JPA 1.0
Forum
5

significant performance decrease

usedStandardObjectTypeVersion; public Double usedSolutionObjectTypeVersion; @OneToMany(fetch=FetchType.LAZY) public List actions = new ArrayList(); @OneToMany(fetch=FetchType.LAZY ... =FetchType.LAZY) public List container = new ArrayList(); @OneToOne