| Summary: | [EclipseLink] Add @ExcludeDefaultMappings annotation support | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | JPA | Assignee: | Neil Hauge <neil.hauge> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | neil.hauge |
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | EclipseLink | ||
|
Description
Karen Butzke
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;
bug 251548 - corresponding xml element |