*** This is a preview for the upcoming jOOQ 3.2.0 release, which is due for late **September 2013. Beware that the new SPI might still be undergoing minor changes. All early adopter feedback is very welcome!*
This release mainly features two new SPI elements, which allow jOOQ users to take even more control of their jOOQ experience. A new rendering SPI called VisitListener has been introduced, allowing for listening to arbitrary types of SQL rendering events and for interacting with jOOQ's SQL renderer in order to perform SQL transformation. An example of such transformation is given here: https://github.com/jOOQ/jOOQ/blob/master/jOOQ-test/src/org/jooq/test/_/testcases/VisitListenerTests.java The above example adds custom "security" predicates to SELECT, UPDATE, DELETE statements, restricting access to parts of data. It even transforms INSERT statements adding a CHECK option to prevent "invalid" data insertion. Such SQL transformation can also be used to implement shared-schema multi-tenancy. More examples will follow in the manual when 3.2.0 is released. The other SPI is called RecordListener and it allows for hooking into a Record's CRUD lifecycle, possibly modifying records prior to INSERTs, UPDATEs, DELETEs, etc. An example use-case is the central generation of IDs (e.g. UUIDs) for all records thus created. The alpha release is available from Maven Central and from SourceForge: https://sourceforge.net/projects/jooq/files/Alphas/ Release notes are available here: https://sourceforge.net/projects/jooq/files/Alphas/RELEASENOTES.txt/download -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
