[Glass] how to update models properly

BrunoBB via Glass glass at lists.gemtalksystems.com
Thu Oct 30 11:45:44 PDT 2014


> The extreme case would be to use the OOP/OID from GemStone as the unique
> ID

I have a similar case in my application. Some GemStone object are updated
from a Relational Database (MySQL).

* Once an Object has an OOP it will remain the same until the Object is
garbage collected ?
* Or the OOP of an object can change during it's life time ?

In my app each Relational Row is mapped to a Dictionary, and the Object it
self is never changed but it's instance variables are constantly updated
with relational data.

If i use the OOP as way to map object with external system we MUST be sure
that the OPP is allways the same...


View this message in context: http://forum.world.st/Glass-how-to-update-models-properly-tp4787473p4787663.html
Sent from the GLASS mailing list archive at Nabble.com.

More information about the Glass mailing list