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

Bug 365683

Summary: Typo
Product: z_Archived Reporter: Bob NIcholson <bob>
Component: EDTAssignee: Project Inbox <edt.doc-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: margolis
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Bob NIcholson CLA 2011-12-05 21:07:27 EST
EDT:Tutorial: RUI With DataBase Lesson 3

Near the bottom: "The EDT Java generator uses several annotations such as @Table, @ID, GeneratedValue, and @Column from the Record part to generate the appropriate Java for the SQL operation." 

GeneratedValue should be @GeneratedValue

I think.
Comment 1 Ben Margolis CLA 2011-12-05 21:30:36 EST
You use the @ operator when you are declaring an instance of an annotation type.  

The statement might say, "To generate the Java code that is appropriate for the SQL operation, the EDT Java generator uses annotations that are based on the Table, ID, GeneratedValue, and Column annotation types."

By the way, the word "part" should be removed from EGL doc except for the description of how to extend the generator.  (In that case, the word is in the software.)  For example, Employee is a Record type.
Comment 2 Ben Margolis CLA 2011-12-06 17:09:42 EST
Changed the text at the bottom of this file:

http://wiki.eclipse.org/EDT:Tutorial:_RUI_With_DataBase_Lesson_3

Also, removed references to "part" elsewhere.
Comment 3 Lisa Lasher CLA 2012-01-18 14:38:20 EST
updated to show that this defect was fixed in 0.8.0 I1.