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

Bug 345638

Summary: Record has basicRecord and SQLRecord when using @SQLRecord annotation
Product: z_Archived Reporter: Justin Spadea <jspadea>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Justin Spadea CLA 2011-05-12 14:04:58 EDT
record mySQLRec {@SQLRecord}
	i int;
end

The mysqlrec.eglxml contains:
	<annotations ID="2" eClass="egl:egl.core.basicrecord" />
	<annotations ID="3" eClass="egl:egl.io.sql.sqlrecord" fieldsMatchColumns="false" />


Change it to:
record mySQLRec type SQLRecord
	i int;
end

The mysqlrec.eglxml contains just:
<annotations ID="2" eClass="egl:egl.io.sql.sqlrecord" fieldsMatchColumns="false" />

The second one, with just the one annotation, is what I expect.
Comment 1 Paul Harmon CLA 2011-05-20 14:17:23 EDT
I have fixed this with a change to PartSubtypeAndAnnotationCollector
Comment 2 Justin Spadea CLA 2011-05-23 10:28:34 EDT
Verified in CVS from 5/23