Apache JDO Project - Re: Support java.lang.Object as FCO

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > August 2005 > Re: Support java.lang.Object as FCO





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 Re: Support java.lang.Object as FCO
Craig Russell

2005-08-17, 5:45 pm

Hi Andy,

On Aug 17, 2005, at 10:39 AM, Andy Jefferson wrote:

> Hi Michelle,
>
>
>
> Well we interpret all types as serialized="false", but in section
> 18.14 of the
> spec "java.lang" types (which Object is) are to be embedded="true" by
> default. So we interpret this as serialising the Object into the
> table of the
> class, into a BLOB column.


I tried to be more explicit about this in the Proposed Final Draft,
to say that embedded="true" doesn't mean serialized but embedded
column by column. Just like embedded PC instances.

Could you please take a look at the PFD and see if this is not clear
enough?

Thanks,

Craig
>
>
>
> Because we treat an Interface as embedded="false" by default (since
> it's not
> specified in the list of embedded types in 18.14, so its effectively a
> PersistenceCapable in that respect).
>
>
> --
> Andy
>


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!


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com