Sometimes old hbm.xml file is shown in Hibernate editor after class modification and hbm.xml regenerating (even after close all, and refresh).
I don't know if it's Eclipse problem or some Hibernate Tools problem but I've noticed that several times. After restart content is ok. It's question of editor content refresh, hbm.xml generation is ok and file system has proper file content.
Steps:
1. Create some POJOs
2. Create hbml.xml mapping file
3. Open hbm.xml
4. Update created POJOs
5. Delete hbml.mxl files
6. Generate hbm.xml again
7. Open generated hbm.xml