>>>>> Christian Schneider <[email protected]>:

> you do not have to build your own layer to use
> liquibase. Pax-jdbc-config has a preHook that can help with this.

> See
> https://github.com/cschneider/Karaf-Tutorial/blob/master/liquibase/service/src/main/java/net/lr/tutorial/db/service/Migrator.java
> and
> https://github.com/cschneider/Karaf-Tutorial/blob/master/liquibase/org.ops4j.datasource-person.cfg#L4


> The preHook attribute allows to select a PreHook service by name.
> This service is called before the DataSource is published.

Hm... interesting.  I didn't know about pax-jdbc-config.  Thanks for
sharing.

But I don't think the Migrator will be sufficient to handle all that I
do with liquibase.  Where does Migrator load the changesets file from?

Reply via email to