[
https://issues.apache.org/jira/browse/DERBY-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299237#comment-15299237
]
Rick Hillegas commented on DERBY-6889:
--------------------------------------
The error indicates that you are trying to insert duplicate values into a
primary key column. Your test is not even taking advantage of the generation
clause: your test is setting the primary key column by hand. Every time you
re-run your test, you are inserting the same hand-set value into the primary
key column. That is a duplicate value. That's what's causing your error.
> batch insert not updating generated id
> --------------------------------------
>
> Key: DERBY-6889
> URL: https://issues.apache.org/jira/browse/DERBY-6889
> Project: Derby
> Issue Type: Bug
> Reporter: hooli jooli
>
> More details:
> http://stackoverflow.com/questions/37410841/the-statement-was-aborted-because-it-would-have-caused-a-duplicate-key/37415105?noredirect=1#comment62340116_37415105
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)