Compare two hibernate mapping files

孤人 提交于 2020-01-06 08:22:05

问题


I would like liquibase to compare two hibernate mappings instead of a database as source and a hibernate mapping as reference:

liquibase --changeLogFile=c:/tmp/changelog.xml --url=hibernate:classic:c:/tmp/a.xml --referenceUrl=hibernate:classic:c:/tmp/b.xml diffChangeLog

That does not seem to work as I am getting an exception:

Liquibase diffChangeLog Failed: org.hibernate.HibernateException: /tmp/a.xml not found

Is that supposed to work? The idea is to compare two versions (svn revisions) of the same hibernate mapping file and generate a liquibase script.

来源:https://stackoverflow.com/questions/22149395/compare-two-hibernate-mapping-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!