Add JPA annotations: @Id & @GeneratedValue should not be generated for
"static" & "final"
-----------------------------------------------------------------------------------------
Key: JBIDE-8028
URL:
https://issues.jboss.org/browse/JBIDE-8028
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.2.0.Beta2
Reporter: Vitali Yemialyanchyk
Assignee: Vitali Yemialyanchyk
Fix For: 3.3.x
this is test example:
package test;
import java.io.Serializable;
import javax.persistence.*;
/**
* Entity implementation class for Entity: BigTest
*
*/
@Entity
public class BigTest implements Serializable {
private static final long serialVersionUID = 1L;
public BigTest() {
super();
}
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira