Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Eclipse Plugins Codemanagement Hibernate Synchronizer

Related Tutorials


 
 

Share on Google+Share on Google+

Hibernate Synchronizer

Advertisement
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.

Hibernate Synchronizer

     

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:

  • Value Objects
  • Proxy Interfaces
  • Composite Key Objects
  • Enumeration Objects
  • Component Objects
  • Subclasses
  • DAOs
Other features include:
  • Editor with code assist and outline view
  • Custom template generation
  • New mapping file wizard that queries your database
  • New configuration file wizard
  • Actions for adding mapping references, synchronizing files, and manually activating code generation

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.

How do I install this plugin?

There are two different update sites for this plugin

  • Eclipse 2.1: http://www.binamics.com/hibernatesync/eclipse2.1
  • Eclipse 3M*: http://www.binamics.com/hibernatesync

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.

  • remove all previous version of the plugin (in the eclipse/plugins directory)
  • remove all previous version of the feature (in the eclipse/features directory)
  • remove all files for every workspace located in the {workspace}/.hibernateSynchronizer/snippets directory
  • restart Eclipse

Know click for more information.

http://hibernatesynch.sourceforge.net/

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 28, 2008

Related Tutorials

Discuss: Hibernate Synchronizer  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com