Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] @PreUpdate question

Hi Laird,

You can also add any class that implements DescriptorEventListener as an @EntityListener (and avoid the customizer altogether)

Cheers,
Guy


On 29/03/2011 8:53 AM, Laird Nelson wrote:
On Tue, Mar 29, 2011 at 8:49 AM, Tom Ware <tom.ware@xxxxxxxxxx> wrote:
3. EclipseLink has an event system that goes beyond JPA.  Take a look at org.eclipse.persistence.descriptors.DescriptorEventAdapter.  You should be able to create a subclass of that an add it to any descriptor in a DescriptorCustomizer.  The postMerge method might be a good one to try.

Thanks, Tom; probably what I'm looking for.

Best,
Laird

_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users

Back to the top