Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)


Annotation Type XmlInverseReference

public @interface XmlInverseReference

This annotation is used to map a back-pointer. When configuring an XmlInverseReference, the "mappedBy" attribute must be set to the field on the reference class that maps to this field. For example:

 public class Employee {
    public List<PhoneNumber> phoneNumbers;

 public class PhoneNumber {
    public Employee owningEmployee;

Required Element Summary
 java.lang.String mappedBy


Element Detail


public abstract java.lang.String mappedBy

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.