# Ant task for Hibernate updates not working?

**URL:** <https://forum.liquibase.org/t/ant-task-for-hibernate-updates-not-working/1772>\
**Category:** General Discussion\
**Created:** [December 21, 2011, 3:05pm UTC](https://forum.liquibase.org/t/ant-task-for-hibernate-updates-not-working/1772 "2011-12-21T15:05:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeinor](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jeinor](https://forum.liquibase.org/u/jeinor)\
**Post date:** [December 21, 2011, 3:05pm UTC](https://forum.liquibase.org/t/ant-task-for-hibernate-updates-not-working/1772/1 "2011-12-21T15:05:00Z")

</div>

Hi,

I just recently started using liquibase, and would like to integrate it with Hibernate. I read the manual, and thought the easiest way would be to use an Ant task for generating a changelog, and then manually copy the changesets from the generated file to a commited changelog.

However, I cant seem to get the Ant tas to run. It complains there is no property called baseUrl, and when I tried specifying a referenceUrl instead it says it cant find a JDBC driver for the url type hibernate:pathto.cfg.xml.

How should this work? I thought liquibase should just compare the schema found in the database with the schema found in the cfg.xml-file without the need for a JDBC driver for it?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [December 21, 2011, 3:05pm UTC](https://forum.liquibase.org/t/ant-task-for-hibernate-updates-not-working/1772/2 "2011-12-21T15:05:00Z")

</div>

What version of liquibase are you using? There were changes to the parameters between 1.x and 2.0. In 2.0, the parameters are referenceUrl etc instead of baseUrl etc.

Nathan

---

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [December 21, 2011, 3:05pm UTC](https://forum.liquibase.org/t/ant-task-for-hibernate-updates-not-working/1772/3 "2011-12-21T15:05:00Z")

</div>

I’m using the latest version. I tried replacing baseUrl with referenceUrl, but if I recall correctly I was asked to specify a JDBC driver for the referenceUrl (which points to the Hibernate file).

Thanks for the reply!
