Liquibase Community Forum
2010-12-09 23:07:17 UTC
A new topic, 'Specifying database schema when instantiating Liquibase with Spring', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=827.new#new
The text of the topic is shown below:
Hi, we're using the following to start Liquibase from Spring:
Code:
<bean id="liquibase" class="liquibase.spring.SpringLiquibase" depends-on="liquibaseInstallLog">
<property name="dataSource" ref="dataSource" />
<property name="changeLog" value="classpath:com/hannonhill/cascade/model/database/updater/updates/master.xml" />
</bean>
The problem we're running into is that in some cases our application will run in a different database schema than the "default" one (i.e. the one with the same name as the datasource's connecting username). I can't figure out a way to pass a schema name to Liquibase via Spring.
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=827.new#new
The text of the topic is shown below:
Hi, we're using the following to start Liquibase from Spring:
Code:
<bean id="liquibase" class="liquibase.spring.SpringLiquibase" depends-on="liquibaseInstallLog">
<property name="dataSource" ref="dataSource" />
<property name="changeLog" value="classpath:com/hannonhill/cascade/model/database/updater/updates/master.xml" />
</bean>
The problem we're running into is that in some cases our application will run in a different database schema than the "default" one (i.e. the one with the same name as the datasource's connecting username). I can't figure out a way to pass a schema name to Liquibase via Spring.
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.