[omniORB] limit on length of object IDs?

Carl Thompson cet@carlthompson.net
Mon, 08 Oct 2001 11:40:08 -0700


I should have mentioned that I am using omniORB4 from 10/1/2001. 
Actually, it looks like the limit is 18 bytes as the maximum length of a 
string used as an object ID (excluding null).  string_to_ObjectId() 
works fine, but calling ObjectId_to_string() on the resulting ObjectId 
chokes.  Ideally, I would like to create object IDs that might be as 
much as a few hundred bytes long.  Is this not allowed?

Thanks,
Carl Thompson

Carl Thompson wrote:

> Hello,
> 
>      Is there a limit to the allowed length of object IDs?  I want to 
> encode a lot of information about my persistent objects directly into 
> their object IDs to minimize the accesses to persistent storage. 
> However, I seem to not be able to use object IDs of greater than 16 
> bytes or so with omniORB.  My favorite CORBA reference just says that 
> object IDs are just a sequence of octets and does not mention any limits 
> to the length of the sequence.  Does CORBA define a limit on the length 
> or is this a bug in omniORB?
> 
> Thank you,
> Carl Thompson
> 
>