For the past few years, I have been a Symfony developer, and one of the nicest things is the fact that I don't need to write / maintain objects manually.
Through Doctrine (integrated ORM), I can extract table and relationship metadata through
php app/console doctrine:mapping:import SomeBundle yaml
And then I can generate ORM entity classes
php app/console generate:doctrine:entities SomeBundle
And I'm done.
Need to migrate? No problems. Use this command to create a carry:
doctrine:migrations:diff
And to go to it, follow these steps:
doctrine:migrations:migrate
For Grails, it seems that there is no direct way unless I go and load the Hibernate tools and a tool like Liquibase.
, , , , , , Grails 3 (db-reverse-engineer), , , ( ).
? , , Grails, ?