db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-7022) I have a table with autonumeric field, this is the primary key, when I try to import with SYSCS_UTIL.SYSCS_IMPORT_TABLE_BULK give error Attempt to modify an identity column 'IDTIPOITEM'.' was thrown while evaluating an expression.
Date Tue, 04 Dec 2018 00:33:00 GMT

    [ https://issues.apache.org/jira/browse/DERBY-7022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708015#comment-16708015
] 

Rick Hillegas commented on DERBY-7022:
--------------------------------------

Try this: Use ALTER TABLE to change the identity column to be DEFAULT BY rather than ALWAYS.
Then bulk-load the table. Then use ALTER TABLE to set the next autoincrement value and change
the identity column back to ALWAYS.

> I have a table with autonumeric field, this is the primary key, when I try to import
with SYSCS_UTIL.SYSCS_IMPORT_TABLE_BULK give error  Attempt to modify an identity column 'IDTIPOITEM'.'
was thrown while evaluating an expression.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-7022
>                 URL: https://issues.apache.org/jira/browse/DERBY-7022
>             Project: Derby
>          Issue Type: Bug
>          Components: Build tools
>    Affects Versions: 10.14.2.0
>            Reporter: Jonathan Alvarado Murillo
>            Priority: Major
>             Fix For: 10.14.2.0
>
>
> Changing the urgency  to Normal. That field is owned by the release manager.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message