Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Gregory Shrago
Subsystem
J2EE.Hibernate
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Stephen Friedrich
    3 years ago (31 Mar 2008 01:58)
  • Updated by   root
    2 years ago (17 Jan 2010 20:59)
  • Jira: IDEADEV-25801
    (history, comments)
 
IDEA-43259 Good code is red: @Basic _can_ be combined with @Temporal
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
When setting up an IDEA project for Seam's booking example I found that Idea complains about this code snippet:
   @Basic @Temporal(TemporalType.DATE)
   public Date getCheckinDate() {

The error is
More than one attribute configured for method 'getCheckinDate'

I double checked with the EJB3 spec, see section "9.1.20 Temporal Annotation":
"The Temporal annotation may be used in conjunction with the Basic annotation."


Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments