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:[EMAIL PROTECTED] Sent: Friday, December 21, 2007 10:43 AM To: [email protected] 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
