EclipseLink will create any non-merged entities even if no cascade-operation is specified

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

EclipseLink will create any non-merged entities even if no cascade-operation is specified

Andreas Joseph Krogh-2
It's this bug again: https://bugs.eclipse.org/bugs/show_bug.cgi?id=247662
 
Given this class
 
class Companny {
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "responsible_id")
Person responsiblePerson = null;
}
 
The problem is that EL will in this case create the responsiblePerson when persisting Company. This is, according to many, regarded as a bug and an IllegalStateException should be thrown.
 
Any plans to look into this?
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipselink-users