History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-31413
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: peter royal
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

erroneous "More than one attribute configured for method"

Created: 06 Aug 08 02:30   Updated: 16 Oct 08 19:06
Component/s: Code Analysis. Inspection, J2EE.EJB3
Fix Version/s: Diana 8940

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. more than one attribute configured.jpg
(93 kb)
Issue Links:
Duplicate
This issue duplicates:
IDEADEV-31412 Two JPA EJB persistence units in one ... Normal Resolved
 

Build: 8,637
Fixed in build: 8,916


 Description  « Hide
I am getting an erroneous "More than one attribute configured for method" inspection warning.

Code:

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

@MappedSuperclass
public abstract class AbstractEntity {

private Long id;

@Id
@GeneratedValue( strategy = GenerationType.AUTO )
public final Long getId() { return this.id; }

public final void setId( Long id ) { this.id = id; }
}



 All   Comments   Work Log   Change History      Sort Order:
peter royal - 12 Sep 08 23:35
I am still seeing this in 8792.

Anything that can be done to help diagnose?


peter royal - 16 Oct 08 19:06
YAY!!