Bug 258487 - [EclipseLink] Access support
Summary: [EclipseLink] Access support
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: General (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P1 enhancement (vote)
Target Milestone: 2.3 M1   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard: JPA2.0 EclipseLink
Keywords: plan
Depends on:
Blocks:
 
Reported: 2008-12-11 11:44 EST by Karen Butzke CLA
Modified: 2010-01-21 12:55 EST (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 2008-12-11 11:44:35 EST
Support mixed access using the Access annotation and the Transient annotation

see sections 2.3.1 and 2.3.2 of the JPA 2.0 spec for information on supporting access type.
Comment 1 Karen Butzke CLA 2009-02-02 11:29:12 EST
This has been partially completed in 2.2M5.  the java support is completed, we read the Access annotation on both types and properties and handle displaying the appropriate fields/properties in the JPA structure view.  We do not support changing the access type for a field/property, the user would have to do this manually by specifying @Access() on the particular field or property.  ORM support includes access on the type mappings.

In M6 we need to add support for setting the access type on orm.xml attribute mappings.
Comment 2 Karen Butzke CLA 2009-02-18 12:27:16 EST
We now have support for access type in java and in xml.  The one remaining issue is that in java we have no way to change the access type on an attribute mapping.  So, if you have a mapping on a field with field access specified on the entity and you want to move that mapping to the property, you will have to do it manually.  Move the mapping annotation to the property and add the Transient annotation to the field.  We need a way to do this using our UI. I will open another bug for that issue.
Comment 3 Karen Butzke CLA 2009-02-18 12:32:11 EST
entered bug 265344
Comment 4 Karen Butzke CLA 2009-06-17 15:50:42 EDT
I am retargeting this bug to 3.0M1.  The only thing that ended up in the 2.5 release was attribute mapping access support for EclipseLink 1.1 orm mappings.  In the 3.0 M1 timeframe we will support Access on jpa 2.0 entities and mappings as well in java and the 2.0 orm.xml.  bug 265344 will still remain for more fully supporting this in the UI.
Comment 5 Karen Butzke CLA 2009-06-17 15:51:33 EDT
I meant 2.2 when I said 2.5 release
Comment 6 Karen Butzke CLA 2009-06-17 18:07:01 EDT
fixed in HEAD