The file name.hbm.xml exists and referred correctly.
Provide a package with FQN "name".
Refactor / Rename or Refactor / Move "name" to "nameRenamed" or "cont.name".
Result: reference to file is changed to "nameRenamed.hbm.xml" and "cont.name.hbm.xml" correspondingly.
That's error, file name.hbm.xml was not touched with refactoring. Do not process mapping/resource entries this way.
Description
Provide hibernate configuration file with a mapping/resource entry:
The file name.hbm.xml exists and referred correctly.
Provide a package with FQN "name".
Refactor / Rename or Refactor / Move "name" to "nameRenamed" or "cont.name".
Result: reference to file is changed to "nameRenamed.hbm.xml" and "cont.name.hbm.xml" correspondingly.
That's error, file name.hbm.xml was not touched with refactoring. Do not process mapping/resource entries this way.