The tool will not be aware of the change, so next time you change the DB and regenerate the classes, all the old classes that you renamed will be recreated again. If this DB structure is not going to change, then you can likely generate the classes once, and then rename them (don’t forget to update the hibernate.cfg.xml file) but for the ease of use it is suggested to leave them the way they are (As far as renaming goes).