Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26156

Error "foreign key name ([name]) mapped to different tables!" reading schema to import the entities from db tables.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 4.30.x
    • 4.5.3.Final
    • hibernate
    • None
    • Hide

      TableB -> TableA with foreign key name TableA
      TableC -> TableA with foreign key name TableA
      Import the entities from db tables.
      the hibernate tool, reading the scherma, do error in subject

      Show
      TableB -> TableA with foreign key name TableA TableC -> TableA with foreign key name TableA Import the entities from db tables. the hibernate tool, reading the scherma, do error in subject
    • -

      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.

            kaers@redhat.com Koen Aers
            matt30b Matteo Barrese (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: