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

Bug 314038

Summary: improved events (able to do all entity manipulations)
Product: z_Archived Reporter: Tom Eugelink <tbee>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tom Eugelink CLA 2010-05-23 04:23:46 EDT
Build Identifier: 

The events that are now possible with Eclipselink have drawbacks; certain operations cannot be performed because Eclipselink already has passed a certain stage in its operation. For example things like; persisting an additional entity Y because entity X is modified / persisted may or may not work, depending on whether that entity Y is already handled by Eclipselink.

It would be good if the event mechanism is able to do all entity manipulations; creation, deletion, modifying of simple or inter entity relations. This make it possible to put all constraints in to the business model and hand that out as a black box to GUI, web service or other projects. 

I think this is paramount for writing good business model and the acceptance of MDD.

JPA events are restricted in their behavior by their spec, but the Eclipse events can be modified to do this. Or a new event system similar to JPA annotations could be used for this.

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