FieldsOfSimpleClass, FieldsOfSimpleInterface
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 > FieldsOfSimpleClass, FieldsOfSimpleInterface




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

    FieldsOfSimpleClass, FieldsOfSimpleInterface  
Andy Jefferson


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


 
08-08-05 12:45 PM

FieldsOfSimpleClass now passes. JPOX latest now supports serialised PC field
s
and serialised Interface fields.

The only thing stopping FieldsOfSimpleInterface passing is probably that JPO
X
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 P
C
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






[ Post a follow-up to this message ]



    Re: FieldsOfSimpleClass, FieldsOfSimpleInterface  
Craig Russell


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


 
08-08-05 10:45 PM






[ Post a follow-up to this message ]



    Re: FieldsOfSimpleClass, FieldsOfSimpleInterface  
Michelle Caisse


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


 
08-10-05 10:45 PM

Hi Craig,

I only checked in changes to FieldsOfSimpleClass before I left for
vacation last Friday, not FieldsOfSimpleInterface or FieldsOfObject.  I
plan to get started on the latter two today.

-- Michelle

Craig Russell wrote:

> Hi Andy,
>
> We decided to change the FieldsOfSimpleInterface to avoid embedded
> fields. The only thing we will test is serializing and by-reference.
>
> I thought that the test was already updated to remove embedded field
> requirement. If there still are embedded persistent interfaces, then
> please file a JIRA.
>
> Thanks,
>
> Craig
>
> On Aug 8, 2005, at 1:37 AM, Andy Jefferson wrote:
> 
>
> Craig Russell
>
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
>
> 408 276-5638 mailto:Craig.Russell@sun.com
>
> P.S. A good JDO? O, Gasp!
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:51 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