Changing class name in hibernate.reveng.xml is not updating the dependencies on other entities.

Description

Hello,

I am using the Maven project of Hibernate tools to reverse engineer a Database. I have some table for which I would the class name to be different from the table name. So I added an entry to hibrnate.reveng.xml to change the class name.
<table schema="informix" name="u_test1" class="xxx.xxx.Test1"></table>.
The generation now fails with below error:
hbm2java failed: Association xxx.xxx.Test2.UTest1s references unmapped class: xxx.xxx.UTest1

If I am asking the entity name to be different I am assuming it will also change the references to use the new name. Please let me know if I am missing some thing.

https://github.com/hibernate/hibernate-tools

Thanks

Assignee

Koen Aers

Reporter

Srinivasa Kakarala

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

Yes, please

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Blocker
Configure