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

Matt B (JIRA) issues at jboss.org
Tue Jul 24 09:56:00 EDT 2018


    [ https://issues.jboss.org/browse/JBIDE-26156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13609844#comment-13609844 ] 

Matt B commented on JBIDE-26156:
--------------------------------

It is not reproducible on H2 because this database doesn't permit constraint with existing name, the constraint name is unique.
Others database allow same costraint name for more tables.

> Error "foreign key name ([name]) mapped to different tables!" reading schema to import the entities 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
> Hibernate 5.2.17
>            Reporter: Matt B
>            Assignee: Koen Aers
>            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