java - Cannot import EclipseLink MOXy -
i downloaded latest eclipselink (2.4) , put eclipselink.jar in folder. however, not see @xmlinversereference annotation anywhere , cannot import org.eclipse.persistence.oxm.*;
what doing wrong? using netbeans 7.2.1.
alternatively, might alternate solution bidirectional relationships jaxb annotations? have parent , child class, child has reference parent because of jpa foreign key. unmarshal, reference gone.
update
i created web application
using netbeans 7.3 , needed include eclipselink right click libraries
icon in project
panel , choose add jar/folder...
, subsequently point @ eclipselink.jar
in eclipselink install.
the import @xmlinversereference
following:
import org.eclipse.persistence.oxm.annotations.xmlinversereference;
for more information
Comments
Post a Comment