[jbosstools-issues] [JBoss JIRA] (JBIDE-26156) "forein key name ([name]) mapped to different tables!" reading schema to import the entity from db tables.

Matteo Barrese (JIRA) issues at jboss.org
Mon Jul 2 11:08:00 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-26156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Barrese updated JBIDE-26156:
-----------------------------------
    Steps to Reproduce: 
Table A -> Table B with foreign key name name1
Table C -> Table B with foreign key name name1
Import the entity from db tables. 
the hibernate tool, reading the scherma, do error in subject

  was:
Table A -> Table B with foreign key name name1
Table C -> Table B with foreign key name name1

import the entity from db table. reading the scherma the hibernate tool do error 



> "forein key name ([name]) mapped to different tables!" reading schema to import the entity from db tables.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26156
>                 URL: https://issues.jboss.org/browse/JBIDE-26156
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.5.3.Final
>         Environment: Windows 8.1
> Eclipse  version: Oxygen.3a Release (4.7.3a)
> Jboss Tools 4.5.3.Final
> SAP Sql Anywhere v.17.0.8.4103
>            Reporter: Matteo Barrese
>            Priority: Critical
>
> Default name of sql anywhere's foreign key is the name of the destination table.
> If more tables link to same table, can be present di default more foreign key with same name.
> importing the entities from db tables do the error in subject
> Please manage this case.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list