Home » Search

About eager

111-120 of 129Refresh
Forum
1

performance limit

execution from result loading. Loading the query results could be very slow if eager fetch is used
Forum
1

Possible issue with LAZY Loading

. LAZY (unlike EAGER) is considered in JPA as a hint and in some cases data is fetched eagerly
Forum
1

problem with lazy loading - unittest project attached

, one entity with 2 related entities. if i use EAGER the test pass, if not the related entity list is empty
Forum
1

Query problem

Hi, Given : @Entity(name = "Inspiration") public class Inspiration implements Serializable {     ....     @ManyToOne(fetch = FetchType.EAGER)     protected Atelier atelier;     .... } I have a query : SELECT i FROM Inspiration i WHERE i.atelier.id = 3 When I run this query I get wrong
Forum
1

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0
Forum
1

Removing an entity throws exception

=FetchType.EAGER,              optional=false, orphanRemoval=true) private Address address
Forum
1

Retrieval by Access bug?

Dear Sirs, I have an object A, that has a OneToMany FetchType.EAGER List of objects B, that has a field with a reference to an object C. I have this code: ClassA objectA = em.find(ClassA.class, 1); for (ClassB objectB : objectA.getListB()) {     ClassC objectC = objectB.getObjectC(); } em
Forum
1

Selective merge/cascade of detatched entity

=FetchType.EAGER, cascade=CascadeType.All) private Map> companyTargets
Forum
1

Should I be able to persist a JFrame (or gui components in general)?

possible, would be appreciated.   Update...I got a bit eager trying this without paying attention
Forum
1

Transaction isolation support?

if FetchType.LAZY changes to FetchType.EAGER? In a SQL database, A and B would run in