You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Antonio Gallardo <ag...@agsoftware.dnsalias.com> on 2003/10/13 10:31:32 UTC

About package.jdo for OJB

Hi:

I am finishing a new generator for repository.xml and package.jdo for OJB
in Druid - http://druid.sf.net/ :-D

I have a question related to JDO:

In the tutorial sample, there are not defined any <collection> elements at
all. OJB support this type? I mean:

<class name="Department">
...
<collection element-type="Employee">
  <extension
    vendor-name="ojb"
    key="element-inverse"
    value="DEPARTAMENT_ID"/>
</collection>

This last element MUST be defined while using JDO with OJB or I can avoid
it definition?

If this is posible, where I can found more info about how OJB uses the key
and value attributes in the JDO files. Because from the specification I
read:

<snip page="127">
ELEMENT extension
This element specifies JDO vendor extensions..... The "key" and "value"
attributes are optional, and have vendor-specific meanings. They may be
ignored by any JDO implementation.
</snip>

Please help :)

Best Regards,

Antonio Gallardo.



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: OTM Bug...

Posted by Oleg Nitz <on...@ukr.net>.
Many thanks to Brian and Olli, I will look at the bug.
Sorry for delay.
Oleg

On Tuesday 14 October 2003 15:52, Brian McCallister wrote:
> Olli and I are wandering through a possible really annoying bug in the
> OTM in the User's list if anyone here doesn't read it. the
>
> " N same class mapping question..." thread
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


OTM Bug...

Posted by Brian McCallister <mc...@forthillcompany.com>.
Olli and I are wandering through a possible really annoying bug in the 
OTM in the User's list if anyone here doesn't read it. the

" N same class mapping question..." thread



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: About package.jdo for OJB

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Thomas Mahler dijo:
> Hi ANtonio,
>
> Currently the JDO files are only used by the Bytecode-enhancer.
>
> OJB does not yet use information from the JDO file, but still relies on
> the repository.xml file.
>
> SO yes, collections are supported under ojb/jdo, but you have to define
> them in the repository.xml file.
>
> But I assume that once we are working more towards a complete JDO
> implementation we will provide full support for reading all information
> from a JDO file.
Thomas:

Thanks a lot for your answer. That means currently I dont need to define
it in the package.jdo file while using OJB. That means we already have a
support for OJB-JDO in Druid. Well, we will soon release a new version. I
will inform in the list about that. :)

Best Regards,

Antonio Gallardo

>
> cheers,
> Thomas
>
> Antonio Gallardo wrote:
>> Hi:
>>
>> I am finishing a new generator for repository.xml and package.jdo for
>> OJB in Druid - http://druid.sf.net/ :-D
>>
>> I have a question related to JDO:
>>
>> In the tutorial sample, there are not defined any <collection>
>> elements at all. OJB support this type? I mean:
>>
>> <class name="Department">
>> ...
>> <collection element-type="Employee">
>>   <extension
>>     vendor-name="ojb"
>>     key="element-inverse"
>>     value="DEPARTAMENT_ID"/>
>> </collection>
>>
>> This last element MUST be defined while using JDO with OJB or I can
>> avoid it definition?
>>
>> If this is posible, where I can found more info about how OJB uses the
>> key and value attributes in the JDO files. Because from the
>> specification I read:
>>
>> <snip page="127">
>> ELEMENT extension
>> This element specifies JDO vendor extensions..... The "key" and
>> "value" attributes are optional, and have vendor-specific meanings.
>> They may be ignored by any JDO implementation.
>> </snip>
>>
>> Please help :)
>>
>> Best Regards,
>>
>> Antonio Gallardo.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: About package.jdo for OJB

Posted by Thomas Mahler <th...@web.de>.
Hi ANtonio,

Currently the JDO files are only used by the Bytecode-enhancer.

OJB does not yet use information from the JDO file, but still relies on 
the repository.xml file.

SO yes, collections are supported under ojb/jdo, but you have to define 
them in the repository.xml file.

But I assume that once we are working more towards a complete JDO 
implementation we will provide full support for reading all information 
from a JDO file.

cheers,
Thomas

Antonio Gallardo wrote:
> Hi:
> 
> I am finishing a new generator for repository.xml and package.jdo for OJB
> in Druid - http://druid.sf.net/ :-D
> 
> I have a question related to JDO:
> 
> In the tutorial sample, there are not defined any <collection> elements at
> all. OJB support this type? I mean:
> 
> <class name="Department">
> ...
> <collection element-type="Employee">
>   <extension
>     vendor-name="ojb"
>     key="element-inverse"
>     value="DEPARTAMENT_ID"/>
> </collection>
> 
> This last element MUST be defined while using JDO with OJB or I can avoid
> it definition?
> 
> If this is posible, where I can found more info about how OJB uses the key
> and value attributes in the JDO files. Because from the specification I
> read:
> 
> <snip page="127">
> ELEMENT extension
> This element specifies JDO vendor extensions..... The "key" and "value"
> attributes are optional, and have vendor-specific meanings. They may be
> ignored by any JDO implementation.
> </snip>
> 
> Please help :)
> 
> Best Regards,
> 
> Antonio Gallardo.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org