About FetchType

121-130 of 131Refresh
Forum
1

removed objects stay with null field values in the reference

uUid; ... @OneToMany(fetch=FetchType.LAZY) public Set workflow = new HashSet
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
Forum
1

Selective merge/cascade of detatched entity

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

Speeding up reporting queries with size() on list

: @ManyToMany(targetEntity = Product.class, fetch = FetchType.LAZY) private List products
Issue
1

TYE NullPointerException

a FetchType of EAGER to the member to ensure a load takes place regardless of attached status
Issue
1

Unexpected exception (Error 990) on find

, length = 127)     private String key;     @ElementCollection(fetch=FetchType.EAGER
Forum
1

Upgrade to 2.4.1_01

our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER
Forum
1

Version 2.2.7 build 7/8 issue

(cascade= CascadeType.ALL, fetch= FetchType.EAGER, optional=false) private Address address
Forum
1

TemporalType injection with Calendar using JPA

.persistence.FetchType.EAGER) public List getPoints() { return points