[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8606) Reverse Engineering FK-Detection in parent table
Max Rydahl Andersen (JIRA)
jira-events at lists.jboss.org
Wed May 11 17:16:21 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Max Rydahl Andersen updated JBIDE-8606:
---------------------------------------
Fix Version/s: 3.3.x
Component/s: (was: Eclipse Migration)
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list