Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353575 - some supported annotations removed when changing attribute/type mapping
Summary: some supported annotations removed when changing attribute/type mapping
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 09:21 EDT by Karen Butzke CLA
Modified: 2011-08-04 07:31 EDT (History)
0 users

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-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