Grails support for DB reverse engineering?

This topic contains 2 replies, has 2 voices, and was last updated by  raydawg2000 1 week, 2 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #600278 Reply


    Are there any plans to implement the current DB reverse engineering tools for Grails applications?

    #600296 Reply

    Brian Fernandes

    There are no plans to to generate code for Grails applications. Can you give us an example of the output you would like generated? GORM, GORM for Hibernate?


    #600360 Reply


    Hi Brian,
    Yes GORM. The reverse engineering for Grails is a little simpler because all that is needed are Domain classes and the framework handles all the hibernate mappings. So for example a DB table called Application would only need a single Domain class instead of a Domain, DAO and XML Mapping file. Here is an example with one-to-many and many-to-one relationships

    There used to be a plugin for Grails that had this functionality and uses the hibernate-tools library but it stopped being maintained a while ago and the newer Grail releases are not compatible. I figured since MyEclipse uses the same hibernate-tools to generate Java code that maybe it would be possible to expand on that to generate Grails domain classes?

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Grails support for DB reverse engineering?