Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6219

Provide additional support for importing data via the optional foreignViews tool

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SQL
    • Urgency:
      Normal

      Description

      Once you have created views on a foreign database using the optional foreignViews tool (see DERBY-6022), you may need to import the data into your local schema. You confront various problems, including:

      1) The need to order your inserts by foreign key dependencies.

      2) The need to restart identity columns after the inserts.

      This issue is a place to track issues like this and brainstorm solutions.

        Attachments

        1. 6219.sql
          5 kB
          Richard N. Hillegas
        2. derby-6219-01-aa-orderByForeignKeys.diff
          15 kB
          Richard N. Hillegas

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rhillegas Richard N. Hillegas
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: