You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2018/12/04 00:33:00 UTC

[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.

    [ 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)