openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Linskey <plins...@gmail.com>
Subject Re: Persisting Inner classes
Date Wed, 25 Jun 2008 16:20:42 GMT
Hi,

You should be able to work with static inner classes. I think that you  
might need to use $ notation for the last separator, though:

     com.ibm.retail.Product$InnerProduct

-Patrick

On Jun 25, 2008, at 9:09 AM, Arun Nagarajan wrote:

> Hi,
>        I am using OpenJPA for persistence. The java classes are  
> generated
> from XML Schema using XML beans technology. The java types to be  
> persisted
> are being generated as inner classes by XML Beans. After writing the
> mapping information in the form of xml to map those persistable  
> classes to
> DB, I ran the code to persist the java types.
>
> I got the following error.
>
> the class "com.ibm.retail.Product.InnerProduct" listed in the
> openjpa.MetaDataFactory configuration property could not be loaded;
> ignoring
>
> Can you please let me know whether OpenJPA supports persisting inner
> class. My inner class is a static inner class.
>
> Thanks and Regards,
> arun...
> ------------------------------------------------------------------------------------------------------------------------
> Arun N,
> IBM
> ------------------------------------------------------------------------------------------------------------------------

-- 
Patrick Linskey
202 669 5907


Mime
View raw message