Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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 Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.6 Product Version 3.1.4
  Product Build
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
Attached Files

- Relationships

- Notes
(0002893)
ferg
03-25-08 13:53

jpa/0g2g
 

- Issue History
Date Modified Username Field Change
02-09-08 22:34 sam New Issue
03-25-08 13:53 ferg Note Added: 0002893
03-25-08 13:53 ferg Assigned To  => ferg
03-25-08 13:53 ferg Status new => closed
03-25-08 13:53 ferg Resolution open => fixed
03-25-08 13:53 ferg Fixed in Version  => 3.1.6


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker