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

Key: IDEADEV-25801
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Stephen Friedrich
Votes: 0
Watchers: 1
Operations

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

Good code is red: @Basic _can_ be combined with @Temporal

Created: 31 Mar 08 00:58   Updated: 11 Apr 08 09:11
Component/s: J2EE.Hibernate
Fix Version/s: Diana 8375, Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 8,256
Fixed in build: 8,287


 Description  « Hide
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."



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.