Anonymous | Login | Signup for a new account | 12-17-2024 08:36 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002419 | [Resin] | minor | always | 02-09-08 22:34 | 03-25-08 13:53 | ||||
Reporter | sam | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.4 | ||||||
Summary | 0002419: JPA duplicate column name does not produce error message | ||||||||
Description |
If a mistake is made and two JPA columns have the same name there are compile errors but no helpful error message. @Entity @Table(name="foo") public class FooEntity { @Id @Column(name = "id") private String id; @Basic @Column(name = "id") private String otherId; [01:30:09.245] {resin-0} com.caucho.amber.AmberRuntimeException: com.caucho.java.JavaCompileException:/webapps/hogwarts/WEB-INF/work/pre-enhance/example/Foo__ResinExt.java:87: __amber_id is already defined in example.__ResinExt [01:30:09.245] {resin-0} public java.lang.String __amber_id; [01:30:09.245] {resin-0} ^ |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |