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 Saman Ghodsian <gs...@shaw.ca> on 2003/06/19 21:56:30 UTC

LongObjectLookup

Hi everyone....
I need anyones suggestion on this one...
I'm trying to implement a List indexed by a Long value or a String value
attached to an object....
Does anyone know which is the best way to go about it?
Code samples or hints appreciated....






Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada




RE: LongObjectLookup

Posted by Saman Ghodsian <gs...@shaw.ca>.
Hi Thomas,
Exactly, What I need is to have a collection of objects sorted by Long,
String or Date keys...

Thanks for your reply

Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada



-----Original Message-----
From: thma32@web.de [mailto:thma32@web.de] 
Sent: Thursday, June 19, 2003 2:26 PM
To: OJB Users List
Subject: Re: LongObjectLookup


Hi Saman,

Saman Ghodsian wrote:
> Hi everyone....
> I need anyones suggestion on this one...
> I'm trying to implement a List indexed by a Long value or a String 
> value attached to an object....

I don't know exactly what you want to do.
Do you want to implement a Map that maps Long or String values to other 
persistent entity objects?

Or something else?

please give us some more details,
cheers,
Thomas

> Does anyone know which is the best way to go about it?
> Code samples or hints appreciated....
> 
> 
> 
> 
> 
> 
> Saman Ghodsian
> CTO
> Middle Earth Technologies Ltd.
> www.metca.com
> Cell (604)-839-7791
> Vancouver, BC
> Canada
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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: LongObjectLookup

Posted by Thomas Mahler <th...@web.de>.
Hi Saman,

Saman Ghodsian wrote:
> Hi everyone....
> I need anyones suggestion on this one...
> I'm trying to implement a List indexed by a Long value or a String value
> attached to an object....

I don't know exactly what you want to do.
Do you want to implement a Map that maps Long or String values to other 
persistent entity objects?

Or something else?

please give us some more details,
cheers,
Thomas

> Does anyone know which is the best way to go about it?
> Code samples or hints appreciated....
> 
> 
> 
> 
> 
> 
> Saman Ghodsian
> CTO
> Middle Earth Technologies Ltd.
> www.metca.com
> Cell (604)-839-7791
> Vancouver, BC
> Canada
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
>