Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362833

Summary: Need a property to set ManyToOne relationship FetchType to LAZY
Product: z_Archived Reporter: Daniel Lo <daniel.lo>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Daniel Lo CLA 2011-11-03 15:24:33 EDT
Build Identifier: 2.1.3

By default the ManyToOne relationship FetchType is set to EAGER, this causes lots of unnecessary query to fetch the related entities, we need a property such as eclipselink.manyt-to-one.lazy=true in the persistence.xml to change the default FetchType.

Reproducible: Always
Comment 1 Eclipse Webmaster CLA 2022-06-09 10:36:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink