Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353575

Summary: some supported annotations removed when changing attribute/type mapping
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2011-08-02 09:21:02 EDT
In JPA 2.0 Access support was added to attribute mappings. If you have a mapping with the access annotation and you change the mapping type the Access annotation is removed.
Comment 1 Karen Butzke CLA 2011-08-03 10:04:37 EDT
Access annotation on Entity, Embeddable, and MappedSuperclass on 2.0 projects is also removed when changing the mapping type.

In EclipseLink these annotations should not be removed:
Entity and MappedSuperclass:
@Access
@ReadOnly
@Customizer
@ChangeTracking
@Cache
@ExistenceChecking
@Converter
@TypeConverter
@StructConverter
@ObjectTypeConverter

Embeddable
@Access
@Customizer
@ChangeTracking
@Converter
@TypeConverter
@StructConverter
@ObjectTypeConverter
Comment 2 Karen Butzke CLA 2011-08-04 07:31:44 EDT
checked in to HEAD