Apache JDO Project - package.jdo Metadata for Company PC test classes

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > November 2005 > package.jdo Metadata for Company PC test classes





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 package.jdo Metadata for Company PC test classes
Christian Ernst

2005-11-30, 5:45 pm

Hi
Is there a reason why
test/datastoreidentity/org/apache/jdo/tck/pc/company/package.jdo
don't define any persistence-capable-superclass
but
test/datastoreidentity/org/apache/jdo/tck/pc/company/package.jdo
defines them correctly ?

Is this not required for both scenario's ?

cheers
Christian


Christian Ernst

2005-11-30, 5:45 pm

Sorry, should be:

> test/datastoreidentity/org/apache/jdo/tck/pc/company/package.jdo
> don't define any persistence-capable-superclass
> but


'test/applicationidentity/org/apache/jdo/tck/pc/company/package.jdo'

> defines them correctly ?
>
> Is this not required for both scenario's ?


cheers Christian

Craig L Russell

2005-11-30, 5:45 pm

Hi Christian,

Actually, the persistence-capable-superclass attribute is a leftover
from JDO 1. It's no longer needed in JDO2. Since it's confusing,
could you enter a JIRA to remove it from wherever it appears?

Craig

On Nov 30, 2005, at 9:49 AM, Christian Ernst wrote:

> Sorry, should be:
>
>
> 'test/applicationidentity/org/apache/jdo/tck/pc/company/package.jdo'
>
>
> cheers Christian


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!


Andy Jefferson

2005-11-30, 5:45 pm

> Is there a reason why
> test/datastoreidentity/org/apache/jdo/tck/pc/company/package.jdo
> don't define any persistence-capable-superclass
> but
> test/datastoreidentity/org/apache/jdo/tck/pc/company/package.jdo
> defines them correctly ?
>
> Is this not required for both scenario's ?


"persistence-capable-superclass" is deprecated in JDO2 IIRC, so shouldn't
affect the JDO implementation. No idea why it's like that though - maybe as a
test of the deprecated status :-)


--
Andy

Craig L Russell

2005-11-30, 5:45 pm

Hi,

On Nov 30, 2005, at 9:41 AM, Andy Jefferson wrote:

>
> "persistence-capable-superclass" is deprecated in JDO2 IIRC, so
> shouldn't
> affect the JDO implementation. No idea why it's like that though -
> maybe as a
> test of the deprecated status :-)
>

I'm sure it's an oversight.

Craig

>
> --
> 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