IMHO You can implement it yourself by patching source code
Another interesting thing is how to implement polimorphism using OQL query
Could someone tell me if OQL (originally) has any special for such
situation:
Suppose we have
C
^
|
----------------------
| |
A ----> B----------------->D------
| |
-------------------------> E -------->F
^
|
--------------
-------------
| |
| |
F1 F2
F3
---------------------------
F1, ..., F4 has different attributes
I need retrive a result by specific attribute of F child
I have mapping where B depends on A; E and D depends on C, F depends on E
So
I rewrite OQL in the way to make query for F1 atribbute (for ex) as "SELECT
a FROM A a WHERE A.B.E.F{F1}=$1"
Here F1 used for casting of F to specific child
Is there standart OQL sintaxis to do such queries?
> -----Original Message-----
> From: Pascal Bleser [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 23, 2002 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Polymorphism ?
>
>
> Hi ;-)
>
> The documentation is not really clear about this, so I'm just
> posting my question here: what's the status of polymorphism
> support in Castor ?
> Has it been reimplemented/fixed ?
>
> Thanks for any info ;-)
>
> --
> -o) Pascal Bleser ATOS Origin/Aachen(DE) |
> /\\ <[EMAIL PROTECTED]> |
> _\_v <[EMAIL PROTECTED]> |
> ---------------------------------------------|
> Jesus saves,Buddha makes incremental backups :
> ---------------------------------------------'
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
> unsubscribe castor-dev
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev