export.execute(true, true, false, false);
Database hibernateDatabase = new HibernateSpringDatabase();
hibernateDatabase.setDefaultSchemaName("PUBLIC");
hibernateDatabase.setDefaultCatalogName("TESTDB");
hibernateDatabase.setConnection(new JdbcConnection(new HibernateConnection("hibernate:spring:" + PACKAGES + "?dialect="
+ HSQLDialect.class.getName()
+ "&hibernate.enhanced_id=" + (enhancedId ? "true" : "false"))));
Liquibase liquibase = new Liquibase((String) null, new ClassLoaderResourceAccessor(), database);
DiffResult diffResult = liquibase.diff(hibernateDatabase, database, compareControl);