|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 2419 | minor | always | 02-09-08 22:34 | 03-25-08 13:53 | |
|
|
|||||
| Reporter: | sam | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 3.1.4 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 3.1.6 | ||
|
|
|||||
| 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} ^ |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||