hi steve,
i'm happy it solved your problem.
you can define relationships or fields in any class-descriptor, abstract or
concrete. in your case you need it in the abstract because of A pointing to S.
but if you would query for all B or C pointing to a D (ie. D.name) then the
definition in concre
nues"
>>
>> Although you are using an ODMG query, when the query is parsed, it does
>> generate a standard QueryByCriteria. QueryByCriteria was getting the
>> wrong
>> class descriptor when paths of > 1 sement were used. This would lead
>> to the
>>
name being passed to the query, as opposed to the column name.
Jakob fixed this in CVS last night.
This May Be A Red Herring.
Cheers,
Charles.
-Original Message-
From: Steve Clark [mailto:[EMAIL PROTECTED]
Sent: 03 March 2004 19:56
To: OJB Users List
Subject: Re: Extent problem with
ttribute name being passed to the query, as opposed to the column name.
Jakob fixed this in CVS last night.
This May Be A Red Herring.
Cheers,
Charles.
-Original Message-
From: Steve Clark [mailto:[EMAIL PROTECTED]
Sent: 03 March 2004 19:56
To: OJB Users List
Subject: Re: Extent problem
: OJB Users List
Subject: RE: Extent problem with ODMG
Charles,
Thanks for the suggestion. I have tried CVS HEAD and I still get the
same incorrect behavior.
I'm still unclear whether OJB even *expects* to get this query right,
because it doesn't know that 'com' is a
night.
> -Original Message-----
> From: Steve Clark [mailto:[EMAIL PROTECTED]
> Sent: 03 March 2004 19:56
> To: OJB Users List
> Subject: Re: Extent problem with ODMG
>
>
> I'm still having this problem, so I'm going to try again.
>
> Using ODMG, RC5,
--
> From: Steve Clark [mailto:[EMAIL PROTECTED]
> Sent: 03 March 2004 19:56
> To: OJB Users List
> Subject: Re: Extent problem with ODMG
>
>
> I'm still having this problem, so I'm going to try again.
>
> Using ODMG, RC5, Oracle 9i.
>
> Summary:
>
I'm still having this problem, so I'm going to try again.
Using ODMG, RC5, Oracle 9i.
Summary:
- Class A has a 1-to-1 relationship 'abs' to an abstract
superclass S
- Class S has concrete subclasses B and C
- Classes B and C share a common relationship 'com' to another
cla
hi steve,
imo OQL is not the problem here.
have you tried to query for AccomplishmentImp, just to see if 'site' can be
resolved ? may be you should use the latest from repository.
jakob
Steve Clark wrote:
I'm having a problem with extents in ODMG. OJB is generating
incorrect (and, in fact, in