| Summary: | @ManyToOne, etc. should have egl compiling error in EDT version 0.7 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Wu <wxwu> | ||||
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | jspadea, jvincens, svihovec | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Wu
Created attachment 206314 [details]
Java error for @ManyToOne
Those unsupported annotations are simply ignored and not causing the problem. I don't think we need to add restrictive validation unless they do cause a problem. If you delete the annotation you still get the same compile error. Paul removed the associations from the language so ManyToOne will be an error. I fixed generation so complex types like CUSTOMER will not create a generation compile error. Changed: org.eclipse.edt.gen.java.templates.eglx.persistence/src/org/eclipse/edt/gen/java/templates/eglx/persistence/sql/SqlAddStatementTemplate.java org.eclipse.edt.gen.java.templates.eglx.persistence/src/org/eclipse/edt/gen/java/templates/eglx/persistence/sql/SqlReplaceStatementTemplate.java org.eclipse.edt.gen.java.templates.eglx.persistence/src/org/eclipse/edt/gen/java/templates/eglx/persistence/sql/SqlOpenStatementTemplate.java org.eclipse.edt.gen.java.templates.eglx.persistence/src/org/eclipse/edt/gen/java/templates/eglx/persistence/sql/SqlActionStatementTemplate.java org.eclipse.edt.gen.java.templates.eglx.persistence/src/org/eclipse/edt/gen/java/templates/eglx/persistence/sql/SqlGetByKeyStatementTemplate.java org.eclipse.edt.runtime.java/src/org/eclipse/edt/javart/util/DateTimeUtil.java org.eclipse.edt.mof.eglx.persistence.sql/src/org/eclipse/edt/mof/eglx/persistence/sql/utils/SQL.java Verified in build 20111110 |