Bug 81957

Summary: AST error while parsing annotation
Product: [Eclipse Project] JDT Reporter: Emmanuel Bernard <emmanuel>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Emmanuel Bernard CLA 2004-12-28 03:41:33 EST
In 3.1M4,
The parameter order of an annotation is significant in your actual parser
Ex
@Column(name="myColumn", unique=true) works
@Column(unique=true, name="myColumn") doesn't
Where Column is defined by
public @interface Column {
    String name() default="";
    boolean unique() default false;
}

See http://forum.hibernate.org/viewtopic.php?t=937293#2225851 for some explanations
Comment 1 Olivier Thomann CLA 2005-01-04 10:52:08 EST
Could not reproduce with latest.
Could it be a duplicate of bug 81825?
Comment 2 Olivier Thomann CLA 2005-01-04 17:35:01 EST
Today's build (0105-1600) can compile the HEAD contents of project Hibernate3
from the CVS server.
Close as duplicate of bug 81825.
Please inform people on the Hibernate's forum that this issue is fixed. Thanks
for reporting the problem.

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