Summary: | [EclipseLink] Access support | ||
---|---|---|---|
Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
Component: | General | Assignee: | Karen Butzke <karenfbutzke> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P1 | CC: | neil.hauge |
Version: | 2.1 | Keywords: | plan |
Target Milestone: | 2.3 M1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | JPA2.0 EclipseLink |
Description
Karen Butzke
2008-12-11 11:44:35 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. 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. entered bug 265344 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. I meant 2.2 when I said 2.5 release fixed in HEAD |