Joined: Mon Aug 18, 2008 10:54 am Posts: 11 Location: Devon, UK
|
I am using a custom reverse engineering strategy with Hibernate Tools, I have extended org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy and have been happily generating my classes from my Postgres database schema for sometime now.
However I now wish to add Hibernate Envers into the mix. Envers requires that I add @Audited annotations to my Classes, as my classes are generates by Hibernate Tools as part of my Maven Build, I would like to be able to add these annotations from my extension of DelegatingReverseEngineeringStrategy.
Can someone tell me how I programatically specify these annotations in my extended DelegatingReverseEngineeringStrategy, so that Hibernate Tools will add them to the classes it generates?
Thanks Adam.
_________________ Adam Retter
|
|