You can use complex OR mapping with orion, for instance if you have an
compound PK object you can
map all its fields to different columns in the database table

See orionsupport -> complex or mapping
http://www.orionsupport.com/articles/complex-or.html

----- Original Message -----
From: "Hegyi Tibor" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 7:46 AM
Subject: RE: OR mapping with Oracle


> Thanks for your reply.
>
> My PK class implements the Serializable interface (see code snippet in my
> first mail) but this does not help since Orion maps Serializable objects
to
> blob datatypes in relation with Oracle data source and blobs cannot be
> indexed.
>
> Integer object works fine but how can I implement compound primary keys
> then?
>
> Tibor
>
> -----Original Message-----
> From: J Davis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 01, 2000 9:38 PM
> To: Orion-Interest
> Subject: RE: OR mapping with Oracle
>
>
> I beleive primary keys must be Serializalble.  Try using an Integer object
> instead.
>
> Later
>
> Greg
>
>


Reply via email to