The hibernate classic URL allows you to either reference your hibernate config XML file or specify a class name that implements liquibase/ext/hibernate/customfactory/CustomClassicConfigurationFactory
I take it you mean you are running a diffChangeLog like the below example right?
Run *liquibase --changeLogFile=changelog.xml --url=jdbc:yourdatabase --referenceUrl=hibernate:classic:path/to/hibernate.cfg.xml diffChangeLog*
However, instead of using hibernate.cfg.xml you want to use a Java configuration? Could you elaborate? Is the Java configuration an xml based file?
Sorry, I am not a Java developer but, I am trying to get more details out for those of us that know Liquibase better than Java
Also, asking the maintainer may get you more traction, since the maintainer will be watching their extension probably closer than the forum or Discord:
It would be possible to move it all into cfg.xml files, and maybe that’s what I will have to do, but it would be great if we could just continue to specify the properties in Java as I’ve just described.
it would be nice to continue to use hibernate to generate the schemas because we know they will be correct. it seems like doing the changes directly in liquibase could create a migration that does not exactly match the hibernate version.
[ 1:00 PM ]
that is why I was thinking we could just update the DB locally, then generate the diff between that and the existing liquibase schema