FieldsOfSimpleClass now passes. JPOX latest now supports serialised PC fields and serialised Interface fields.
The only thing stopping FieldsOfSimpleInterface passing is probably that JPOX doesn't support embedded interface fields. I don't consider this a mandatory part of JDO2. Embedded interface fields are basically the same as embedded PC fields where the embedded PC field can have inheritance. That is, with embedded interface fields you can have different objects being embedded (different interface implementations) and hence different columns can be needed in the table. The same is true with embedded PC fields where the PC object has inheritance, and so different columns needed dependent on the object being embedded. Since the current JDO2 spec doesn't support having discriminators as part of the <embedded> block then the JDO impl has no way of distinguishing the type of the object that has been embedded. -- Andy
