Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345638 - Record has basicRecord and SQLRecord when using @SQLRecord annotation
Summary: Record has basicRecord and SQLRecord when using @SQLRecord annotation
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 14:04 EDT by Justin Spadea CLA
Modified: 2017-02-23 14:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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