> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/29.-working-with-sql-databases/29.5-using-jooq/29.5.4-customizing-jooq.md).

# 29.5.4 自定义jOOQ

定义自己的`@Bean`，在jOOQ`Configuration`创建时使用，可以实现更高级的定制。你可以为以下jOOQ类型定义beans：

* `ConnectionProvider`
* `TransactionProvider`
* `RecordMapperProvider`
* `RecordListenerProvider`
* `ExecuteListenerProvider`
* `VisitListenerProvider`

如果想全面控制jOOQ配置，你甚至可以创建自己的`org.jooq.Configuration` `@Bean`。
