[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-8028) Add JPA annotations: @Id & @GeneratedValue should not be generated for "static" & "final"

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Thu May 5 09:36:18 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-8028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov resolved JBIDE-8028.
------------------------------------

    Release Notes Text: Now static or final fields are not annotated/maped at all.
         Fix Version/s: 3.3.0.M1
                            (was: 3.3.x)
            Resolution: Done


> 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.0.M1
>
>
> 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