Srinivasa Kakarala (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5f076e0...
) *created* an issue
Hibernate Tools (
https://hibernate.atlassian.net/browse/HBX?atlOrigin=eyJpIjoiMmI3Y2Y5MmM4...
) / Bug (
https://hibernate.atlassian.net/browse/HBX-2053?atlOrigin=eyJpIjoiMmI3Y2Y...
) HBX-2053 (
https://hibernate.atlassian.net/browse/HBX-2053?atlOrigin=eyJpIjoiMmI3Y2Y...
) Changing class name in hibernate.reveng.xml is not updating the dependencies on other
entities. (
https://hibernate.atlassian.net/browse/HBX-2053?atlOrigin=eyJpIjoiMmI3Y2Y...
)
Issue Type: Bug Assignee: Koen Aers (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hbm2java, reverse-engineer Created: 09/Jul/2020 12:36 PM Environment:
https://github.com/hibernate/hibernate-tools Priority: Blocker Reporter: Srinivasa
Kakarala (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5f076e0...
)
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
(
https://hibernate.atlassian.net/browse/HBX-2053#add-comment?atlOrigin=eyJ...
) Add Comment (
https://hibernate.atlassian.net/browse/HBX-2053#add-comment?atlOrigin=eyJ...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100133- sha1:bf400b0 )