Is there any plugin available for Eclipse or Netbeans or any other IDE which can help me generate the hbm.xml by directly reading the schema from the database.
Writing those XMLs seem to be unnecessary waste of time, and feel it should be automated.