We are working with 2 different JVM's that are creating elements on our Database;
Next to that, we have an offline system that uses objects from the database, to add relationships. The actual update is done in one of the two JVMs
We end up with some objects that look a mixture of two objects. They have one Id, but aspects of two different objects (different object classes) in our system.
save Person => id becomes 1
lookup Person(1) and pass it to a offline system
Offline system: add relationship: Person(1) --> Adress
store new Adress:
lookup Person with id(1); add relationship to Adress.
(in the mean time, Person(1) can be deleted, other objects can be created)
Ending up with some objects (one ID) that have type Person and type Adress, and properties of both
Can anybody help.
Thanks in advance