Discussion:
[Liquibase-user] New Topic: passing hibernate.properties to Liquibase Maven Plugin for Hibernate Integration
Liquibase Community Forum
2010-12-28 18:12:53 UTC
Permalink
A new topic, 'passing hibernate.properties to Liquibase Maven Plugin for Hibernate Integration', has been made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=865.new#new

The text of the topic is shown below:

Hi.

I want to user Liquibase with hibernate. The hibernate configuration is there in two parts
1 - hibernate.properties which specifies hibernate configuration
2 - hibernate.cfg.xml which specified the hibernate mapping

I think we can give the path to hibernate.cfg.xml by this param
<referenceUrl>hibernate:config/hibernate.cfg.xml</referenceUrl>

But i get exception because hibernate cannot build the confguration without hibernate.properties

Is there any way I can tell the plugin to use hibernate.properties file also for building hibernate configuration?

Thanks In Advance

Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.

Loading...