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

Bug 362548

Summary: JavaGen generate wrong code for "replace" sql statement
Product: z_Archived Reporter: Yu Hao <yuhaodl>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jvincens, yuhaodl, zhuzhi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yu Hao CLA 2011-11-01 04:15:05 EDT
Build Identifier: 201110302101

For sql statement "replace expense to ds" in EDT, the java code which generated by JavaGen is:

String stmtStr = "UPDATE budget.expense SET category = ?, amount = ? WHERE ";

The primary key was missed behind WHERE

Reproducible: Always
Comment 1 Joseph Vincens CLA 2011-11-01 10:48:16 EDT
fixed
Comment 2 Yu Hao CLA 2011-11-14 00:49:26 EST
Verified in 201111130901