Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362205 - [EclipseLink] Add @ExcludeDefaultMappings annotation support
Summary: [EclipseLink] Add @ExcludeDefaultMappings annotation support
Status: NEW
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Neil Hauge CLA
QA Contact:
URL:
Whiteboard: EclipseLink
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-27 10:45 EDT by Karen Butzke CLA
Modified: 2013-09-11 10:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karen Butzke CLA 2011-10-27 10:45:23 EDT
@ExcludeDefaultMappings support was added in EclipseLink 2.2
Comment 1 Karen Butzke CLA 2012-03-19 14:51:32 EDT
Not supporting this means we have incorrect validation errors.

@Entity
@ExcludeDefaultMappings
public class Employee {
    @Id
    private int id;	
    private String name;//validation error that column "name" cannot be resolved
}


Also need to be careful supporting this because EclipseLink has some defaulting rules that we don't use. This mapping would be a Basic mapping and would not be excluded with ExcludeDefaultMappings.
@Lob
private String name;
Comment 2 Karen Butzke CLA 2012-03-22 09:47:38 EDT
bug 251548 - corresponding xml element