# JOOQ使用样例 **Repository Path**: ycfrank/jooq-usage ## Basic Information - **Project Name**: JOOQ使用样例 - **Description**: 通过jooq进行dto层的使用,就是通过generator构建出来的pojo逻辑有些繁琐 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-06 - **Last Updated**: 2023-12-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JOOQ使用样例 #### 介绍 通过jooq进行dto层的使用,就是通过generator构建出来的pojo逻辑有些繁琐 1、sql-maven-plugin 通过该插件将sql执行到固定的数据库 ![输入图片说明](https://foruda.gitee.com/images/1701854570735420940/95d854b0_7373679.png "屏幕截图") 2、jooq-codegen-maven 通过该插件将数据库中的表生成对应的pojo ![输入图片说明](https://foruda.gitee.com/images/1701854627470675499/169cac6a_7373679.png "屏幕截图") 3、dto->po 不想公开dto对象,可以在返回时通过mapper进行转换 ![输入图片说明](https://foruda.gitee.com/images/1701854735655502308/eabe0d27_7373679.png "屏幕截图")