This site is maintained for archival purposes only. Eclipse projects have transitioned to GitHub and Eclipse GitLab. Use the Projects search tool to locate your project and access its latest code and issue tracker.
Bug 224704 - Add all indirection policies and types to the EclipseLink-ORM.XML Schema
Summary: Add all indirection policies and types to the EclipseLink-ORM.XML Schema
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 325781
  Show dependency tree
 
Reported: 2008-03-28 14:36 EDT by Chris Delahunt CLA
Modified: 2022-06-09 10:05 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Delahunt CLA 2008-03-28 14:36:07 EDT
EclipseLink supports basicIndirection which requires objects use a ValueHolderInterface attribute type which needs to be supported in orm.xml.
Comment 1 Doug Clarke CLA 2008-03-31 09:26:07 EDT
The eclipselink-orm.xml must allow developers the ability to select our various indirection policies. When using annotations EclispeLink will default based on the type used in the class when a relationship is specified as LAZY.

This does mean that we should support the direct usage of ValueHolderInterface in a domain model with annotations but its usage should be quite rare and definitely a lower priority.

As for the XML we should have support for defining the indirection policy in all relationship mappings.

	<indirection-policy>Basic</indirection-policy>

This will allow a enum set of values as well as an option for a user to provide a fully qualified class name where the class implements IndirectionPolicy.

Comment 2 Doug Clarke CLA 2008-04-15 15:49:29 EDT
For models where ValueHolderInterface is used we should address processing to ensure it works with the weaver.

	@ManyToOne(fetch=FetchType.LAZY, targetEntity=Employee.class)
	private ValueHolderInterface manager;

We will defer support for proxy-indirection from the 1.0 release
Comment 3 Peter Krogh CLA 2009-04-03 16:02:29 EDT
These JPA enhancements were accidentally assigned to 1.1.1.
Comment 4 Doug Clarke CLA 2009-11-27 11:00:14 EST
Moving to 2.1 where our goal is to have the eclipselink-orm.xsd fully support all native features currently available in the deployment XML XSD
Comment 5 Guy Pelletier CLA 2009-12-08 09:07:55 EST
Updating priority due to revised bug categorization process.  See the following
page for details:

http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines#Priority_and_Target_Milestone 

If you feel the updated priority is incorrect, please send an email to
eclipselink-users@eclipse.org.
Comment 6 Eclipse Webmaster CLA 2022-06-09 10:05:53 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink