Translations of this page?:

Spring Integration

LiquiBase can be run in a Spring environment by declaring a liquibase.spring.SpringLiquibase bean.

Example

<bean id="liquibase" class="liquibase.spring.SpringLiquibase">
      <property name="dataSource" ref="myDataSource" />
      <property name="changeLog" value="classpath:db-changelog.xml" />
 
      <!--
      contexts specifies the runtime contexts to use.
      -->
      <property name="contexts" value="test, production" />
 </bean>
 
manual/spring.txt · Last modified: 2008/10/06 20:12 (external edit)