[
https://issues.jboss.org/browse/JBIDE-8606?page=com.atlassian.jira.plugin...
]
Max Rydahl Andersen resolved JBIDE-8606.
----------------------------------------
Resolution: Out of Date
Thank you for reporting this issue but this issue have been resolved as out-of-date since
it has not had any updates for the last 2+ years (730 days).
If you believe this issue is still relevant and important then please reopen the issue or
create a new one mentioning/linking this jira for background information.
Thank you!
Reverse Engineering FK-Detection in parent table
------------------------------------------------
Key: JBIDE-8606
URL:
https://issues.jboss.org/browse/JBIDE-8606
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: hibernate
Affects Versions: LATER
Environment: winxp32 vista64 postgresql8.3
Reporter: Peter Rader
Fix For: 3.3.x
Original Estimate: 5 hours
Remaining Estimate: 5 hours
Postgresql does allow to inherit a table from another table.
But the RevEng does not detect Foregin-keys from parent table.
Example:
CREATE TABLE changed (
created_from_user_id INTEGER NOT NULL,
CONSTRAINT "created_user" FOREIGN KEY ("created_from_user_id")
REFERENCES user("user_id")
)
CREATE TABLE guestbook (
caption TEXT,
) INHERITS (changed)
insert into guestbook (1,'hi')
RevEng will create
public int getCreatedFromUserId()
instead of
public User getCreatedFromUser()
what i expected to become.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira