Hello Dennis,

I think you've understood correctly what it is I'm trying to do - though I
won't rule out I'm somehow abusing Jibx in order to do it :-)The problem is
that the Bar factory has no way of having the information I need. The piece
of data I cannot create is a randomly generated ID that is referred to by
other objects.
So, you cannot recreate it, yet it MUST be the same after marshal /
unmarshal.
When these Bar objects are the created, everything is set correctly - except
their ID's which is generated anew, as they normally should.
You could argue this is a design error - I wouldn't necessarily disagree :-)
- but unless it's a total dealbreaker, I can't change the object model at
all.
As it is right now, I have to export and re-import these Bar-objects fully,
rather than just their ID's which seems... Well, clumsy.

Regards,

Søren Andersen
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to