HHH-7029 - prependListeners changed to appendListeners in chapter 7.9.1. Integrator use-cases example

This commit is contained in:
Kamyar Sajjadi 2012-12-12 10:47:31 +01:00 committed by brmeyer
parent c8aa47ba22
commit 669ec5002f
1 changed files with 2 additions and 2 deletions

View File

@ -18,6 +18,6 @@ public class MyIntegrator implements org.hibernate.integrator.spi.Integrator {
// 2) This form adds the specified listener(s) to the beginning of the listener chain
eventListenerRegistry.prependListeners( EventType.AUTO_FLUSH, myListenersToBeCalledFirst );
// 3) This form adds the specified listener(s) to the end of the listener chain
eventListenerRegistry.prependListeners( EventType.AUTO_FLUSH, myListenersToBeCalledLast );
eventListenerRegistry.appendListeners( EventType.AUTO_FLUSH, myListenersToBeCalledLast );
}
}
}