Hi jakob,
i'm using OJB 1.0.3, is "now" before this version or after ?
As far as i know it seems that you can tell that relationship are
autoretreived or not (depending on the value of the attribute
autoretreive).
In my case i don't want autoretreive so it is positionned at false, but in
some case i use addprefetchedrelationship in order to retreive relation
with the object itself.
But if i can fetch object A which has relationship on object B, i'm not
able to fetch object B relations while only fetching A. For the moment i'm
obliged to parse object B and manualy getthe relationship (with the
getters).
Cordialement

Matthieu PATOU

DINQ/DSIN/SIDM/VNVO/VOIN
Téléphone 01 30 19 17 91  (29 17 91)



                                                                       
             Jakob Braeuchi                                            
             <[EMAIL PROTECTED]                                          
             h>                                                       Pour
                                       OJB Users List                  
             16/10/2005 12:51          <[email protected]>        
                                                                        cc
                                                                       
                 Veuillez                                            Objet
                répondre à             Re: Tr :prefetch relationship
              OJB Users List                                           
             <[EMAIL PROTECTED]                                          
                 che.org>                                              
                                                                       
                                                                       
                                                                       




hi matthieu,

afaik relationships are automatically prefetched now.
btw did you get an error message or did it simply not work ?

jakob

[EMAIL PROTECTED] schrieb:
>
>
>
> Hi,
> no clues about this problem ?
> Cordialement
>
> Matthieu PATOU
>
> DINQ/DSIN/SIDM/VNVO/VOIN
> Téléphone 01 30 19 17 91  (29 17 91)
>
>
> ----- Réacheminé par MATTHIEU PATOU - J617805/users/PSA le 13/10/2005
14:11
> -----
>

>              [EMAIL PROTECTED]

>              psa.com

>
Pour
>              05/10/2005 15:10          [email protected]

>
cc
>

>                  Veuillez
Objet
>                 répondre à             prefetch relationship

>               OJB Users List

>              <[EMAIL PROTECTED]

>                  che.org>

>

>

>

>
>
>
>
>
>
>
>
> Hi,
> With ojb 1.0.3 is it possible to fetch a relationship of a relationship ?
> For instance, i have  a class Vehicule which has a relationship on class
> Value named values (it s a 1 to N ajustement) and class Value has a
> relationship with class Ajustement named ajusts.
>
> I've succed in doing addPrefectedRelationShip("values") but not with
> addPrefectedRelationShip("values.ajusts")
> Any clues ?
>
> Cordialement
>
> Matthieu PATOU
>
> DINQ/DSIN/SIDM/VNVO/VOIN
> Téléphone 01 30 19 17 91  (29 17 91)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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




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

Reply via email to