Hi,
I’m using Spring to persist JPA/Hibernate annotated POJOs. I’m wondering if it would be possible to use LiquiBase at both build time (to generate the DB creation SQL - instead of hbm2ddl) and run-time (to perform data migration).
Is there any way to configure the Maven LiquiBase Plugin to read Spring’s application context at build-time, to process the JPA/Hibernated POJOs, and generate this DB creation SQL?
I’m completely new to LiquiBase. Has anyone done this kinda thing before or have any examples I could take a look at? Does it even make sense to use LiquiBase or is there a better approach?
Thx in advance,
Fraggle.