embedded SimpleInterface, Object
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > embedded SimpleInterface, Object




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    embedded SimpleInterface, Object  
Michelle Caisse


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:45 PM

Hi Craig,

I've mapped FieldsOfSimpleInterface and FieldsOfSimpleObject as we
discussed previously on the alias (Additional fields for
FieldsOfSimpleInterface, FieldsOfSimpleClass, FieldsOfObject).  I get an
error:

test(org.apache.jdo.tck.models.fieldtypes.TestFieldsOfSimpleInterface)org.jp
ox.metadata.InvalidMetaDataException:
Field
"org.apache.jdo.tck.pc.fieldtypes.FieldsOfSimpleInterface.SimpleInterface1"
is of type "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has
been specified as embedded. JPOX doesnt support embedding of this type.
Your embedded type must be PersistenceCapable.

Same with Object.

Should I check in the changes or hold off for now?

-- Michelle






[ Post a follow-up to this message ]



    Re: embedded SimpleInterface, Object  
Andy Jefferson


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:45 PM

> "org.apache.jdo.tck.pc.fieldtypes.FieldsOfSimpleInterface.SimpleInterface1"
> is of type "org.apache.jdo.tck.pc.fieldtypes.SimpleInterface" yet has
> been specified as embedded. JPOX doesnt support embedding of this type.
> Your embedded type must be PersistenceCapable.

I'm glad JPOX exception handling catches these situations :-)
JPOX supports embedding of PC instances, but *not* of interfaces.

It will get supported when we have time but, like Apache JDO and the TCK, we
don't have large numbers of volunteers here so need to prioritise our work t
o
coordinate with what the TCK is requiring.

It also comes down to which parts of the JDO2 spec are to be considered
mandatory and which are optional. I don't recall any significant discussion
of this in the EG.

--
Andy






[ Post a follow-up to this message ]



    Re: embedded SimpleInterface, Object  
Craig Russell


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-04-05 10:45 PM






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register