You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Joerg Lensing <in...@softcon-lensing.de> on 2003/09/12 18:22:11 UTC

Simple (?) Proxy-Questions

Hi all,
some questions about proxies:

- I want to query an Object
- the object (class A) is used by a dynamic proxy
- the Object is a superclass of two Objects (Classes A1,A2) both mapped 
to the same table
- the extended objects are dynamic proxies too
- the criteria is a field from the superclass (A)

how do the proxies know, which Interface (for class A1 OR A2) is the 
right one (because only ONE interface can be the right one)

The reason for asking is: In my code, allways the wrong interface is 
returned (see mails before)

thanks, joerg


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


Re: Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Joerg Lensing <in...@softcon-lensing.de>.
Armin Waibel wrote:

>Hi,
>
>  
>
>>No more hints? :-(
>>    
>>
>hmm, can you write a test case reproduce
>your problem?
>  
>
yes, I try it for tomorrow

thanx joerg


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


Re: Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi,

> No more hints? :-(
hmm, can you write a test case reproduce
your problem?

regards,
Armin

----- Original Message ----- 
From: "Joerg Lensing" <in...@softcon-lensing.de>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Monday, September 15, 2003 5:16 PM
Subject: Re: Simple (?) Proxy-Questions (Sorry for reposting)


> Joerg Lensing wrote:
> 
> > Armin Waibel wrote:
> >
> >> Hi Joerg,
> >>
> >>  
> >>
> >>>> - the Object is a superclass of two Objects (Classes A1,A2) both
> >>>> mapped to the same table
> >>>>     
> >>>
> >> do you use 'ojbConcreteClass' feature for A1, A2 classes
> >> mapped to the same table?
> >>
> > yes!
> >
> > joerg
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 
> 



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


Re: Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Joerg Lensing <in...@softcon-lensing.de>.
Joerg Lensing wrote:

> Armin Waibel wrote:
>
>> Hi Joerg,
>>
>>  
>>
>>>> - the Object is a superclass of two Objects (Classes A1,A2) both
>>>> mapped to the same table
>>>>     
>>>
>> do you use 'ojbConcreteClass' feature for A1, A2 classes
>> mapped to the same table?
>>
> yes!
>
> joerg
>
No more hints? :-(


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


Re: Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Joerg Lensing <in...@softcon-lensing.de>.
Armin Waibel wrote:

>Hi Joerg,
>
>  
>
>>>- the Object is a superclass of two Objects (Classes A1,A2) both
>>>mapped to the same table
>>>      
>>>
>do you use 'ojbConcreteClass' feature for A1, A2 classes
>mapped to the same table?
>
yes!

joerg


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


Re: Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi Joerg,

> > - the Object is a superclass of two Objects (Classes A1,A2) both
> > mapped to the same table
do you use 'ojbConcreteClass' feature for A1, A2 classes
mapped to the same table?

regards,
Armin

----- Original Message -----
From: "Joerg Lensing" <in...@softcon-lensing.de>
To: "OJB Users List" <oj...@db.apache.org>
Sent: Monday, September 15, 2003 12:21 PM
Subject: Simple (?) Proxy-Questions (Sorry for reposting)


> Hi ojb-users,
> I'm still struggling with dynamic proxies and I have no more idea what
I can
> do. Could someone please help me with this?
>
> joerg
>
> Joerg Lensing wrote:
>
> > Hi all,
> > some questions about proxies:
> >
> > - I want to query an Object
> > - the object (class A) is used by a dynamic proxy
> > - the Object is a superclass of two Objects (Classes A1,A2) both
> > mapped to the same table
> > - the extended objects are dynamic proxies too
> > - the criteria is a field from the superclass (A)
> >
> > how do the proxies know, which Interface (for class A1 OR A2) is the
> > right one (because only ONE interface can be the right one)
> >
> > The reason for asking is: In my code, allways the wrong interface is
> > returned (see mails before)
> >
> > thanks, joerg
> >
> >
>
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
>



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


Simple (?) Proxy-Questions (Sorry for reposting)

Posted by Joerg Lensing <in...@softcon-lensing.de>.
Hi ojb-users,
I'm still struggling with dynamic proxies and I have no more idea what I can
do. Could someone please help me with this?

joerg

Joerg Lensing wrote:

> Hi all,
> some questions about proxies:
>
> - I want to query an Object
> - the object (class A) is used by a dynamic proxy
> - the Object is a superclass of two Objects (Classes A1,A2) both 
> mapped to the same table
> - the extended objects are dynamic proxies too
> - the criteria is a field from the superclass (A)
>
> how do the proxies know, which Interface (for class A1 OR A2) is the 
> right one (because only ONE interface can be the right one)
>
> The reason for asking is: In my code, allways the wrong interface is 
> returned (see mails before)
>
> thanks, joerg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>



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