A new topic, 'Mapping Files Not Specified in hibernate.cfg.xml', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=213.new#newThe text of the topic is shown below:
I am trying to migrate my current Hibernate->DB diff approach from using hbm2ddl to using Liquibase's diff function.
Currently, my ant build file looks like this:
Code:
<hibernatetool destdir="${builddir}">
<classpath path="${shareslib}"/>
<configuration configurationfile="${basedir}/hibernate.${config}.cfg.xml">
<fileset dir="${shares-hbm.dir}">
<include name="**/*.hbm.xml" />
</fileset>
</configuration>
<hbm2ddl
export="false"
update="${doUpdate}"
drop="${doDrop}"
outputfilename="alter-schema.sql"
format="true" />
</hibernatetool>
You'll notice that I am not specifying my mapping files via my hibernate configuration, rather I'm specifying a fileset for hbm2dll to process. We do not currently use a hibernate configuration file in our application as we use spring to wildcard-search for our hbms. The only reason why I have a hibernate configuration specified in this ant task is so I can specify the databaseuserpassword to match against.
Is there any way to execute liquibase's diffDatabaseToChangeLog task in a similar way?
Thanks!
Unsubscribe to new topics from this board by clicking here:
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0Regards,
The LiquiBase Community Forum Team.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user