Hi Andy,
After I wrote the message I realized I had no idea what I was talking
about.
On Apr 29, 2005, at 12:33 PM, Andy Jefferson wrote:
http://java.sun.com/dtd/jdo_2_0.dtd";>
So is it sufficient that the SimpleInterface metadata be ahead of the
SimpleClass metadata in the .jdo file
>
> Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd";>
>
>
> objectid-class="org.apache.jdo.tck.pc.fieldtypes.SimpleClass$Oid">
>
>
>
>
>
> So is it sufficient that the SimpleInterface metadata be ahead of the
> SimpleClass metadata in the .jdo file?
What "SimpleInterface"
Hi Andy,
This is great news! One question below.
On Apr 29, 2005, at 11:05 AM, Andy Jefferson wrote:
I expect that to remove the JPOX extension, we will add the
tag as follows:
Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd";>
objectid-class="org.apache.jdo.tck.pc.fieldtypes.Sim
> Is it still required to use "implementation-classes" with a persistent
> field defined as an interface?
No. provides the default list of classes implementing an
interface field, so you could just use that.
"implementation-classes" is there so that people can define (if they want)
that a part
Andy Jefferson wrote:
I expect that to remove the JPOX extension, we will add the
tag as follows:
Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd";>
objectid-class="org.apache.jdo.tck.pc.fieldtypes.SimpleClass$Oid">
Craig/Michelle,
I've added support for to JPOX CVS -
> I expect that to remove the JPOX extension, we will add the
> tag as follows:
>
> Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd";>
>
>
> objectid-class="org.apache.jdo.tck.pc.fieldtypes.SimpleClass$Oid">
>
>
>
>
>
Craig/Michelle,
I've added support for to JPOX CVS -
Hi Andy,
On Apr 27, 2005, at 10:39 AM, Andy Jefferson wrote:
This extension has been around since JPOX 1.0 (the JDO 1 release), so I
assume that it is actually meant to go in the .jdo file.
Craig,
Can you provide an example of how and are going to
work, to confirm how I think they'll work?
See inline...
-Original Message-
From: Andy Jefferson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 7:40 PM
To: jdo-dev@db.apache.org
Subject: Re: Collections of interfaces
> This extension has been around since JPOX 1.0 (the JDO 1 release), so
I
> assume that
Craig, thanks,
Yes, I needed to have SimpleInterface.class in my classpath. I was
running SchemaTool on the enhanced jar in order to have the jdo and
classes in one place, but the interface was missing. Fixed that, and
I'm off and running.
-- Michelle
Craig Russell wrote:
Hi Michelle,
This is
> This extension has been around since JPOX 1.0 (the JDO 1 release), so I
> assume that it is actually meant to go in the .jdo file.
Craig,
Can you provide an example of how and are going to
work, to confirm how I think they'll work?
My assumption is that we should be able to use these new
e not touchable, but the .orm files are allowed to be changed.
So adding vendor-specific stuff to .jdo doesn't appeal to me.
I have the particular short-term task of using JPOX SchemaTool to
generate the DDL and .orm files for the pc.fieldtypes classes containing
collections of interfaces . So
Hi Michelle,
This is confusing. The symptom points to a need to have the
SimpleInterface in your class path when you run the enhancer. But if
you are enhancing the FieldTypes class, SimpleInterface must be there
or you would not be able to load the class to be enhanced.
I'd guess you have to pu
Yes, sorry about that. Stupid typo. However, I get the same result
when I use "SimpleClass", which is the implementing class of
SimpleInterface.
-- Michelle
Andy Jefferson wrote:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/jdo/tck/pc/fieldtypes/SimpleInterface
S
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/jdo/tck/pc/fieldtypes/SimpleInterface
So it cant find the class SimpleInterface ?
> value="org.apache.jdo.tck.pc.fieldtypes.SimpleInterface"/>
SimpleInterface is an interface not a class.
"implementation-classes" is sup
t to file it against).
Do you have someone else who can work on this or is it in my queue?
Anyone else on the alias who can help out here is welcome to do so. I really wish I had more people who were signed up...
Craig
-- Michelle
Craig Russell wrote:Hi Michelle,
Can you find out how to map the coll
PROTECTED] wrote:
??? JPOX supports it using the extension implementation-classes and
listing all implementations there.
Erik Bengtson
-Original Message-
From: Craig Russell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 2:17 AM
To: JDO Expert Group
Subject: Collections of
16 matches
Mail list logo