|
Home > Archive > Apache JDO Project > August 2005 > embedded SimpleInterface, Object
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
embedded SimpleInterface, Object
|
|
| Michelle Caisse 2005-08-04, 5: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.jpox.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
| |
| Andy Jefferson 2005-08-04, 5: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 to
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
| |
| Craig Russell 2005-08-04, 5:45 pm |
| |
|
|
|
|