Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Virtual Metlhods | questions

Here is a class that contains mapping creation code from our tests:

http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/employee/relational/EmployeeProject.java

Take a look at: buildEmployeeDescriptor() in EmployeeProject.java. addressMapping is a good example.

Here is a sample domain class:

http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/models/employee/domain/Employee.java

Take a look at:

public ValueHolderInterface address;

-Tom

On 17/07/2012 9:39 AM, Gaurav Malhotra wrote:

Please point me to the sample code, "how to handle value holders for
1-1/1-many"?

~Gaurav


Back to the top