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:
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 database\user\password to match against.
Is there any way to execute liquibase’s diffDatabaseToChangeLog task in a similar way?