Home » Search

About eager

91-100 of 128Refresh
Forum
1

LifeCycle Event with Embeddable classes

= CascadeType.ALL, fetch = FetchType.EAGER) private List barList; @Temporal(TemporalType.TIMESTAMP
Forum
1

Mysterious "Attempt to persist a reference to a non managed instance" error

implements Serializable {     @Id @GeneratedValue private long id;     @OneToOne(fetch=EAGER, cascade
Forum
1

Navigation through Path to evaluate collection

long id;     @ElementCollection(fetch = FetchType.EAGER)     private List apiId
Issue
1

New entity objects are duplicated on merge cascading

.ALL, fetch= FetchType.EAGER)         private List chapters;     }     @Entity     public
Issue
1

NullPointer on query

trouble with eager loading but either way there should definitely be an object there. No exceptions
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

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

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