Bug 376580 - [DB] UUIDs are case sensitive, the ID column in mySQL is not
Summary: [DB] UUIDs are case sensitive, the ID column in mySQL is not
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.db (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-12 05:48 EDT by Markus Surudo CLA
Modified: 2020-12-11 10:36 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Surudo CLA 2012-04-12 05:48:26 EDT
Build Identifier: 

It is possible that two different UUIDs are created which only differ in lower/upper case letters. If we try to save this element in the database we get a duplicate key exception. 

using 

LONGTEXT CHARACTER SET 'latin1' COLLATE 'latin1_bin'

on the ID column makes it case sensitive but no idea how/if the foreign key resolution of UUIDs will work.

This fix is possibly mySQL specific and will not work on other DBs due to syntax.

Reproducible: Always

Steps to Reproduce:
1. Import a big resource (many objects) into CDO
2. Try to save the resource
3. SQL error occurs
Comment 1 Eike Stepper CLA 2012-04-18 06:45:13 EDT
Stefan, what do you think about this?
Comment 2 Eike Stepper CLA 2012-08-14 22:58:06 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 3 Eike Stepper CLA 2013-06-27 04:09:21 EDT
Moving all outstanding enhancements to 4.3
Comment 4 Eike Stepper CLA 2014-08-19 09:29:15 EDT
Moving all open enhancement requests to 4.4
Comment 5 Eike Stepper CLA 2014-08-19 09:38:09 EDT
Moving all open enhancement requests to 4.4
Comment 6 Eike Stepper CLA 2015-07-14 02:22:17 EDT
Moving all open bugzillas to 4.5.
Comment 7 Eike Stepper CLA 2016-07-31 01:05:12 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 8 Eike Stepper CLA 2017-12-28 01:20:30 EST
Moving all open bugs to 4.7
Comment 9 Eike Stepper CLA 2019-11-08 02:08:56 EST
Moving all unresolved issues to version 4.8-
Comment 10 Eike Stepper CLA 2019-12-13 12:50:58 EST
Moving all unresolved issues to version 4.9
Comment 11 Eike Stepper CLA 2020-12-11 10:36:31 EST
Moving to 4.13.