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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -