« Return to Thread: New Topic: liquibase-hibernate integration is not practical

New Topic: liquibase-hibernate integration is not practical

by LiquiBase Community Forum :: Rate this Message:

Reply to Author | View in Thread

A new topic, 'liquibase-hibernate integration is not practical', has been made on a board you are watching.

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

The text of the topic is shown below:

I did a bit of research and finally got it working but even then decided the liquibase-hibernate integration wasn't providing enough value. I'm very hopeful that in the future it will refine some of these issues but for now it's a no go.

Our environment: liquibase, hibernate, oracle, maven

The hibernate annotation to liquibase generation is currently only generating the table DDL without the validation or creating the sequences to go with the tables.
The generation overwrites the file instead of intelligently appending to an exsisting file so it requires an extra step of copy/paste to the real liquibase file
The hibernate/liquibase plugin uses ant. When the ant task configured into maven there's no way to run it independantly of the build phases w/o configuring a profile
Maven profiles are not inherited, so they must be copy pasted into every model module and can't be put into pom-model.
A hibernate.cfg.xml must exist in the model module for the sole purpose of the liquibase-hibernate conversion
a changelog file must exist in the model module for the sole purpose of generating the liquibase xml to copy from.
The tool will preform a diff against the database, not against an exsisting changelog file so a liquibase/hibernate must connect to that database to compare the hibernate annotations against and then only the difference is put into the changelog file.

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.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Liquibase-user mailing list
Liquibase-user@...
https://lists.sourceforge.net/lists/listinfo/liquibase-user

 « Return to Thread: New Topic: liquibase-hibernate integration is not practical