Community
Participate
Working Groups
Currently, custom migrations need to be encoded in Groovy. Since Groovy is a new language that has to be learned by developers, it would be better to specify custom migrations in Java. Thereby, Groovy should be replaced by Java.
Custom migrations can now be specified in Java classes. These classes have to inherit from the class CustomMigration which provides methods to perform the migration before or after the metamodel adaptation. Thus, in contrast to Groovy, the specification of the metamodel adaptation is no longer part of the specification of the custom migration. Moreover, the custom migration specification is no longer stored inside the history model, like was done for Groovy migrations. There is also support to create and edit a custom migration.