openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boring, Jeff W (N-Viper)" <>
Subject RE: Combining JPA and Jaxb
Date Thu, 03 Jan 2008 14:43:16 GMT
Found an article that discusses how to do this (at the end), although
it's not OpenJPA specific.

Jeff W Boring

-----Original Message-----
From: Boring, Jeff W (N-Viper) 
Sent: Friday, December 21, 2007 11:14 AM
Subject: RE: Combining JPA and Jaxb

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 W Boring
Lockheed Martin

-----Original Message-----
From: Ognjen Blagojevic [] 
Sent: Friday, December 21, 2007 10:43 AM
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
> column mapping is for? Sorry, I'm new to JPA and JaxB and just need
> 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.


View raw message