When we use hibernate in production we specify "validate" as the DDL command, so that if we deploy an app it will check that the database is in the expected state, and if it isn't, then it'll throw an exception and stop the application startup. Then the sysadmin can look into what changes need to be applied.
We'd like to do the same thing with Liquibase, and using the Spring integration seems to be the obvious place to do it, but I can not find any reference to this kind of functionality. Does it exist, and if not, is there a method that would return a flag to say if changes are required?
Thanks