Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351202 - Exception adding the same Blob data
Summary: Exception adding the same Blob data
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Egidijus Vaisnora CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
: 357184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-05 10:59 EDT by Egidijus Vaisnora CLA
Modified: 2012-09-21 06:51 EDT (History)
1 user (show)

See Also:
stepper: review+


Attachments
patch (8.61 KB, patch)
2011-07-07 06:42 EDT, Egidijus Vaisnora CLA
no flags Details | Diff
Patch v2 (9.87 KB, patch)
2011-07-07 06:54 EDT, Eike Stepper CLA
no flags Details | Diff
Patch v3 (7.50 KB, patch)
2011-07-07 07:21 EDT, Egidijus Vaisnora CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Egidijus Vaisnora CLA 2011-07-05 10:59:28 EDT
Cloned from: 351067: Exception adding the same Blob data
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351067

Adding the same image second time exception is thrown from DB:

"The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'CDO_LOBS_IDX0' defined on 'CDO_LOBS'."
Comment 1 Egidijus Vaisnora CLA 2011-07-07 06:42:41 EDT
Created attachment 199241 [details]
patch

There is added class into internal package but still API tool shows error about API changes. What am I doing wrong?
Comment 2 Eike Stepper CLA 2011-07-07 06:54:59 EDT
Created attachment 199242 [details]
Patch v2
Comment 3 Egidijus Vaisnora CLA 2011-07-07 07:21:41 EDT
Created attachment 199246 [details]
Patch v3

Removd manifest changed. They seems to be already applied
Comment 4 Egidijus Vaisnora CLA 2011-07-08 11:12:16 EDT
Committed revision 8636, 4.0-maintenance branch
Comment 5 Eike Stepper CLA 2011-09-19 01:33:58 EDT
*** Bug 357184 has been marked as a duplicate of this bug. ***
Comment 6 Eike Stepper CLA 2012-09-21 06:51:31 EDT
Closing.