12.8.2004 kello 15:03, Thomas Dudziak kirjoitti:

Joose Vettenranta wrote:

Clarifying myself:

I want to have just one table in SQL called child. And software eather uses Child or SuperChild (same table name in both).

I tried moving (repository.xml) extent-class to superclass, but didn't help.
I don't know about JDO, but you probably have to specify both Child and SuperChild in both the jdo file and the repository file.

I have Child in jdo and it works ok

but Superchild I told what kind it is:

<class name="SuperChild" identity-type="datastore" persistence-capable-superclass="net.vettenranta.Child">
<field name="age" persistence-modifier="persistent">
<extension vendor-name="ojb" key="column" value="age" />
</field>
</class>


- Joose

--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [EMAIL PROTECTED] * +358 44 561 0270 *


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to