Hibernate Synchronizer is a free Eclipse plugin code generation tool to be used with the
Hibernate persistence framework. The plugin will automatically
generate java code when your hibernate mapping files are modified. Objects are created with generated
code in an abstract base class and a user-modifiable extension class so user code does not get deleted
when the generation is performed.
The automaticallly generated objects include:
When your Hibernate mapping files are changed, the plugin will re-write the code in your business objects. Alternatively, you can use any editor of your choosing by manually launching the synchronization process if that is your prefrence.
Your custom code will not be deleted when the Java objects are regenerated because the structure for all objects are generated as abstract base classes (where the generated code is) and empty extension classes (where you put your code). When the synchronization process occurs, only the base classes will be modified.
There are 2 different update sites for this plugin
If you are upgrading from a release prior to 2.2.0...
Please follow the instructions below. Your plugin will most likely not work correctly without performing these steps if you are upgrading from a previous version.