Upgrade
Sign In : Sign Up : Blog : Search: Language : Help :
This website is now frozen, please migrate your content to BotLibre.com or BotLibre.biz
Java Persistence Performance : EclipseLink 2.5.2 cache coordination listener

RE: EclipseLink 2.5.2 cache coordination listener

by jamesssss posted Sep 20 2014, 17:42

You can register a SessionEventListener with your session (eclipselink.session-event-listener).

You can see its JavaDoc here,
https://www.eclipse.org/eclipselink/api/2.0/org/eclipse/persistence/sessions/SessionEventListener.html

The event your want is most likely, postMergeUnitOfWorkChangeSet. The event has the UnitOfWorkChangeSet which has a bunch of ObjectChangeSets that describe the objects that changed.


Id: 322007
Posted: Sep 20 2014, 17:42
Replies: 0
Views: 1953, today: 2, week: 8, month: 16
I'm sure
Flag graphic as offensive, or in violation of site rules