Home » Search

About eager

21-30 of 129Refresh
JPA Doc
5

javax.persistence.PersistenceUnitUtil

if all attributes for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object ... .EAGER has been specified have been loaded. The isLoaded(Object, String) method should be used
JPA Doc
5

ManyToOne.fetch

Annotation Element javax.persistence.ManyToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement ... is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0
JPA Doc
5

OneToOne.fetch

Annotation Element javax.persistence.OneToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement ... is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0
Forum
5

Performance problem

EAGER fetch that follows the query execution. That eager fetch doesn't happen for example when the query is run the Explorer, and in other cases in which the entity class with the EAGER definition ... that class. You probably have EAGER definitions that cause a massive load of objects from
Issue
5

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

might be the problem here. Try setting the fetch type of ownedElements to EAGER and check if it affects ... before detachment The easiest way is to set the fetch type to EAGER: @OneToMany(mappedBy = "owner", cascade = CascadeType.ALL, fetch=FetchType.EAGER) public List getOwnedElements
Forum
4

persisting object with long[][] arrays of array

= FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a1;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a2;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType
JPA Doc
4

ElementCollection.fetch

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 on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY
JPA Doc
4

isLoaded(entity)

for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object, String) method
JPA Doc
4

isLoaded(entity)

Method javax.persistence.PersistenceUtil boolean isLoaded(   Object entity ) Determine the load state of an entity. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER has been specified
JPA Doc
4

isLoadedWithoutReference(entity, attributeName)

with FetchType.EAGER have not been loaded or that the state of the specified attribute has not