Hi All,

I'm trying to enable remote commit events within a single JVM using the
following code:

OpenJPAEntityManagerFactorySPI emf = (OpenJPAEntityManagerFactorySPI)
OpenJPAPersistence.cast(entityManagerFactory);
OpenJPAConfiguration configuration = emf.getConfiguration();

configuration.setRemoteCommitProvider("sjvm");
configuration.getRemoteCommitEventManager().addListener(this);

However, my afterCommit(RemoteCommitEvent event) method is never called
across my JVM after I make changes to the database through the OpenJPA API:
am I doing something wrong?

TIA...

Ricardo Gladwell <[email protected]>

Reply via email to