[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[eclipselink-users] JPA and MOXy
|
- From: Roger <roger.varley@xxxxxxxxxxxxxx>
- Date: Thu, 24 Sep 2009 20:45:30 +0300
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; bh=F41m3wMQKwAu14nHVbLA7LiOozRyLHeXQvx7p5Y9fR4=; b=ZN9MdmbsPINnLZsaCsBl9mv25djAL9bzLChXoyV9xBkyAlzn45iCvf+HX1HY/QYDEs 1GI7UHUWOtv+jOorcKu5EoPi5bgfFn02tK0KxfW0OcTbk81F+Cv1U86h00jBmWzkuDrQ RAgBgeKPvGKeBOEEnBioK+LQCBsqJZU7YzwJE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; b=pj9eYv18DsyY/igR+OY5xoEraEEfx3vrUCUhFCzzMWCbGvpZh9RcbAGH5belu9uJcj 7zmOEpVpjZW/oRlsmuZX1lPj6rsqTMQ/faK57oIR9JMq5KKUimRAaN5d0ItkJO4yg2Vr GsSPc1HSBErlWrJc2VXT/zsDH5DRyiBtMazOU=
- User-agent: KMail/1.10.3 (Linux/2.6.27.29-0.1-pae; KDE/4.3.1; i686; ; )
I've had my first attempt at using MOXy and have successfully generated a set
of .java classes from an .xsd file which are full of @XML Annotations that I'm
going to have to work on to understand.
Is it possible or even wise to add JPA @Entity annotations to my @XML
annotated classes so I can persist the classes and vice versa back to XML, or
would I be better off having a seperate set of @Entity classes and manually
move the data from one set to the other?
Regards