diff --git a/jOOQ-website/src/main/resources/manual-3.0.xml b/jOOQ-website/src/main/resources/manual-3.0.xml index 7ff259d774..0e1826dc2d 100644 --- a/jOOQ-website/src/main/resources/manual-3.0.xml +++ b/jOOQ-website/src/main/resources/manual-3.0.xml @@ -1398,16 +1398,18 @@ catch (DataAccessException expected) {

- ExecuteListeners are hooked into your by returning them from a : + ExecuteListeners are hooked into your by returning them from an :

- +// Derive a new configuration, hooking your listener providers into it: +configuration = configuration.derive( + new DefaultExecuteListenerProvider(new MyFirstListener()), + new DefaultExecuteListenerProvider(new PerformanceLoggingListener()), + new DefaultExecuteListenerProvider(new NoInsertListener()) +);]]>

See the manual's section about to see examples of such listener implementations. @@ -8315,8 +8317,14 @@ public class StatisticsListener extends DefaultExecuteListener { Now, configure jOOQ's runtime to load your listener

- +

And log results any time with a snippet like this: @@ -9730,8 +9738,14 @@ Result result = create.selectFrom(BOOK).where(BOOK.ID.equal(5)).fetc Both modes will require that you set the in the Configuration:

- +

In-process mode