Community
Participate
Working Groups
Updating priority due to revised bug categorization process. See the following page for details: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines#Priority_and_Target_Milestone If you feel the updated priority is incorrect, please send an email to eclipselink-users@eclipse.org.
Here is a grid of all EclipseLink events and those that are covered by the JPA spec. The extended column suggests the new events we should add. TopLink event JPA event Extended JPA (suggestions) ------------------------------------------------------------------------- pre-write n/a PreWrite post-write n/a PostWrite pre-delete n/a PreDelete pre-remove PreRemove n/a post-delete PostRemove n/a pre-insert n/a PreInsert pre-persist PrePersist n/a post-insert PostPersist n/a pre-update n/a PreUpdateNoChanges pre-update-with-changes PreUpdate n/a post-update PostUpdate n/a about-to-insert n/a AboutToInsert about-to-update n/a AboutToUpdate about-to-delete n/a AboutToDelete post-build n/a PostBuild post-merge n/a PostMerge post-clone PostLoad PostClone post-refresh PostLoad PostRefresh
We will support classes that implement DescriptorEventListener in the EntityListeners list and add them to the list of listeners for that entity.
Created attachment 155374 [details] Proposed changes
To note, no changes were made to the eclipselink-orm schema. This fix is purely within code to allow the recognition of entity listener classes that implement DescriptorEventListener and add them directly to the descriptor's event manager.
Changes submitted. Reviewed by: Gordon Yorke New test: No, but expanded existing tests: testPrePersistBusOverrideAndAbstractInheritAndDefault - from LifecycleCallbackJunitTest testCreateBusFueledVehicle - from EntityMappingsInheritanceJUnitTestCase
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink