Is LiquiBase working with Spring's AnnotationSessionFactoryBean


I have looked Liquibase Hibernate Integration documentation and i saw that it uses hibernate.cfg.xml to create changelog. In my project I use Spring’s AnnotationSessionFactoryBean and its “packagesToScan” property to scan annotated entities:

So i don’t have any hibernate.cfg.xml file in which lists scanned entities one by one.

Is there any way using Hibernate integration with AnnotationSessionFactoryBean?

thanks a lot…

(sorry for the slow response)

There probably is, but I would need to look into it a bit more. I’m hoping to get to improving the hibernate support over the next couple months and this is one thing I would like to improve.

If you wanted to look at the code yoruself and see what it takes, it is available at