openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boring, Jeff W (N-Viper)" <jeff.w.bor...@lmco.com>
Subject RE: Combining JPA and Jaxb
Date Fri, 21 Dec 2007 16:14:22 GMT
Yes, I just found out (new to project) that is what we do. We have a
HUGE graph of subassemblies that we manually marshal from JPA to JaxB -
very ugly and slow. Has to be a better way and I think 1.0.1's XML
column mapping is the answer. But the manual is very thin here.

Jeff

Jeff W Boring
JSF ALIS DM
Lockheed Martin

-----Original Message-----
From: Ognjen Blagojevic [mailto:ognjen@etf.bg.ac.yu] 
Sent: Friday, December 21, 2007 10:43 AM
To: users@openjpa.apache.org
Subject: Re: Combining JPA and Jaxb

Boring, Jeff W (N-Viper) wrote:
> Is it possible to use the same class for JPA and JaxB? We have a large
> graph and I'd hate to instantiate 2 object graphs. Is this what the
XML
> column mapping is for? Sorry, I'm new to JPA and JaxB and just need
some
> basic information. Is there any other documentation about this other
> than the section in the user manual on the XML column mapping?

I would like to know that myself. In my company we generate two object 
graphs and use utility methods to copy data between JPA and JAXB POJOs.

Regards,
Ognjen

Mime
View raw message