[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8028) Add JPA annotations: @Id & @GeneratedValue should not be generated for "static" & "final"
Dmitry Geraskov (JIRA)
jira-events at lists.jboss.org
Thu Apr 14 09:56:33 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595594#comment-12595594 ]
Dmitry Geraskov commented on JBIDE-8028:
----------------------------------------
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
More information about the jbosstools-issues
mailing list