I also found an alternative I was more attracted to Java DB Migrations because of its simplicity and possibilities to interface to my selected persistence framework: hibernate.
Roughly the steps I am thinking of are:
- Do most of the Object Model to be persisted in Hibernate Annotations
- Fine tune in Hibernate XML files
- Generate the initial DDL using Hibernate
- Fine tune that DDL manually to make it the initial (001) migration
- Continue maintaining DDL in parallel to your hibernate code
- If you ever need to migrate to a different database, use the sql migration code as a base line
Have fun!
No hay comentarios:
Publicar un comentario