Grails_数据库逆向工程插件 db-reverse-engineer

阅读更多
   Grails_数据库逆向工程插件 db-reverse-engineer

环境  grails2.2.3 


  BootStrap.groovy需要加入
  repositories {
        mavenRepo "http://repo.grails.org/grails/core"
        mavenRepo "http://repo.grails.org/grails/plugins"
   }
  dependencies {
        compile 'org.grails.plugins:db-reverse-engineer:0.5.1'
    }
  启动工程下载org.grails.plugins:db-reverse-engineer:0.5.1

在工程目录下执行
  grails install-plugin db-reverse-engineer

再执行

grails db-reverse-engineer


Config.groovy
中指定表明

grails.plugin.reveng.includeTables = ['DICT_I18N']


用到其他几个命令

grails refresh-dependencies

grails generate-all

你可能感兴趣的:(Grails_数据库逆向工程插件 db-reverse-engineer)