[omniORB] Persistent object is not persistent

Guido Goldstein omniorb@a-nugget.de
02 May 2002 16:31:53 +0200


Hi!

On Wed, 1 May 2002 19:23:39 +0200
  yashik@veon.com wrote:
> Hello,
> 
> I'm trying to create a persistent object just like as it said in "Advanced
> CORBA programming" book:
[...]
> The program converts that object to string prints the string and exit.
> 
> Why I'm getting different IORs every time? What I'm missing?
> Any help will be greatly appritiated.

Have a look at the Pictures 11.3 and 11.4 in chapter 11.4 (page
438/439). There  you can see that the object id is only a part of the
whole object reference.
I bet that the object id itself does not change, but the IOR does --
for the reasons pointed out by Christof.

HTH
  Guido