jooq_generate插件生成代码

pom.xml


    org.springframework.boot
    spring-boot-starter


    org.springframework.boot
    spring-boot-starter-web


    org.springframework.boot
    spring-boot-starter-jooq



    joda-time
    joda-time



    mysql
    mysql-connector-java



    org.projectlombok
    lombok
    provided


    com.google.guava
    guava

自动生成数据库表代码


        ...


	org.jooq
	jooq-codegen-maven
	
	
	  
      generate-sources
      
          generate
      
	  
	

	
    
        mysql
        mysql-connector-java
        5.1.47
    
	

	
    
        com.mysql.jdbc.Driver
        jdbc:mysql://ip:3306/?useUnicode=true&characterEncoding=UTF-8&useSSL=false
        root
        xxx
    
    
      org.jooq.util.JavaGenerator
      
          org.jooq.util.mysql.MySQLDatabase
          maqingbin
          .*
          flyway_schema_history
          updated_at
      
      
          com.qbsea.mysboot2common.jooq.generated
          src/main/java
      
    
	

jooq_generate插件生成代码_第1张图片 jooq-codegen:generate
 

你可能感兴趣的:(jooq_generate插件生成代码)