grails - How to configure db-reverse-engineer plugin -
i total grails noob trying configure db-reverse-engineer plugin first project. documentation plugin indicates need configure it, don't see supposed edit configuration.
is there configuration file in project need edit? have searched through ./grails-app/conf folder grails.plugin (the prefix plugin's configuration) , found nothing. or google search how configure grails plugins returns void. know lame question, how configure plugin? there ui need use, or there files somewhere edit?
you need configure database in grails-app/conf/datasource.groovy. in particular, you'll need provide jdbc url, database dialect , databases's username , password.
you'll have add db-reverse-engineer configuration grails-app/conf/config.groovy. file exist. append new properties @ end.
finally, run reverse engineer script generate domain classes:
grails db-reverse-engineer
Comments
Post a Comment