-
1. Re: ant task requires HibernateToolTask
adamw Jan 11, 2012 9:46 AM (in response to claudio4j)Hmm so the normal ant task also doesn't work (HibernateToolTask)? That's in fact more of a jboss tools question, where is a version compatible with hib4. Maybe you can try asking on their forum?
You can always try hbm2ddl.auto=update .
Adam
-
2. Re: ant task requires HibernateToolTask
dvankeer_ Jan 19, 2012 5:21 AM (in response to adamw)The normal HIbernateToolTask does not exists anymore in the hibernate 4.x distribution. And it seems that the new jboss tools currently don't support envers in anyway. You can generate everything except for envers related audit tables, etc. They don't seems to have any timeline available when envers will be supported as far as i know.
See: https://community.jboss.org/message/590841#590841
The only way i found is to downgrade dependencies to hibernate 3, then generate everything based on hibernate 3 and it's tools and then upgrade back to hibernate 4. Which is annoying if you have any custom types, since the method signatures got altered there ;-).
So if you use envers and want to change your database in the near future, my only advice is do not upgrade to hibernate 4 yet. Atleast until tool support is fixed, it saves you a lot of frustration.
-
3. Re: ant task requires HibernateToolTask
adamw Jan 31, 2012 3:11 PM (in response to dvankeer_)Sorry to hear that.
My only suggestion so far is to try to fix this yourself and contribute
Adam