Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369610

Summary: [DB] 'size' can not be used as name of column on Oracle
Product: [Modeling] EMF Reporter: Ales Dolecek <ales_d>
Component: cdo.dbAssignee: Stefan Winkler <sw2312+bugs>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: sraul.martins, stepper
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ales Dolecek CLA 2012-01-24 19:42:26 EST
Build Identifier: 4.0.1.v20110818-0735

I'm trying to use OracleSQLAdapter from bug 270428, but run into problem with 

org.eclipse.emf.cdo.server.internal.db.CDODBSchema#LOB_SIZE

since the name of the field is 'size' which is illegal on Oracle. Adding 'SIZE' into list of strings returned by getReserwedWords() does not help since this name is hard coded.

I have changed it to 'lob_size' which is fine.

Reproducible: Always

Steps to Reproduce:
Try to create schema in Oracle.
Comment 1 Erdal Karaca CLA 2012-01-25 02:22:18 EST
duplicate of bug 344232
Comment 2 Eike Stepper CLA 2012-08-14 22:52:26 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 2012-11-02 01:06:19 EDT
Bug 344232 renames the column to "lsize".

*** This bug has been marked as a duplicate of bug 344232 ***