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

Altering the Identity columns rules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.11.1.1, 10.12.1.1
    • None
    • Tools
    • None
    • CENTOS
    • Normal

    Description

      We do export of from one derby database to another. Our database defined identity type as ''GENERATED ALWAYS" Due to which the import does not consider the identity column value from the export file.

      Our requirement is to import those identity column values as well.
      As per understanding one of the option in derby is to create table with identity type as "GENERATED BY DEFAULT" . However need to understand if there is alternative in derby where in we can modify the identity type before import to ''GENERATED by DEFAULT" and then after import is successfully change it back to "GENERATED ALWAYS".

      Appreciate if any one can guide on same.

      Attachments

        Activity

          People

            Unassigned Unassigned
            AnjanaPrakash Anjana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: