[
https://issues.jboss.org/browse/JBIDE-8028?page=com.atlassian.jira.plugin...
]
Dmitry Geraskov edited comment on JBIDE-8028 at 4/14/11 9:55 AM:
-----------------------------------------------------------------
This is about Source->Generate Hibernate Annotations for java classes action. The same
should be checked for generated hbm files.
was (Author: dgeraskov):
This is about Source->Generate Hibernate Annotations for java classes action.
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: Dmitry Geraskov
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